Uses of Class
com.nimbusds.oauth2.sdk.ResponseMode
-
Packages that use ResponseMode Package Description com.nimbusds.oauth2.sdk Classes for representing, serialising and parsing OAuth 2.0 client requests and authorisation server responses.com.nimbusds.oauth2.sdk.as OAuth 2.0 Authorisation Server (AS) classes.com.nimbusds.openid.connect.sdk Classes for representing, serialising and parsing OpenID Connect client requests and server responses. -
-
Uses of ResponseMode in com.nimbusds.oauth2.sdk
Fields in com.nimbusds.oauth2.sdk declared as ResponseMode Modifier and Type Field Description static ResponseModeResponseMode. FORM_POSTThe authorisation response parameters are encoded as HTML form values that are auto-submitted in the User Agent, and thus are transmitted via the HTTP POST method to the client, with the result parameters being encoded in the body using theapplication/x-www-form-urlencodedformat.static ResponseModeResponseMode. FORM_POST_JWTThe authorisation response parameters are packaged in a JSON Web Token (JWT) which is transmitted via the HTTP POST method to the client.static ResponseModeResponseMode. FRAGMENTThe authorisation response parameters are encoded in the fragment added to theredirect_uriwhen redirecting back to the client.static ResponseModeResponseMode. FRAGMENT_JWTThe authorisation response parameters are packaged in a JSON Web Token (JWT) which is returned as aresponsefragment parameter added to theredirect_uriwhen redirecting back to the client.static ResponseModeResponseMode. JWTThe authorisation response parameters are packaged in a JSON Web Token (JWT) which is returned as aresponseparameter using the redirect encoding (query.jwt,fragment.jwtfor the requestedresponse_type.static ResponseModeResponseMode. QUERYThe authorisation response parameters are encoded in the query string added to theredirect_uriwhen redirecting back to the client.static ResponseModeResponseMode. QUERY_JWTThe authorisation response parameters are packaged in a JSON Web Token (JWT) which is returned as aresponsequery parameter added to theredirect_uriwhen redirecting back to the client.Methods in com.nimbusds.oauth2.sdk that return ResponseMode Modifier and Type Method Description ResponseModeAuthorizationRequest. getResponseMode()Gets the optional response mode.ResponseModeAuthorizationResponse. getResponseMode()Returns the optional explicit response mode.ResponseModeGeneralException. getResponseMode()Gets the associated response mode.ResponseModeAuthorizationErrorResponse. impliedResponseMode()ResponseModeAuthorizationRequest. impliedResponseMode()Returns the implied response mode, determined by the optionalresponse_modeparameter, and if that isn't specified, by theresponse_type.abstract ResponseModeAuthorizationResponse. impliedResponseMode()Determines the implied response mode.ResponseModeAuthorizationSuccessResponse. impliedResponseMode()static ResponseModeResponseMode. resolve(ResponseMode rm, ResponseType rt)Resolves the requested response mode.Methods in com.nimbusds.oauth2.sdk with parameters of type ResponseMode Modifier and Type Method Description static ResponseModeResponseMode. resolve(ResponseMode rm, ResponseType rt)Resolves the requested response mode.AuthorizationRequest.BuilderAuthorizationRequest.Builder. responseMode(ResponseMode rm)Sets the response mode.Constructors in com.nimbusds.oauth2.sdk with parameters of type ResponseMode Constructor Description AuthorizationErrorResponse(URI redirectURI, com.nimbusds.jwt.JWT jwtResponse, ResponseMode rm)Creates a new JSON Web Token (JWT) secured authorisation error response.AuthorizationErrorResponse(URI redirectURI, ErrorObject error, State state, ResponseMode rm)Creates a new authorisation error response.AuthorizationRequest(URI uri, ResponseType rt, ResponseMode rm, ClientID clientID, URI redirectURI, Scope scope, State state)Creates a new authorisation request.AuthorizationRequest(URI uri, ResponseType rt, ResponseMode rm, ClientID clientID, URI redirectURI, Scope scope, State state, CodeChallenge codeChallenge, CodeChallengeMethod codeChallengeMethod, List<URI> resources, boolean includeGrantedScopes, com.nimbusds.jwt.JWT requestObject, URI requestURI, Prompt prompt, Map<String,List<String>> customParams)Creates a new authorisation request with extension and custom parameters.AuthorizationResponse(URI redirectURI, com.nimbusds.jwt.JWT jwtResponse, ResponseMode rm)Creates a new JSON Web Token (JWT) secured authorisation response.AuthorizationResponse(URI redirectURI, State state, ResponseMode rm)Creates a new authorisation response.AuthorizationSuccessResponse(URI redirectURI, com.nimbusds.jwt.JWT jwtResponse, ResponseMode rm)Creates a new JSON Web Token (JWT) secured authorisation success response.AuthorizationSuccessResponse(URI redirectURI, AuthorizationCode code, AccessToken accessToken, State state, ResponseMode rm)Creates a new authorisation success response.GeneralException(String message, ErrorObject error, ClientID clientID, URI redirectURI, ResponseMode responseMode, State state)Creates a new general exception.GeneralException(String message, ErrorObject error, ClientID clientID, URI redirectURI, ResponseMode responseMode, State state, Throwable cause)Creates a new general exception.ParseException(String message, ErrorObject error, ClientID clientID, URI redirectURI, ResponseMode responseMode, State state)Creates a new parse exception.ParseException(String message, ErrorObject error, ClientID clientID, URI redirectURI, ResponseMode responseMode, State state, Throwable cause)Creates a new parse exception. -
Uses of ResponseMode in com.nimbusds.oauth2.sdk.as
Methods in com.nimbusds.oauth2.sdk.as that return types with arguments of type ResponseMode Modifier and Type Method Description List<ResponseMode>AuthorizationServerMetadata. getResponseModes()Gets the supported response mode values.Method parameters in com.nimbusds.oauth2.sdk.as with type arguments of type ResponseMode Modifier and Type Method Description voidAuthorizationServerMetadata. setResponseModes(List<ResponseMode> rms)Sets the supported response mode values. -
Uses of ResponseMode in com.nimbusds.openid.connect.sdk
Methods in com.nimbusds.openid.connect.sdk that return ResponseMode Modifier and Type Method Description ResponseModeAuthenticationSuccessResponse. impliedResponseMode()Methods in com.nimbusds.openid.connect.sdk with parameters of type ResponseMode Modifier and Type Method Description AuthenticationRequest.BuilderAuthenticationRequest.Builder. responseMode(ResponseMode rm)Sets the response mode.Constructors in com.nimbusds.openid.connect.sdk with parameters of type ResponseMode Constructor Description AuthenticationErrorResponse(URI redirectURI, com.nimbusds.jwt.JWT jwtResponse, ResponseMode rm)Creates a new JSON Web Token (JWT) secured OpenID Connect authentication error response.AuthenticationErrorResponse(URI redirectURI, ErrorObject error, State state, ResponseMode rm)Creates a new OpenID Connect authentication error response.AuthenticationRequest(URI uri, ResponseType rt, ResponseMode rm, Scope scope, ClientID clientID, URI redirectURI, State state, Nonce nonce, Display display, Prompt prompt, int maxAge, List<com.nimbusds.langtag.LangTag> uiLocales, List<com.nimbusds.langtag.LangTag> claimsLocales, com.nimbusds.jwt.JWT idTokenHint, String loginHint, List<ACR> acrValues, ClaimsRequest claims, String purpose, com.nimbusds.jwt.JWT requestObject, URI requestURI, CodeChallenge codeChallenge, CodeChallengeMethod codeChallengeMethod, List<URI> resources, boolean includeGrantedScopes, Map<String,List<String>> customParams)Creates a new OpenID Connect authentication request with extension and custom parameters.AuthenticationSuccessResponse(URI redirectURI, com.nimbusds.jwt.JWT jwtResponse, ResponseMode rm)Creates a new JSON Web Token (JWT) secured OpenID Connect authentication success response.AuthenticationSuccessResponse(URI redirectURI, AuthorizationCode code, com.nimbusds.jwt.JWT idToken, AccessToken accessToken, State state, State sessionState, ResponseMode rm)Creates a new OpenID Connect authentication success response.
-