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, String? clientName, String? clientSecret, required OAuthClientType clientType, String? tokenEndpointAuthenticationMethod, OAuthClientRegistrationType? registrationType, String? clientUri, String? logoUri, required List<String> redirectUris, required List<OAuthClientGrantType> grantTypes, required List<OAuthClientResponseType> responseTypes, required DateTime createdAt, required DateTime updatedAt})
const
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, if it has one
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 → DateTime
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
logoUri → String?
URI of the OAuth client's logo
final
redirectUris → List<String>
Array of allowed redirect URIs
final
registrationType → OAuthClientRegistrationType?
Registration type of the client, if the server returned one
final
responseTypes → List<OAuthClientResponseType>
Array of allowed response types
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
tokenEndpointAuthenticationMethod → String?
Token endpoint authentication method, if the server returned one
final
updatedAt → DateTime
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