Client class
Represents the client application.
Properties
- clientId → String
-
The id of the client.
final
- clientSecret → String?
-
A secret for authenticating the client to the OP.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- httpClient → Client?
-
final
- issuer → Issuer
-
The Issuer representing the OP.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
createCredential(
{String? accessToken, String? tokenType, String? refreshToken, Duration? expiresIn, DateTime? expiresAt, String? idToken}) → Credential - Creates a Credential for this client.
-
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
Static Methods
-
forIdToken(
String idToken, {Client? httpClient}) → Future< Client>