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

公開メンバ関数

String getValue ()
 
String getDisplayName ()
 
Enum<? extends LdapEnum > resolveByValue (String value)
 
String toString ()
 

静的公開メンバ関数

 [static initializer]
 
static ScopeType fromString (String param)
 
static ScopeType getByValue (String value)
 

公開変数類

 OPENID =("openid", "OpenID")
 
 DYNAMIC =("dynamic", "Dynamic")
 
 OAUTH =("oauth", "OAuth")
 

非公開メンバ関数

 ScopeType (String value, String displayName)
 

非公開変数類

final String value
 
final String displayName
 

静的非公開変数類

static Map< String, ScopeTypemapByValues = new HashMap<String, ScopeType>()
 

詳解

Scope types

著者
Yuriy Movchan
Javier Rojas Blum
バージョン
January 19, 2017

構築子と解体子

◆ ScopeType()

org.xdi.oxauth.model.common.ScopeType.ScopeType ( String  value,
String  displayName 
)
inlineprivate
76  {
77  this.value = value;
78  this.displayName = displayName;
79  }
final String displayName
Definition: ScopeType.java:66
final String value
Definition: ScopeType.java:65

関数詳解

◆ [static initializer]()

org.xdi.oxauth.model.common.ScopeType.[static initializer] ( )
inlinestatic

◆ fromString()

static ScopeType org.xdi.oxauth.model.common.ScopeType.fromString ( String  param)
inlinestatic
81  {
82  return getByValue(param);
83  }
static ScopeType getByValue(String value)
Definition: ScopeType.java:99

◆ getByValue()

static ScopeType org.xdi.oxauth.model.common.ScopeType.getByValue ( String  value)
inlinestatic
99  {
100  return mapByValues.get(value);
101  }
final String value
Definition: ScopeType.java:65
static Map< String, ScopeType > mapByValues
Definition: ScopeType.java:68

◆ getDisplayName()

String org.xdi.oxauth.model.common.ScopeType.getDisplayName ( )
inline

Gets display name

戻り値
display name name
95  {
96  return displayName;
97  }
final String displayName
Definition: ScopeType.java:66

◆ getValue()

String org.xdi.oxauth.model.common.ScopeType.getValue ( )
inline
86  {
87  return value;
88  }
final String value
Definition: ScopeType.java:65

◆ resolveByValue()

Enum<? extends LdapEnum> org.xdi.oxauth.model.common.ScopeType.resolveByValue ( String  value)
inline
103  {
104  return getByValue(value);
105  }
static ScopeType getByValue(String value)
Definition: ScopeType.java:99
final String value
Definition: ScopeType.java:65

◆ toString()

String org.xdi.oxauth.model.common.ScopeType.toString ( )
inline
108  {
109  return value;
110  }
final String value
Definition: ScopeType.java:65

メンバ詳解

◆ displayName

final String org.xdi.oxauth.model.common.ScopeType.displayName
private

◆ DYNAMIC

org.xdi.oxauth.model.common.ScopeType.DYNAMIC =("dynamic", "Dynamic")

Dynamic scope calls scripts which add claims dynamically.

◆ mapByValues

static Map<String, ScopeType> org.xdi.oxauth.model.common.ScopeType.mapByValues = new HashMap<String, ScopeType>()
staticprivate

◆ OAUTH

org.xdi.oxauth.model.common.ScopeType.OAUTH =("oauth", "OAuth")

OAuth 2.0 Scopes for any of their API's. This scope type would only have a description, but no claims. Once a client obtains this token, it may be passed to the backend API (let's say the calendar API).

◆ OPENID

org.xdi.oxauth.model.common.ScopeType.OPENID =("openid", "OpenID")

Specify what access privileges are being requested for Access Tokens. The scopes associated with Access Tokens determine what resources will be available when they are used to access OAuth 2.0 protected endpoints. For OpenID Connect, scopes can be used to request that specific sets of information be made available as Claim Values. OpenID Connect defines the following scope values that are used to request Claims:

  • profile. This scope value requests access to the End-User's default profile Claims, which are: name, family_name, given_name, middle_name, nickname, preferred_username, profile, picture, website, gender, birthdate, zoneinfo, locale, and updated_at.
  • email. This scope value requests access to the email and email_verified Claims.
  • address. This scope value requests access to the address Claim.
  • phone. This scope value requests access to the phone_number and phone_number_verified Claims.

The Claims requested by the profile, email, address, and phone scope values are returned from the UserInfo Endpoint.

◆ value

final String org.xdi.oxauth.model.common.ScopeType.value
private

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