Package com.nimbusds.openid.connect.sdk
Interface AuthenticationResponse
- All Known Implementing Classes:
AuthenticationErrorResponse
,AuthenticationSuccessResponse
OpenID Connect authentication response.
Related specifications:
- OpenID Connect Core 1.0, sections 3.1.2.5. and 3.1.2.6.
-
Method Summary
Modifier and TypeMethodDescriptionGets the base redirection URI.getState()
Gets the optional state.Casts this response to an authentication error response.Casts this response to an authentication success response.Methods inherited from interface com.nimbusds.oauth2.sdk.Response
indicatesSuccess, toHTTPResponse
-
Method Details
-
getRedirectionURI
Gets the base redirection URI.- Returns:
- The base redirection URI (without the appended error response parameters).
-
getState
Gets the optional state.- Returns:
- The state,
null
if not requested.
-
toSuccessResponse
Casts this response to an authentication success response.- Returns:
- The authentication success response.
-
toErrorResponse
Casts this response to an authentication error response.- Returns:
- The authentication error response.
-