SimpleAuthorization class

Inheritance

Constructors

SimpleAuthorization()

Properties

context ↔ BuildContext
The context in which the service attached
latefinalinherited
crypto → Crypto
no setterinherited
dataAccess → DataAccess
no setterinherited
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>
override
ensureInitialize() → Future<bool>
Wait service is initialized.
inherited
init([bool inInterface = true]) → FutureOr<bool>
Init Service
inherited
initService() → FutureOr<bool>
override
login(dynamic authData) → FutureOr<AccessToken>
override
logout(dynamic authData) → FutureOr<bool>
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
register(dynamic authData) → FutureOr<AccessToken>
override
toString() → String
A string representation of this object.
inherited
verifyToken(String token) → FutureOr<AccessToken>
override

Operators

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