Authorization class abstract

Implementers

Constructors

Authorization()

Properties

context BuildContext
The context in which the service attached
latefinalinherited
crypto Crypto
no setter
dataAccess DataAccess
no setter
hashCode int
The hash code for this object.
no setterinherited
initialized bool
Service is initialized
getter/setter pairinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

decryptToken(AccessToken token) FutureOr<String>
ensureInitialize() Future<bool>
Wait service is initialized.
inherited
init([bool inInterface = true]) FutureOr<bool>
Init Service
initService() FutureOr<bool>
login(dynamic authData) FutureOr<AccessToken>
logout(dynamic authData) FutureOr<bool>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
register(dynamic authData) FutureOr<AccessToken>
toString() String
A string representation of this object.
inherited
verifyToken(String token) FutureOr<AccessToken>

Operators

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

Static Methods

of(BuildContext context) Authorization