gluu
公開メンバ関数 | 静的公開メンバ関数 | 公開変数類 | 非公開メンバ関数 | 非公開変数類 | 全メンバ一覧
列挙 org.xdi.oxauth.model.token.TokenErrorResponseType 詳解
org.xdi.oxauth.model.token.TokenErrorResponseType の継承関係図
Inheritance graph
org.xdi.oxauth.model.token.TokenErrorResponseType 連携図
Collaboration graph

公開メンバ関数

String toString ()
 
String getParameter ()
 

静的公開メンバ関数

static TokenErrorResponseType fromString (String param)
 

公開変数類

 INVALID_REQUEST =("invalid_request")
 
 INVALID_CLIENT =("invalid_client")
 
 DISABLED_CLIENT =("disabled_client")
 
 INVALID_GRANT =("invalid_grant")
 
 UNAUTHORIZED_CLIENT =("unauthorized_client")
 
 UNSUPPORTED_GRANT_TYPE =("unsupported_grant_type")
 
 INVALID_SCOPE =("invalid_scope")
 

非公開メンバ関数

 TokenErrorResponseType (String paramName)
 

非公開変数類

final String paramName
 

詳解

著者
Javier Rojas Date: 09.22.2011

構築子と解体子

◆ TokenErrorResponseType()

org.xdi.oxauth.model.token.TokenErrorResponseType.TokenErrorResponseType ( String  paramName)
inlineprivate
63  {
64  this.paramName = paramName;
65  }
final String paramName
Definition: TokenErrorResponseType.java:61

関数詳解

◆ fromString()

static TokenErrorResponseType org.xdi.oxauth.model.token.TokenErrorResponseType.fromString ( String  param)
inlinestatic

Returns the corresponding TokenErrorResponseType from a given string.

引数
paramThe string value to convert.
戻り値
The corresponding TokenErrorResponseType, otherwise null.
73  {
74  if (param != null) {
75  for (TokenErrorResponseType err : TokenErrorResponseType.values()) {
76  if (param.equals(err.paramName)) {
77  return err;
78  }
79  }
80  }
81  return null;
82  }
TokenErrorResponseType(String paramName)
Definition: TokenErrorResponseType.java:63

◆ getParameter()

String org.xdi.oxauth.model.token.TokenErrorResponseType.getParameter ( )
inline

Gets error parameter.

戻り値
error parameter

org.xdi.oxauth.model.error.IErrorTypeを実装しています。

100  {
101  return paramName;
102  }
final String paramName
Definition: TokenErrorResponseType.java:61

◆ toString()

String org.xdi.oxauth.model.token.TokenErrorResponseType.toString ( )
inline

Returns a string representation of the object. In this case the parameter name.

戻り値
The string representation of the object.
90  {
91  return paramName;
92  }
final String paramName
Definition: TokenErrorResponseType.java:61

メンバ詳解

◆ DISABLED_CLIENT

org.xdi.oxauth.model.token.TokenErrorResponseType.DISABLED_CLIENT =("disabled_client")

The client is disabled and can't request an access token using this method.

◆ INVALID_CLIENT

org.xdi.oxauth.model.token.TokenErrorResponseType.INVALID_CLIENT =("invalid_client")

Client authentication failed (e.g. unknown client, no client authentication included, or unsupported authentication method). The authorization server MAY return an HTTP 401 (Unauthorized) status code to indicate which HTTP authentication schemes are supported. If the client attempted to authenticate via the Authorization request header field, the authorization server MUST respond with an HTTP 401 (Unauthorized) status code, and include the WWW-Authenticate response header field matching the authentication scheme used by the client.

◆ INVALID_GRANT

org.xdi.oxauth.model.token.TokenErrorResponseType.INVALID_GRANT =("invalid_grant")

The provided authorization grant is invalid, expired, revoked, does not match the redirection URI used in the authorization request, or was issued to another client.

◆ INVALID_REQUEST

org.xdi.oxauth.model.token.TokenErrorResponseType.INVALID_REQUEST =("invalid_request")

The request is missing a required parameter, includes an unsupported parameter or parameter value, repeats a parameter, includes multiple credentials, utilizes more than one mechanism for authenticating the client, or is otherwise malformed.

◆ INVALID_SCOPE

org.xdi.oxauth.model.token.TokenErrorResponseType.INVALID_SCOPE =("invalid_scope")

The requested scope is invalid, unknown, malformed, or exceeds the scope granted by the resource owner.

◆ paramName

final String org.xdi.oxauth.model.token.TokenErrorResponseType.paramName
private

◆ UNAUTHORIZED_CLIENT

org.xdi.oxauth.model.token.TokenErrorResponseType.UNAUTHORIZED_CLIENT =("unauthorized_client")

The authenticated client is not authorized to use this authorization grant type.

◆ UNSUPPORTED_GRANT_TYPE

org.xdi.oxauth.model.token.TokenErrorResponseType.UNSUPPORTED_GRANT_TYPE =("unsupported_grant_type")

The authorization grant type is not supported by the authorization server.


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