MFAuthorizationManager class

This class manages the OAuth interaction between the device and the authorization server.

Constructors

MFAuthorizationManager()

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

clearAccessToken({AccessToken accessToken}) Future<void>
Clears the provided accessToken. [...]
login({String securityCheck, Map credentials}) Future<void>
Logs in to the specified securityCheck using the credentials provided.
logout({String securityCheck}) Future<void>
Logs out of a specified securityCheck
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
obtainAccessToken({String scope}) Future<AccessToken>
Obtains an access token for the specified resource scope from the MobileFirst authorization server. [...]
setLoginTimeOut({int loginTimeout}) Future<void>
Sets the timeout for the authorization flow. The default value is 10 seconds. [...]
toString() String
Returns a string representation of this object.
inherited

Operators

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