Flow class

Available extensions

Constructors

Flow.authorizationCode(Client client, {String? state, String? prompt, String? accessType, Uri? redirectUri, List<String> scopes = const ['openid', 'profile', 'email']})
Flow.authorizationCodeWithPKCE(Client client, {String? state, String? prompt, List<String> scopes = const ['openid', 'profile', 'email'], String? codeVerifier})
Flow.implicit(Client client, {String? state, String? device, String? prompt})
Flow.jwtBearer(Client client)
Flow.password(Client client, {List<String> scopes = const ['openid', 'profile', 'email']})
Creates a new Flow for the password flow.

Properties

authenticationUri Uri
no setter
client Client
final
hashCode int
The hash code for this object.
no setterinherited
redirectUri Uri
getter/setter pair
responseType String?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
scopes List<String>
final
state String
final
type FlowType
final

Methods

callback(Map<String, String> response) Future<Credential>
loginWithPassword({required String username, required String password}) Future<Credential>
Login with username and password
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