Scope types
- 著者
- Yuriy Movchan
-
Javier Rojas Blum
- バージョン
- January 19, 2017
◆ ScopeType()
org.xdi.oxauth.model.common.ScopeType.ScopeType |
( |
String |
value, |
|
|
String |
displayName |
|
) |
| |
|
inlineprivate |
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 |
static ScopeType getByValue(String value)
Definition: ScopeType.java:99
◆ getByValue()
static ScopeType org.xdi.oxauth.model.common.ScopeType.getByValue |
( |
String |
value | ) |
|
|
inlinestatic |
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
final String displayName
Definition: ScopeType.java:66
◆ getValue()
String org.xdi.oxauth.model.common.ScopeType.getValue |
( |
| ) |
|
|
inline |
final String value
Definition: ScopeType.java:65
◆ resolveByValue()
Enum<? extends LdapEnum> org.xdi.oxauth.model.common.ScopeType.resolveByValue |
( |
String |
value | ) |
|
|
inline |
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 |
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 |
次のファイルからこの列挙についての詳解を抽出しました:
- D:/AppData/OpenId/gluu/src/oxAuth/Model/src/main/java/org/xdi/oxauth/model/common/ScopeType.java