AuthProvider class

Configuration for an authentication provider, including support for [JSON Web Token (JWT)](https://tools.ietf.org/html/draft-ietf-oauth-json-web-token-32).

Constructors

AuthProvider({String? audiences, String? authorizationUrl, String? id, String? issuer, String? jwksUri, List<JwtLocation>? jwtLocations})
AuthProvider.fromJson(Map json_)

Properties

audiences String?
The list of JWT audiences.
getter/setter pair
authorizationUrl String?
Redirect URL if JWT token is required but not present or is expired.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
id String?
The unique identifier of the auth provider.
getter/setter pair
issuer String?
Identifies the principal that issued the JWT.
getter/setter pair
jwksUri String?
URL of the provider's public key set to validate signature of the JWT.
getter/setter pair
jwtLocations List<JwtLocation>?
Defines the locations to extract the JWT.
getter/setter pair
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
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited