AuthProvider class

Implemented types
Implementers

Constructors

AuthProvider(CloudBaseCore _core)

Properties

cache → AuthCache
no setter
config → CloudBaseConfig
no setter
core → CloudBaseCore
no setter
hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

getAccessToken() → Future<String>
获取 accessToken
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
refreshAccessToken() → Future<void>
刷新 accessToken
override
setAuthType(CloudBaseAuthType authType) → Future<void>
setRefreshToken(String refreshToken) → Future<void>
toString() → String
A string representation of this object.
inherited

Operators

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