Commit Graph

7 Commits

Author SHA1 Message Date
3bc2a42488 feat(auth): add AdminAuthService.loginWithCredentials + rate_limited AuthFailure code
Convenience wrapper around MarketplacesAuthGateway.loginWithCredentials('admin', ...)
that activates the returned session in one call, for apps building a custom admin
login screen. AuthFailure gains a rate_limited code (HTTP 429, parsed Retry-After)
and an optional status field so 401/403/429 surface distinctly without new plumbing.

No credentials, no client-side comparison, no superadmin concept anywhere in this
package - same code path as any other admin credential login. Inert without a
backend implementing POST {credentialsPath} { login, password, mode: 'admin' }.

Additive, backward-compatible. QR/Yandex flows unmodified.
2026-08-23 21:33:52 +04:00
f6a58a9a3e fix(auth): preserve legacy provider setup
Some checks failed
Release / release-branches (auth) (push) Has been cancelled
Release / release-branches (payment) (push) Has been cancelled
Release / version-pr (push) Has been cancelled
2026-08-21 08:15:35 +04:00
3d8c2a3645 chore(release): version packages at 0.2.0
Some checks failed
Release / release-branches (auth) (push) Has been cancelled
Release / release-branches (payment) (push) Has been cancelled
Release / version-pr (push) Has been cancelled
2026-08-21 08:14:06 +04:00
5ffc1b1450 feat(packages): add standalone auth and payment
Some checks failed
Release / release-branches (auth) (push) Has been cancelled
Release / release-branches (payment) (push) Has been cancelled
Release / version-pr (push) Has been cancelled
2026-08-21 08:08:42 +04:00
sdarbinyan
dc7440fea5 fix: remove invalid @Optional decorator on field initializer
Some checks failed
Release / release (push) Has been cancelled
2026-08-18 01:02:51 +04:00
sdarbinyan
c628b1d8a9 feat: migrate telegram + ed25519 auth implementation into @marketplaces/auth
Some checks failed
Release / release (push) Has been cancelled
2026-08-18 00:52:00 +04:00
sdarbinyan
5567154fb4 chore: initial scaffold for @marketplaces/auth and @marketplaces/payment
Some checks failed
Release / release (push) Has been cancelled
2026-08-18 00:38:08 +04:00