AuthProvider class

Configuration for an authentication provider, including support for JSON Web Token (JWT).


AuthProvider.fromJson(Map _json)


audiences String
The list of JWT audiences. that are allowed to access. A JWT containing any of these audiences will be accepted. When this setting is absent, JWTs with audiences: [...]
read / write
authorizationUrl String
Redirect URL if JWT token is required but not present or is expired. Implement authorizationUrl of securityDefinitions in OpenAPI spec.
read / write
id String
The unique identifier of the auth provider. It will be referred to by AuthRequirement.provider_id. [...]
read / write
issuer String
Identifies the principal that issued the JWT. See Usually a URL or an email address. [...]
read / write
jwksUri String
URL of the provider's public key set to validate signature of the JWT. See OpenID Discovery. Optional if the key set document: [...]
read / write
jwtLocations List<JwtLocation>
Defines the locations to extract the JWT. [...]
read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited


toJson() Map<String, Object>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
toString() String
Returns a string representation of this object.


operator ==(dynamic other) bool
The equality operator. [...]