Oauth2Api class

Obtains end-user authorization grants for use with other Google APIs.

Constructors

Oauth2Api(Client client, {String rootUrl = 'https://www.googleapis.com/', String servicePath = ''})

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
userinfo UserinfoResource
no setter

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
tokeninfo({String? accessToken, String? idToken, String? $fields}) Future<Tokeninfo>
Request parameters:
toString() String
A string representation of this object.
inherited

Operators

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

Constants

openidScope → const String
Associate you with your personal info on Google
userinfoEmailScope → const String
See your primary Google Account email address
userinfoProfileScope → const String
See your personal info, including any personal info you've made publicly available