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
-
Method Summary
Modifier and TypeMethodDescriptionReturns the optional issuer.com.nimbusds.jwt.JWT
Returns the JSON Web Token (JWT) secured response.Returns the base redirection URI.Returns the optional explicit response mode.getState()
Returns the optional state.Determines the implied response mode.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
Returns the base redirection URI.- Returns:
- The base redirection URI.
-
getState
Returns the optional state.- Returns:
- The state,
null
if not requested or if the response is JWT-secured in which case the state parameter may be included as a JWT claim.
-
getIssuer
Returns the optional issuer.- Returns:
- The issuer,
null
if not specified.
-
getJWTResponse
com.nimbusds.jwt.JWT getJWTResponse()Returns the JSON Web Token (JWT) secured response.- Returns:
- The JWT-secured response,
null
for a regular authorisation response.
-
getResponseMode
Returns the optional explicit response mode.- Returns:
- The response mode,
null
if not specified.
-
impliedResponseMode
Determines the implied response mode.- Returns:
- The implied response mode.
-
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.
-