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

公開メンバ関数

String getName ()
 
String toString ()
 

静的公開メンバ関数

static TokenType fromString (String param)
 

公開変数類

 BEARER =("bearer")
 

非公開メンバ関数

 TokenType (String name)
 

非公開変数類

final String name
 

詳解

The access token type provides the client with the information required to successfully utilize the access token to make a protected resource request (along with type-specific attributes). The client MUST NOT use an access token if it does not understand or does not trust the token type.

著者
Javier Rojas Blum Date: 09.20.2011

構築子と解体子

◆ TokenType()

org.xdi.oxauth.model.common.TokenType.TokenType ( String  name)
inlineprivate
25  {
26  this.name = name;
27  }
final String name
Definition: TokenType.java:23

関数詳解

◆ fromString()

static TokenType org.xdi.oxauth.model.common.TokenType.fromString ( String  param)
inlinestatic

Returns the corresponding TokenType for a parameter token_type.

引数
paramThe token_type parameter.
戻り値
The corresponding token type if found, otherwise null.
40  {
41  if (param != null) {
42  for (TokenType rt : TokenType.values()) {
43  if (param.equals(rt.name)) {
44  return rt;
45  }
46  }
47  }
48  return null;
49  }
TokenType(String name)
Definition: TokenType.java:25

◆ getName()

String org.xdi.oxauth.model.common.TokenType.getName ( )
inline
29  {
30  return name;
31  }
final String name
Definition: TokenType.java:23

◆ toString()

String org.xdi.oxauth.model.common.TokenType.toString ( )
inline

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

56  {
57  return name;
58  }
final String name
Definition: TokenType.java:23

メンバ詳解

◆ BEARER

org.xdi.oxauth.model.common.TokenType.BEARER =("bearer")

The bearer token type is defined in [ietf-oauth-v2-bearer]

◆ name

final String org.xdi.oxauth.model.common.TokenType.name
private

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