OAuthClient class
OAuth client object returned from the OAuth 2.1 server. Only relevant when the OAuth 2.1 server is enabled in Supabase Auth.
Constructors
-
OAuthClient({required String clientId, required String clientName, String? clientSecret, required OAuthClientType clientType, required String tokenEndpointAuthMethod, required OAuthClientRegistrationType registrationType, String? clientUri, required List<
String> redirectUris, required List<OAuthClientGrantType> grantTypes, required List<OAuthClientResponseType> responseTypes, String? scope, required String createdAt, required String updatedAt}) -
OAuthClient.fromJson(Map<
String, dynamic> json) -
factory
Properties
- clientId → String
-
Unique identifier for the OAuth client
final
- clientName → String
-
Human-readable name of the OAuth client
final
- clientSecret → String?
-
Client secret (only returned on registration and regeneration)
final
- clientType → OAuthClientType
-
Type of OAuth client
final
- clientUri → String?
-
URI of the OAuth client
final
- createdAt → String
-
Timestamp when the client was created
final
-
grantTypes
→ List<
OAuthClientGrantType> -
Array of allowed grant types
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
redirectUris
→ List<
String> -
Array of allowed redirect URIs
final
- registrationType → OAuthClientRegistrationType
-
Registration type of the client
final
-
responseTypes
→ List<
OAuthClientResponseType> -
Array of allowed response types
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- scope → String?
-
Scope of the OAuth client
final
- tokenEndpointAuthMethod → String
-
Token endpoint authentication method
final
- updatedAt → String
-
Timestamp when the client was last updated
final
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