public enum AuthenticationMethod extends java.lang.Enum<AuthenticationMethod>
Enum Constant and Description |
---|
DIGITAL_SIGNATURE |
HMAC |
PASS_THROUGH |
Modifier and Type | Method and Description |
---|---|
static AuthenticationMethod |
get(java.lang.String method) |
java.lang.String |
getMethod() |
static AuthenticationMethod |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static AuthenticationMethod[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AuthenticationMethod DIGITAL_SIGNATURE
public static final AuthenticationMethod HMAC
public static final AuthenticationMethod PASS_THROUGH
public static AuthenticationMethod[] values()
for (AuthenticationMethod c : AuthenticationMethod.values()) System.out.println(c);
public static AuthenticationMethod valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic java.lang.String getMethod()
public static AuthenticationMethod get(java.lang.String method)