gluu
公開メンバ関数 | 静的公開メンバ関数 | 公開変数類 | 非公開メンバ関数 | 非公開変数類 | 全メンバ一覧
列挙 org.xdi.oxauth.model.common.AuthenticationMethod 詳解
org.xdi.oxauth.model.common.AuthenticationMethod 連携図
Collaboration graph

公開メンバ関数

String toString ()
 

静的公開メンバ関数

static AuthenticationMethod fromString (String param)
 

公開変数類

 CLIENT_SECRET_BASIC =("client_secret_basic")
 
 CLIENT_SECRET_POST =("client_secret_post")
 
 CLIENT_SECRET_JWT =("client_secret_jwt")
 
 PRIVATE_KEY_JWT =("private_key_jwt")
 
 ACCESS_TOKEN =("access_token")
 
 NONE =("none")
 

非公開メンバ関数

 AuthenticationMethod (String paramName)
 

非公開変数類

final String paramName
 

詳解

著者
Javier Rojas Blum Date: 03.23.2012

構築子と解体子

◆ AuthenticationMethod()

org.xdi.oxauth.model.common.AuthenticationMethod.AuthenticationMethod ( String  paramName)
inlineprivate
53  {
54  this.paramName = paramName;
55  }
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.

引数
paramThe parameter.
戻り値
The corresponding authentication method if found, otherwise null.
64  {
65  if (param != null) {
66  for (AuthenticationMethod rt : AuthenticationMethod.values()) {
67  if (param.equals(rt.paramName)) {
68  return rt;
69  }
70  }
71  }
72  return null;
73  }
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.

80  {
81  return paramName;
82  }
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.


次のファイルからこの列挙についての詳解を抽出しました: