public static enum ClientDetailsEntity.AuthMethod extends Enum<ClientDetailsEntity.AuthMethod>
Enum Constant and Description |
---|
NONE |
PRIVATE_KEY |
SECRET_BASIC |
SECRET_JWT |
SECRET_POST |
Modifier and Type | Method and Description |
---|---|
static ClientDetailsEntity.AuthMethod |
getByValue(String value) |
String |
getValue() |
static ClientDetailsEntity.AuthMethod |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ClientDetailsEntity.AuthMethod[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ClientDetailsEntity.AuthMethod SECRET_POST
public static final ClientDetailsEntity.AuthMethod SECRET_BASIC
public static final ClientDetailsEntity.AuthMethod SECRET_JWT
public static final ClientDetailsEntity.AuthMethod PRIVATE_KEY
public static final ClientDetailsEntity.AuthMethod NONE
public static ClientDetailsEntity.AuthMethod[] values()
for (ClientDetailsEntity.AuthMethod c : ClientDetailsEntity.AuthMethod.values()) System.out.println(c);
public static ClientDetailsEntity.AuthMethod 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 static ClientDetailsEntity.AuthMethod getByValue(String value)
Copyright © 2018. All rights reserved.