Client class

Represents the client application.

Constructors

Client(Issuer issuer, String clientId, [String clientSecret])

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. [...]
read-only, inherited
issuer Issuer
The Issuer representing the OP.
final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

createCredential({String accessToken, String tokenType, String refreshToken, String idToken}) Credential
Creates a Credential for this client.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
Returns a string representation of this object.
inherited

Operators

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

Static Methods

forIdToken(String idToken) Future<Client>