public enum ClientAuthenticationType extends Enum<ClientAuthenticationType>
| Enum Constant and Description |
|---|
HTTP_BASIC_AUTHENTICATION_SCHEME |
REQUEST_BODY |
| Modifier and Type | Method and Description |
|---|---|
void |
addClientAuthentication(OAuthRequest request,
OAuthConfig config)
|
abstract void |
addClientAuthentication(OAuthRequest request,
String apiKey,
String apiSecret) |
static ClientAuthenticationType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ClientAuthenticationType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ClientAuthenticationType HTTP_BASIC_AUTHENTICATION_SCHEME
public static final ClientAuthenticationType REQUEST_BODY
public static ClientAuthenticationType[] values()
for (ClientAuthenticationType c : ClientAuthenticationType.values()) System.out.println(c);
public static ClientAuthenticationType 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 abstract void addClientAuthentication(OAuthRequest request, String apiKey, String apiSecret)
@Deprecated public void addClientAuthentication(OAuthRequest request, OAuthConfig config)
Copyright © 2018. All rights reserved.