B2CProviderWeb class

Azure AD B2C protocol provider (web implementation).

Constructors

B2CProviderWeb({B2CCallback? callback})
Creates an istance of the B2CProviderWeb.

Properties

callback B2CCallback?
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

getAccessToken(String subject) B2CAccessToken?
Returns subject's stored access-token.
getConfiguration() B2CConfiguration?
Get the provider configuration (i.e. a compact representation, NOT the full MSAL configuration).
getSubjectInfo(String subject) B2CUserInfo?
Returns subject's stored information.
getSubjects() List<String>
Returns a list of stored subjects.
init(String tag, String configFileName) Future
Init B2C application. It look for existing accounts and retrieves information.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
policyTriggerInteractive(String tag, String policyName, List<String> scopes, String? loginHint) Future
Runs user flow interactively.
policyTriggerSilently(String tag, String subject, String policyName, List<String> scopes) Future
Run user flow silently using stored refresh token.
signOut(String tag, String subject) Future
Sign out user and erases associated tokens.
toString() String
A string representation of this object.
inherited

Operators

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

Static Methods

storeRedirectHash() → void
Handles the state hash parameter returned from the authentication provider if B2CInteractionMode.REDIRECT mode is selected. This method should be called before the MaterialApp widget overwrites the url.