Config class
Constructors
- Config({required String tenantId, required String clientId, required String scope, required String redirectUri, required String responseType, BuildContext? context, String? clientSecret, String? resource, String contentType = 'application/x-www-form-urlencoded', String? userAgent, String nonce = 'nonce_value', int tokenRefreshAdvanceInSeconds = 300})
- ResponseType to mobile usually is "code", and web usually is "id_token+token"
Properties
-
getter/setter pair
- clientId → String
-
final
- clientSecret → String?
-
final
- contentType → String
-
final
- context ↔ BuildContext?
-
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- nonce → String
-
final
- redirectUri → String
-
final
- resource → String?
-
final
- responseType → String
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- scope → String
-
final
- screenSize ↔ Rect?
-
getter/setter pair
- tenantId → String
-
final
- tokenRefreshAdvanceInSeconds ↔ int
-
If token is too clode to expiry -
refresh it. Default is 5 minutes (300 seconds)
getter/setter pair
- tokenUrl ↔ String?
-
getter/setter pair
- userAgent ↔ String?
-
getter/setter pair
Methods
-
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