Package com.google.auth.oauth2
Enum UserAuthorizer.ClientAuthenticationType
- java.lang.Object
-
- java.lang.Enum<UserAuthorizer.ClientAuthenticationType>
-
- com.google.auth.oauth2.UserAuthorizer.ClientAuthenticationType
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<UserAuthorizer.ClientAuthenticationType>
- Enclosing class:
- UserAuthorizer
public static enum UserAuthorizer.ClientAuthenticationType extends java.lang.Enum<UserAuthorizer.ClientAuthenticationType>
Represents the client authentication types as specified in RFC 7591.For more details, see RFC 7591.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CLIENT_SECRET_BASIC
CLIENT_SECRET_POST
NONE
-
Constructor Summary
Constructors Modifier Constructor Description private
ClientAuthenticationType()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static UserAuthorizer.ClientAuthenticationType
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static UserAuthorizer.ClientAuthenticationType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CLIENT_SECRET_POST
public static final UserAuthorizer.ClientAuthenticationType CLIENT_SECRET_POST
-
CLIENT_SECRET_BASIC
public static final UserAuthorizer.ClientAuthenticationType CLIENT_SECRET_BASIC
-
NONE
public static final UserAuthorizer.ClientAuthenticationType NONE
-
-
Method Detail
-
values
public static UserAuthorizer.ClientAuthenticationType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (UserAuthorizer.ClientAuthenticationType c : UserAuthorizer.ClientAuthenticationType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static UserAuthorizer.ClientAuthenticationType valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-