Sub2ApiClient class final
User-facing facade for the fixed Sub2API v0.1 contract.
Constructors
- Sub2ApiClient({required Sub2ApiConfiguration configuration, required Sub2ApiSessionStore sessionStore})
-
Creates a client that owns its internal HTTP transport.
factory
Properties
- access → Sub2ApiAccessClient
-
Current-user groups, channels, quotas, and per-key usage.
final
- auth → Sub2ApiAuthenticationClient
-
Authentication and session lifecycle operations.
final
- billing → Sub2ApiBillingClient
-
Payment configuration, plans, recharge, and order operations.
final
- capabilities → Sub2ApiCapabilityClient
-
Public server capability bootstrap.
final
- commerce → Sub2ApiCommerceClient
-
Announcements, redemption, subscriptions, and other user commerce flows.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- identities → Sub2ApiIdentityClient
-
Email and third-party authentication identity operations.
final
- keys → Sub2ApiKeyClient
-
API/Installation Key operations.
final
- oauth → Sub2ApiOAuthClient
-
OAuth login start and pending-account completion operations.
final
- passkeys → Sub2ApiPasskeyClient
-
Passkey login and credential-management ceremonies.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- totp → Sub2ApiTotpClient
-
TOTP enrollment, verification, and step-up operations.
final
- usage → Sub2ApiUsageClient
-
Usage records and aggregate statistics.
final
- user → Sub2ApiUserClient
-
Current-user profile operations.
final
Methods
-
close(
) → void - Releases client-owned resources. Calling this method repeatedly is safe.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited