OAuthToken class

Contains information needed for generating an OAuth token.

This type of authorization should generally only be used when calling Google APIs hosted on *.googleapis.com.

Constructors

OAuthToken({String? scope, String? serviceAccountEmail})
OAuthToken.fromJson(Map json_)

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
scope String?
OAuth scope to be used for generating OAuth access token.
getter/setter pair
serviceAccountEmail String?
Service account email to be used for generating OAuth token.
getter/setter pair

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