Credentials class abstract

Base class representation of YouTubeMusicAPI OAuth Credentials.

Implementers

Constructors

Credentials.new(String clientId, String clientSecret)
Create new Credentials.

Properties

clientId String
OAuth client ID.
final
clientSecret String
OAuth client secret.
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

getCode() Future<AuthCodeMap>
Method for obtaining a new user auth code. First step of token creation.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
refreshToken(String refreshToken) Future<BaseTokenMap>
Method for requesting a new access token for a given refreshToken. Token must have been created by the same OAuth client.
tokenFromCode(String deviceCode) Future<RefreshableTokenMap>
Method for verifying user auth code and conversion into a RefreshableTokenMap.
toString() String
A string representation of this object.
inherited

Operators

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