- 著者
- Javier Rojas Blum Date: 03.23.2012
◆ AuthenticationMethod()
org.xdi.oxauth.model.common.AuthenticationMethod.AuthenticationMethod |
( |
String |
paramName | ) |
|
|
inlineprivate |
final String paramName
Definition: AuthenticationMethod.java:51
◆ fromString()
static AuthenticationMethod org.xdi.oxauth.model.common.AuthenticationMethod.fromString |
( |
String |
param | ) |
|
|
inlinestatic |
Returns the corresponding AuthenticationMethod for an authentication method parameter.
- 引数
-
- 戻り値
- The corresponding authentication method if found, otherwise
null
.
67 if (param.equals(rt.paramName)) {
AuthenticationMethod(String paramName)
Definition: AuthenticationMethod.java:53
◆ toString()
String org.xdi.oxauth.model.common.AuthenticationMethod.toString |
( |
| ) |
|
|
inline |
Returns a string representation of the object. In this case the parameter name for the authentication method parameter.
final String paramName
Definition: AuthenticationMethod.java:51
◆ ACCESS_TOKEN
org.xdi.oxauth.model.common.AuthenticationMethod.ACCESS_TOKEN =("access_token") |
Authenticates client by access token.
◆ CLIENT_SECRET_BASIC
org.xdi.oxauth.model.common.AuthenticationMethod.CLIENT_SECRET_BASIC =("client_secret_basic") |
Clients in possession of a client password authenticate with the Authorization Server using HTTP Basic authentication scheme. Default one if not client authentication is specified.
◆ CLIENT_SECRET_JWT
org.xdi.oxauth.model.common.AuthenticationMethod.CLIENT_SECRET_JWT =("client_secret_jwt") |
Clients in possession of a client password create a JWT using the HMAC-SHA algorithm. The HMAC (Hash-based Message Authentication Code) is calculated using the client_secret as the shared key.
◆ CLIENT_SECRET_POST
org.xdi.oxauth.model.common.AuthenticationMethod.CLIENT_SECRET_POST =("client_secret_post") |
Clients in possession of a client password authenticate with the Authorization Server by including the client credentials in the request body.
◆ NONE
org.xdi.oxauth.model.common.AuthenticationMethod.NONE =("none") |
The Client does not authenticate itself at the Token Endpoint, either because it uses only the Implicit Flow (and so does not use the Token Endpoint) or because it is a Public Client with no Client Secret or other authentication mechanism.
◆ paramName
final String org.xdi.oxauth.model.common.AuthenticationMethod.paramName |
|
private |
◆ PRIVATE_KEY_JWT
org.xdi.oxauth.model.common.AuthenticationMethod.PRIVATE_KEY_JWT =("private_key_jwt") |
Clients that have registered a public key sign a JWT using the RSA algorithm if a RSA key was registered or the ECDSA algorithm if an Elliptic Curve key was registered.
次のファイルからこの列挙についての詳解を抽出しました: