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<MFResponse>
Logs in to the specified securityCheck using the credentials provided. If an error occurs, an object of type MFResponse is returned.
logout({String securityCheck}) Future<MFResponse>
Logs out of a specified securityCheck If an error occurs, an object of type MFResponse is returned.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
obtainAccessToken({String scope}) Future
Obtains an access token for the specified resource scope from the MobileFirst authorization server. Returns an AccessToken for the scope provided. If an error occurs, an object of type MFResponse is returned.
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