B2CConfiguration class

Compact configuration (not MSAL complete configuration) usefull for typical app interactiona after the B2C provider has been configured using an MSAl JSON configuration file.

Constructors

B2CConfiguration(String clientId, String redirectURI, List<B2CAuthority> authorities, {String? cacheLocation, String? interactionMode, String? accountMode, bool? brokerRedirectUriRegistered, List<String>? defaultScopes})
Default contructor. (Do not use!)
B2CConfiguration.fromJson(Map<String, dynamic> data)
Creates a B2CConfiguration from a JSON map.

Properties

accountMode String?
Application account mode SINGLE|MULTIPLE.
latefinal
authorities List<B2CAuthority>
List of known authorities.
latefinal
brokerRedirectUriRegistered bool?
Broker mode (mobile only).
latefinal
cacheLocation String?
Cache location (web only).
latefinal
clientId String
The client_id of the B2C app.
latefinal
defaultAuthority B2CAuthority
Gets the default authority.
no setter
defaultScopes List<String>?
App default scopes (in MSAL config file it can be added a field <default_scopes> that will fill this field).
latefinal
hashCode int
The hash code for this object.
no setterinherited
interactionMode String?
Interaction mode redirect|popup (web only).
latefinal
redirectURI String
Application redirect URI (dependant from the platform).
latefinal
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map
Returns a JSON representation.
toString() String
A string representation of this object.
inherited

Operators

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