AccessCredentials class

OAuth2 Credentials.

Constructors

AccessCredentials(AccessToken accessToken, String? refreshToken, List<String> scopes, {String? idToken})
AccessCredentials.fromJson(Map<String, dynamic> json)
factory

Properties

accessToken AccessToken
An access token.
final
hashCode int
The hash code for this object.
no setterinherited
idToken String?
A JWT used in calls to Google APIs that accept an id_token param.
final
refreshToken String?
A refresh token, which can be used to refresh the access credentials.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
scopes List<String>
Scopes these credentials are valid for.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

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