public enum AuthenticationMethod extends Enum<AuthenticationMethod>
Authentication methods used by the Identity Providers
The code is copied from https://github.com/jaliss/securesocial
| Enum Constant and Description |
|---|
OAUTH2 |
| Modifier and Type | Method and Description |
|---|---|
abstract String |
accessTokenParamName() |
abstract String |
authCodeParamName() |
abstract String |
callBackUrlParamName() |
abstract String |
csrfTokenParamName() |
abstract String |
keyParamName() |
abstract String |
scopeParamName() |
abstract String |
secretParamName() |
static AuthenticationMethod |
valueOf(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 OAUTH2
public static AuthenticationMethod[] values()
for (AuthenticationMethod c : AuthenticationMethod.values()) System.out.println(c);
public static AuthenticationMethod 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 String keyParamName()
public abstract String secretParamName()
public abstract String callBackUrlParamName()
public abstract String scopeParamName()
public abstract String csrfTokenParamName()
public abstract String authCodeParamName()
public abstract String accessTokenParamName()
Copyright © 2016–2018 ActFramework. All rights reserved.