AzureADLoginViewOptionsBuilder class

builder for an AzureADLoginViewOptions instance

Example:

final AzureADLoginViewOptions options = AzureADLoginViewOptionsBuilder()
  .setTenant("<TENANT-NAME-OR-ID>")
  .setClientId("<CLIENT-ID>")
  .setRedirectUri("<REDIRECT-URI>")
  .setLoginPolicy("<NAME-OF-LOGIN-POLICY>")
  .build();

Constructors

AzureADLoginViewOptionsBuilder()
initializes a new instance of that class

Properties

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

Methods

build() AzureADLoginViewOptions
build a new AzureADLoginViewOptions object from the current data of this instance
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
setClearCache(bool clearCache) AzureADLoginViewOptionsBuilder
sets the custom and optional initialJavaScript
setClientId(String clientId) AzureADLoginViewOptionsBuilder
sets the REQUIRED clientId
setInitialJavaScript(String? initialJavaScript) AzureADLoginViewOptionsBuilder
sets the custom and optional initialJavaScript
setInitialUri(InitialAzureADLoginUri initialUri) AzureADLoginViewOptionsBuilder
sets the optional and custom initialUri
setIsB2C(bool isB2C) AzureADLoginViewOptionsBuilder
sets the optional and custom isB2C
setLoginPolicy(String loginPolicy) AzureADLoginViewOptionsBuilder
sets the REQUIRED loginPolicy
setOnNavigationError(AzureADLoginNavigationErrorHandler? onNavigationError) AzureADLoginViewOptionsBuilder
sets the optional and custom onNavigationError
setOnNewTokens(AzureADLoginNewTokensHandler onNewTokens) AzureADLoginViewOptionsBuilder
sets the REQUIRED onNewTokens
setPasswordResetPolicy(String? passwordResetPolicy) AzureADLoginViewOptionsBuilder
sets the custom and optional registerPolicy
setRedirectUri(String redirectUri) AzureADLoginViewOptionsBuilder
sets the REQUIRED redirectUri
setRegisterPolicy(String? registerPolicy) AzureADLoginViewOptionsBuilder
sets the custom and optional registerPolicy
setScopes(Iterable<String> scopes, {bool noDefaults = false}) AzureADLoginViewOptionsBuilder
sets the optional and custom scopes
setTenant(String tenant) AzureADLoginViewOptionsBuilder
sets the REQUIRED tenant
toString() String
A string representation of this object.
inherited

Operators

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

Static Methods

buildFromMap(Map map) AzureADLoginViewOptions
creates a new instance and directly builds a new AzureADLoginViewOptions object from a map
fromJSON(String jsonStr) AzureADLoginViewOptionsBuilder
creates a new instance from a jsonStr, which represents a map, that can be null or undefined
fromMap(Map map) AzureADLoginViewOptionsBuilder
creates a new instance from a map