OAuthAuthorizationResponse class sealed
Result returned by AuthOAuthApi.getAuthorizationDetails.
The OAuth 2.1 server responds in one of two ways, depending on whether the signed-in user has already granted consent to the requesting client:
- OAuthAuthorizationDetailsResponse — consent is still required, so the requesting client, user and requested scopes are returned for display in a consent screen.
- OAuthAuthorizationRedirectResponse — the user already granted consent to this client, so the server short-circuits the consent flow and returns only the redirect URL the caller should navigate to.
Only relevant when the OAuth 2.1 server is enabled in Supabase Auth.
Constructors
-
OAuthAuthorizationResponse.fromJson(Map<
String, dynamic> json) -
factory
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
-
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