OpenIdConnectClient class Null safety

Properties

audiences List<String>?
final
autoRefresh bool
final
changes Stream<AuthEvent>
read-only
clientId String
final
clientSecret String?
final
configuration OpenIdConfiguration?
read / write
currentEvent AuthEvent?
read / write
discoveryDocumentUrl String
final
hashCode int
The hash code for this object. [...]
read-only, inherited
hasTokenExpired bool
read-only
identity OpenIdIdentity?
read-only
initializationComplete bool
read-only
isTokenAboutToExpire bool
read-only
redirectUrl String?
final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
scopes List<String>
final
webUseRefreshTokens bool
final

Methods

dispose() → void
isLoggedIn() FutureOr<bool>
loginInteractive({required BuildContext context, required String title, String? userNameHint, Map<String, String>? additionalParameters, Iterable<String>? prompts, bool useWebPopup = true, int popupWidth = 640, int popupHeight = 600}) Future<OpenIdIdentity>
loginWithDeviceCode() Future<OpenIdIdentity>
loginWithPassword({required String userName, required String password, Iterable<String>? prompts, Map<String, String>? additionalParameters}) Future<OpenIdIdentity>
logout() Future<void>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
refresh({bool raiseEvents = true}) Future<bool>
reportError(String errorMessage) → void
sendRequests<T>(Iterable<Future<T>> requests()) Future<void>
toString() String
A string representation of this object. [...]
inherited
verifyToken() FutureOr<bool>

Operators

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

Static Methods

create({required String discoveryDocumentUrl, required String clientId, String? redirectUrl, String? clientSecret, bool autoRefresh = true, bool webUseRefreshTokens = true, List<String> scopes = DEFAULT_SCOPES, List<String>? audiences}) Future<OpenIdConnectClient>

Constants

DEFAULT_SCOPES → const List<String>
["openid", "profile", "email"]
OFFLINE_ACCESS_SCOPE → const String
"offline_access"