public enum OauthToken extends Enum<OauthToken>
Enum Constant and Description |
---|
ACCESS_TOKEN
The access token, see also
TokenType . |
EXPIRES_IN |
REFRESH_TOKEN |
SCOPE
OAuth scopes let you specify exactly how your application needs to access
a user's resource.
|
TOKEN_TYPE |
Modifier and Type | Method and Description |
---|---|
String |
toString()
To string.
|
static OauthToken |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static OauthToken[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OauthToken SCOPE
public static final OauthToken EXPIRES_IN
public static final OauthToken REFRESH_TOKEN
public static final OauthToken TOKEN_TYPE
public static final OauthToken ACCESS_TOKEN
TokenType
.public static OauthToken[] values()
for (OauthToken c : OauthToken.values()) System.out.println(c);
public static OauthToken valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic String toString()
toString
in class Enum<OauthToken>
Copyright © 2017. All rights reserved.