Class JwtAuthorizationRequest
java.lang.Object
io.jans.as.server.model.authorize.JwtAuthorizationRequest
- Version:
- December 15, 2021
- Author:
- Javier Rojas Blum
-
Constructor Summary
ConstructorsConstructorDescriptionJwtAuthorizationRequest
(io.jans.as.model.configuration.AppConfiguration appConfiguration, io.jans.as.model.crypto.AbstractCryptoProvider cryptoProvider, String encodedJwt, io.jans.as.common.model.registration.Client client) -
Method Summary
Modifier and TypeMethodDescriptionstatic JwtAuthorizationRequest
createJwtRequest
(String request, String requestUri, io.jans.as.common.model.registration.Client client, RedirectUriResponse redirectUriResponse, io.jans.as.model.crypto.AbstractCryptoProvider cryptoProvider, io.jans.as.model.configuration.AppConfiguration appConfiguration) getAud()
io.jans.as.model.common.Display
getExp()
getIat()
getIss()
org.json.JSONObject
getJti()
getKeyId()
getNbf()
io.jans.as.model.jwt.Jwt
getNonce()
List<io.jans.as.model.common.Prompt>
io.jans.as.model.common.ResponseMode
List<io.jans.as.model.common.ResponseType>
getState()
getType()
void
setDpopJkt
(String dpopJkt) void
validate()
static void
validateExp
(Integer exp) static void
validateNbf
(Integer nbf) static void
validateRequestUri
(String requestUri, io.jans.as.common.model.registration.Client client, io.jans.as.model.configuration.AppConfiguration appConfiguration, String state) static void
validateRequestUri
(String requestUri, io.jans.as.common.model.registration.Client client, io.jans.as.model.configuration.AppConfiguration appConfiguration, String state, io.jans.as.model.error.ErrorResponseFactory errorResponseFactory)
-
Constructor Details
-
JwtAuthorizationRequest
public JwtAuthorizationRequest(io.jans.as.model.configuration.AppConfiguration appConfiguration, io.jans.as.model.crypto.AbstractCryptoProvider cryptoProvider, String encodedJwt, io.jans.as.common.model.registration.Client client) throws io.jans.as.model.exception.InvalidJwtException - Throws:
io.jans.as.model.exception.InvalidJwtException
-
-
Method Details
-
getEncodedJwt
-
getJsonPayload
public org.json.JSONObject getJsonPayload() -
getNestedJwt
public io.jans.as.model.jwt.Jwt getNestedJwt() -
getEncryptionAlgorithm
-
getKeyId
-
getType
-
getAlgorithm
-
getResponseTypes
-
getClientId
-
getScopes
-
getRedirectUri
-
getNonce
-
getState
-
getDisplay
public io.jans.as.model.common.Display getDisplay() -
getPrompts
-
getUserInfoMember
-
getIdTokenMember
-
getExp
-
getAud
-
getPayload
-
getIss
-
getIat
-
getNbf
-
getJti
-
getClientNotificationToken
-
getAcrValues
-
getLoginHintToken
-
getIdTokenHint
-
getLoginHint
-
getBindingMessage
-
getUserCode
-
getRequestedExpiry
-
getResponseMode
public io.jans.as.model.common.ResponseMode getResponseMode() -
getCodeChallenge
-
getCodeChallengeMethod
-
getDpopJkt
-
setDpopJkt
-
createJwtRequest
public static JwtAuthorizationRequest createJwtRequest(String request, String requestUri, io.jans.as.common.model.registration.Client client, RedirectUriResponse redirectUriResponse, io.jans.as.model.crypto.AbstractCryptoProvider cryptoProvider, io.jans.as.model.configuration.AppConfiguration appConfiguration) -
validate
public void validate() throws io.jans.as.model.exception.InvalidJwtException- Throws:
io.jans.as.model.exception.InvalidJwtException
-
validateExp
- Throws:
io.jans.as.model.exception.InvalidJwtException
-
validateNbf
- Throws:
io.jans.as.model.exception.InvalidJwtException
-
validateRequestUri
-
validateRequestUri
-