Class TokenAuthInfo
java.lang.Object
com.amilesend.discogs.connection.auth.info.TokenAuthInfo
- All Implemented Interfaces:
com.amilesend.client.connection.auth.AuthInfo, DiscogsAuthInfo
Defines the authorization information that contains an access token.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface DiscogsAuthInfo
DiscogsAuthInfo.Type
-
Field Summary
Fields inherited from interface DiscogsAuthInfo
DEFINED
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from interface DiscogsAuthInfo
toJson
-
Constructor Details
-
TokenAuthInfo
Creates a newTokenAuthInfo
object.- Parameters:
token
- the personal access token.
-
-
Method Details
-
toString
-
equals
-
hashCode
-
getType
The auth info type.- Specified by:
getType
in interfaceDiscogsAuthInfo
- Returns:
- the type
- See Also:
-
getToken
The personal access token.
-