DriveCredentials class

Drive authentication class.

Constructors

DriveCredentials({String? unionId, String? accessToken, RefreshTokenCallback? callback, int? expiresInSeconds})

Properties

accessToken String?
Authentication information.
getter/setter pair
callback RefreshTokenCallback?
User defined callback for obtaining a new access token.
getter/setter pair
expiresInSeconds int?
Sets the validity period of an access token.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
unionId String?
UnionID obtained after a user signs in using a HUAWEI ID.
getter/setter pair

Methods

clone({String? unionId, String? accessToken, int? expiresInSeconds, RefreshTokenCallback? callback}) DriveCredentials
Copies the current object and updates the specified attributes.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() Map<String, dynamic>
Returns a map representation of the object.
toString() String
A string representation of this object.
inherited

Operators

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