Package com.nimbusds.openid.connect.sdk
Interface AuthenticationResponse
-
- All Known Implementing Classes:
AuthenticationErrorResponse,AuthenticationSuccessResponse
public interface AuthenticationResponse extends Response
OpenID Connect authentication response.Related specifications:
- OpenID Connect Core 1.0, sections 3.1.2.5. and 3.1.2.6.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description URIgetRedirectionURI()Gets the base redirection URI.StategetState()Gets the optional state.AuthenticationErrorResponsetoErrorResponse()Casts this response to an authentication error response.AuthenticationSuccessResponsetoSuccessResponse()Casts this response to an authentication success response.-
Methods inherited from interface com.nimbusds.oauth2.sdk.Response
indicatesSuccess, toHTTPResponse
-
-
-
-
Method Detail
-
getRedirectionURI
URI getRedirectionURI()
Gets the base redirection URI.- Returns:
- The base redirection URI (without the appended error response parameters).
-
toSuccessResponse
AuthenticationSuccessResponse toSuccessResponse()
Casts this response to an authentication success response.- Returns:
- The authentication success response.
-
toErrorResponse
AuthenticationErrorResponse toErrorResponse()
Casts this response to an authentication error response.- Returns:
- The authentication error response.
-
-