Class AuthorizationRequestOptions
java.lang.Object
com.revetsec.oauth.AuthorizationRequestOptions
Per-authorization options. Scope and resource setters replace the complete list for this request; they never add
silently to a client's defaults. Application data is authenticated as pending state but is never a safe redirect
destination without the application's own validation.
- Since:
- 1.0.0
- Author:
- Mark Allen
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classMutable request-option builder.static enumThe trusted callback delivery mode. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()Starts a request with query callback delivery and no overrides.Returns additional nonreserved authorization parameters.Returns application data to authenticate in pending state.Returns the login hint, if any.Returns the requested prompt, if any.Returns ordered RFC 8707 resource indicators.Returns the trusted callback delivery mode requested for this flow.Returns the complete scope override, empty when no scopes were requested.
-
Method Details
-
builder
Starts a request with query callback delivery and no overrides.- Returns:
- the builder
- Since:
- 1.0.0
-
getScopes
-
getResources
Returns ordered RFC 8707 resource indicators.- Returns:
- the resources
- Since:
- 1.0.0
-
getResponseMode
Returns the trusted callback delivery mode requested for this flow.- Returns:
- the mode
- Since:
- 1.0.0
-
getPrompt
-
getLoginHint
Returns the login hint, if any. Treat it as user data when logging.- Returns:
- the login hint
- Since:
- 1.0.0
-
getApplicationData
-
getAdditionalParameters
-