CreateCustomProviderParams class
Parameters for creating a new custom provider.
Constructors
-
CreateCustomProviderParams({required CustomProviderType providerType, required String identifier, required String name, required String clientId, required String clientSecret, List<
String> ? acceptableClientIds, List<String> ? scopes, List<String> ? customClaimsAllowlist, bool? pkceEnabled, Map<String, dynamic> ? attributeMapping, Map<String, String> ? authorizationParams, bool? enabled, bool? emailOptional, String? issuer, String? discoveryUrl, bool? skipNonceCheck, String? authorizationUrl, String? tokenUrl, String? userinfoUrl, String? jwksUri}) -
const
Properties
-
acceptableClientIds
→ List<
String> ? -
Additional client IDs accepted during token validation
final
-
attributeMapping
→ Map<
String, dynamic> ? -
Mapping of provider attributes to Supabase user attributes
final
-
Additional parameters sent with the authorization request
final
-
OAuth2 authorization URL
final
- clientId → String
-
OAuth client ID
final
- clientSecret → String
-
OAuth client secret (write-only, not returned in responses)
final
-
customClaimsAllowlist
→ List<
String> ? -
Allowlist of raw identity provider claim keys to copy verbatim into the
user's
custom_claimsfield, e.g.['groups', 'org_id', 'mail'].final - discoveryUrl → String?
-
OIDC discovery URL
final
- emailOptional → bool?
-
Whether email is optional for this provider
final
- enabled → bool?
-
Whether the provider is enabled
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- identifier → String
-
Provider identifier (e.g.
custom:mycompany)final - issuer → String?
-
OIDC issuer URL
final
- jwksUri → String?
-
JWKS URI for token verification
final
- name → String
-
Human-readable name
final
- pkceEnabled → bool?
-
Whether PKCE is enabled
final
- providerType → CustomProviderType
-
Provider type
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
scopes
→ List<
String> ? -
OAuth scopes requested during authorization
final
- skipNonceCheck → bool?
-
Whether to skip nonce check (OIDC)
final
- tokenUrl → String?
-
OAuth2 token URL
final
- userinfoUrl → String?
-
OAuth2 userinfo URL
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited