OAuthStore class abstract
Where client registrations and grants live. Registrations are keyed by the issuing authorization server, grants by the MCP server.
The default keeps them in memory. Refresh tokens must stay confidential at rest, so a host that persists them implements this over its platform's secure storage.
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
deleteGrant(
String resource) → Future< void> -
loadClient(
String issuer) → Future< OAuthClientRegistration?> -
loadGrant(
String resource) → Future< OAuthGrant?> -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
saveClient(
String issuer, OAuthClientRegistration registration) → Future< void> -
saveGrant(
OAuthGrant grant) → Future< void> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited