ClientAuthentication class

Constructors

ClientAuthentication({required PkcePair pkcePair})

Properties

hashCode int
The hash code for this object.
no setterinherited
pkcePair → PkcePair
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

getAllTokens({required String redirectUri, required String clientId, required String authCode, required String providedScopes, required String userFlowName, required String tenantBaseUrl, String grantType = Constants.defaultGrantType}) Future<AzureTokenResponse?>
Get Access, Id and refresh token, check its response: AzureTokenResponse
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

refreshTokens({required String refreshToken, required String tenant, required String policy, required String clientId}) Future<AzureTokenResponse?>
Refresh token: This method also returns a new refresh token AzureTokenResponse