RefreshTokenOption class final
RefreshTokenOption handle refresh token authorization
Constructors
- RefreshTokenOption({required RefreshTokenMethod method, required Uri url, GetHeaders? getHeaders, GetBody? getBody, Encoding? encoding, required ConditionRequireRefreshToken condition, required RefreshTokenResponse onResponse})
Properties
- condition → ConditionRequireRefreshToken
-
Condition for trigger RefreshTokenResponse
final
- encoding → Encoding?
-
encoding and used as the body of the request. The content-type of the
request will default to "text/plain".
final
- getBody → GetBody?
-
Function async get body refresh token
final
- getHeaders → GetHeaders?
-
Function async get headers refresh token
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- method → RefreshTokenMethod
-
Method http call refresh token
final
- onResponse → RefreshTokenResponse
-
Callbak from condition is true
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- url → Uri
-
Url for send http call refresh token
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited