Package net.openid.appauth
Class AuthorizationRequest.Scope
- java.lang.Object
-
- net.openid.appauth.AuthorizationRequest.Scope
-
- Enclosing class:
- AuthorizationRequest
public static final class AuthorizationRequest.Scope extends Object
All spec-defined values for the OAuth2 / OpenID Connect 1.0scope
parameter.- See Also:
AuthorizationRequest.Builder.setScope(String)
,“OpenID Connect Core 1.0, Section 5.4 https://openid.net/specs/openid-connect-core-1_0.html#rfc.section.5.4”
-
-
Field Summary
Fields Modifier and Type Field Description static String
ADDRESS
A scope for the authenticated user’s mailing address.static String
EMAIL
A scope for the authenticated user’s email address.static String
OFFLINE_ACCESS
A scope for requesting an OAuth 2.0 refresh token to be issued, that can be used to obtain an Access Token that grants access to the End-User’s UserInfo Endpoint even when the End-User is not present (not logged in).static String
OPENID
A scope for OpenID based authorization.static String
PHONE
A scope for the authenticated user’s phone number.static String
PROFILE
A scope for the authenticated user’s basic profile information.
-
Constructor Summary
Constructors Constructor Description Scope()
-
-
-
Field Detail
-
ADDRESS
public static final String ADDRESS
A scope for the authenticated user’s mailing address.- See Also:
“OpenID Connect Core 1.0, Section 5.4 https://openid.net/specs/openid-connect-core-1_0.html#rfc.section.5.4”
, Constant Field Values
-
EMAIL
public static final String EMAIL
A scope for the authenticated user’s email address.- See Also:
“OpenID Connect Core 1.0, Section 5.4 https://openid.net/specs/openid-connect-core-1_0.html#rfc.section.5.4”
, Constant Field Values
-
OFFLINE_ACCESS
public static final String OFFLINE_ACCESS
A scope for requesting an OAuth 2.0 refresh token to be issued, that can be used to obtain an Access Token that grants access to the End-User’s UserInfo Endpoint even when the End-User is not present (not logged in).- See Also:
“OpenID Connect Core 1.0, Section 11 https://openid.net/specs/openid-connect-core-1_0.html#rfc.section.11”
, Constant Field Values
-
OPENID
public static final String OPENID
A scope for OpenID based authorization.- See Also:
“OpenID Connect Core 1.0, Section 3.1.2.1 https://openid.net/specs/openid-connect-core-1_0.html#rfc.section.3.1.2.1”
, Constant Field Values
-
PHONE
public static final String PHONE
A scope for the authenticated user’s phone number.- See Also:
“OpenID Connect Core 1.0, Section 5.4 https://openid.net/specs/openid-connect-core-1_0.html#rfc.section.5.4”
, Constant Field Values
-
PROFILE
public static final String PROFILE
A scope for the authenticated user’s basic profile information.- See Also:
“OpenID Connect Core 1.0, Section 5.4 https://openid.net/specs/openid-connect-core-1_0.html#rfc.section.5.4”
, Constant Field Values
-
-
Constructor Detail
-
Scope
public Scope()
-
-