MicrosoftSignInDesktop class

Inheritance

Constructors

MicrosoftSignInDesktop({required String clientId, required String clientSecret, required String redirectUrl, required String scope})
MicrosoftSignInDesktop.fromProfile(MicrosoftSignInConfig config)
Parameters required for web-based authentication flows
factory

Properties

clientId String
MicrosoftSignIn App Id. Application ID created in Azure Portal
getter/setter pairinherited
clientSecret String
MicrosoftSignIn APP Secret
getter/setter pairinherited
hashCode int
The hash code for this object.
no setterinherited
pageInfo SocialSignInPageInfo
getter/setter pairinherited
redirectUrl String
A redirect URI is the location where the Microsoft identity platform redirects a user's client and sends security tokens after authentication.
getter/setter pairinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
scope String
MicrosoftSignIn Permissions. Scopes and permissions in the Microsoft identity platform set to admin restricted. https://learn.microsoft.com/en-us/graph/permissions-reference
getter/setter pairinherited
stateCode String
getter/setter pairinherited

Methods

authUrl() String
inherited
customStateCode() String?
inherited
exchangeAccessToken(String authorizationCode) Future<SocialSignInResultInterface>
Your server should then daily verify the session with Microsoft, and revoke the session in your system if the authorization has been withdrawn on Microsoft's side.
inherited
generateNonce([int length = 32]) String
inherited
generateString([int length = 32, String charset = 'AaBbCcDdEeFfGgHhIiJjKkLlMmNnOoPpQqRrSsTtUuVvWwXxYyZz1234567890']) String
inherited
handleResponseBodyFail(Map<String, dynamic> body) Exception
The error will be thrown when the token exchange fails.
inherited
handleUnSuccessCodeFail(Response response) Exception
The error will be thrown when the token exchange fails.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
signIn(BuildContext context) Future<SocialSignInResultInterface>
Default signIn with webView flow
inherited
signInWithWebView(BuildContext context) Future
override
toString() String
A string representation of this object.
inherited

Operators

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