Package com.ringcentral.definitions
Class AuthorizeParameters
java.lang.Object
com.ringcentral.definitions.AuthorizeParameters
Query parameters for operation authorize
-
Field Summary
FieldsModifier and TypeFieldDescriptionRingCentral Brand identifier.The registered identifier of a client application Example: AZwEVwGEcfGet2PCouA7K6The code challenge value as defined by the PKCE specification - [RFC-7636 "Proof Key for Code Exchange by OAuth Public Clients"](https://datatracker.ietf.org/doc/html/rfc7636)The code challenge method as defined by the PKCE specification - [RFC-7636 "Proof Key for Code Exchange by OAuth Public Clients"](https://datatracker.ietf.org/doc/html/rfc7636).Specifies how the Authorization Server displays the authentication and consent user interface pages to the End-User.Hint to the Authorization Server about the login identifier the End-User might use to log in.String value used to associate a Client session with an ID Token, and to mitigate replay attacks.Space-delimited, case-sensitive list of ASCII string values that specifies whether the Authorization Server prompts the End-User for re-authentication and consent.This is the URI where the Authorization Server redirects the User Agent to at the end of the authorization flow.Determines authorization flow type.The list of space separated application permissions (OAuth scopes)An opaque value used by the client to maintain state between the request and callback.End-User's preferred languages and scripts for the user interface, represented as a space-separated list of [RFC-5646](https://datatracker.ietf.org/doc/html/rfc5646) language tag values, ordered by preference. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncode_challenge(String code_challenge) code_challenge_method(String code_challenge_method) login_hint(String login_hint) redirect_uri(String redirect_uri) response_type(String response_type) ui_locales(String ui_locales)
-
Field Details
-
client_id
The registered identifier of a client application Example: AZwEVwGEcfGet2PCouA7K6 -
response_type
Determines authorization flow type. The only supported value is `code` which corresponds to OAuth 2.0 "Authorization Code Flow" Enum: code -
redirect_uri
This is the URI where the Authorization Server redirects the User Agent to at the end of the authorization flow. The value of this parameter must exactly match one of the URIs registered for this client application. This parameter is required if there are more than one redirect URIs registered for the app. Format: uri -
state
An opaque value used by the client to maintain state between the request and callback. The authorization server includes this value when redirecting the User Agent back to the client. Using this parameter is strongly recommended to prevent cross-site request forgery attacks. -
scope
The list of space separated application permissions (OAuth scopes) -
display
Specifies how the Authorization Server displays the authentication and consent user interface pages to the End-User. Default: page Enum: page, popup, touch, mobile -
prompt
Space-delimited, case-sensitive list of ASCII string values that specifies whether the Authorization Server prompts the End-User for re-authentication and consent. The defined values are:- `login` - RingCentral native login form; - `sso` - Single Sign-On login form; - `consent` - form to show the requested scope and prompt user for consent; - `none` - indicates that non-interactive authorization is requested (the flow will succeed only if the user has been already authenticated within the same browser session). Cannot be combined with any other prompt option. Default: login sso
-
ui_locales
End-User's preferred languages and scripts for the user interface, represented as a space-separated list of [RFC-5646](https://datatracker.ietf.org/doc/html/rfc5646) language tag values, ordered by preference. Example: en-US -
code_challenge
The code challenge value as defined by the PKCE specification - [RFC-7636 "Proof Key for Code Exchange by OAuth Public Clients"](https://datatracker.ietf.org/doc/html/rfc7636) -
code_challenge_method
The code challenge method as defined by the PKCE specification - [RFC-7636 "Proof Key for Code Exchange by OAuth Public Clients"](https://datatracker.ietf.org/doc/html/rfc7636). This parameter is mandatory when the `code_challenge` is provided Default: plain Enum: plain, S256 -
nonce
String value used to associate a Client session with an ID Token, and to mitigate replay attacks. The value is passed through unmodified from the Authentication Request to the ID Token. (This parameter is defined in OpenID Connect 1.0 specification) -
login_hint
Hint to the Authorization Server about the login identifier the End-User might use to log in. -
brand_id
RingCentral Brand identifier. If it is not provided in the request, server will try to determine brand from the client application profile. Example: 1210
-
-
Constructor Details
-
AuthorizeParameters
public AuthorizeParameters()
-
-
Method Details
-
client_id
-
response_type
-
redirect_uri
-
state
-
scope
-
display
-
prompt
-
ui_locales
-
code_challenge
-
code_challenge_method
-
nonce
-
login_hint
-
brand_id
-