Package io.jans.as.client
Class RegisterRequest
java.lang.Object
io.jans.as.client.BaseRequest
io.jans.as.client.RegisterRequest
Represents a register request to send to the authorization server.
- Version:
- May 10, 2022
- Author:
- Javier Rojas Blum, Yuriy Zabrovarnyy
-
Constructor Summary
ConstructorsConstructorDescriptionCommon constructor.RegisterRequest
(io.jans.as.model.register.ApplicationType applicationType, String clientName, List<String> redirectUris) Constructs a request for Client RegistrationRegisterRequest
(String registrationAccessToken) Constructs a request for Client Read -
Method Summary
Modifier and TypeMethodDescriptionvoid
addCustomAttribute
(String name, String value) static List<io.jans.as.model.common.GrantType>
extractGrantTypes
(org.json.JSONObject requestObject) static RegisterRequest
static RegisterRequest
fromJson
(org.json.JSONObject requestObject) Returns the Client-specific access token expiration.io.jans.as.model.crypto.signature.SignatureAlgorithm
List<io.jans.as.model.common.AuthenticationMethod>
io.jans.as.model.register.ApplicationType
Returns the application type.Gets authorization details types.io.jans.as.model.crypto.encryption.KeyEncryptionAlgorithm
io.jans.as.model.crypto.encryption.BlockEncryptionAlgorithm
io.jans.as.model.crypto.signature.SignatureAlgorithm
Returns authorized JavaScript origins.io.jans.as.model.crypto.signature.AsymmetricSignatureAlgorithm
Returns backchannel logout uriio.jans.as.model.common.BackchannelTokenDeliveryMode
Returns claims redirect URIs.Returns the name of the Client to be presented to the user.getClientName
(String languageTag) Returns the name of the Client to be presented to the user represented in a language and script.Returns a URL of the home page of the Client.getClientUri
(String languageTag) Returns a URL of the home page of the Client represented in a language and script.Gets consent gathering script dnsReturns a list of e-mail addresses for people allowed to administer the information for this Client.Gets custom attribute map copy.Returns the Default requested Authentication Context Class Reference values.Returns the Default Maximum Authentication Age.Gets dpopBoundAccessTokenEvidence is a set of claims generated by an attester to be appraised by a verifier.Gets logout session required.Gets logout uri.List<io.jans.as.model.common.GrantType>
Returns a list of the OAuth 2.0 grant types that the Client is declaring that it will restrict itself to using.Returns groupsio.jans.as.model.crypto.encryption.KeyEncryptionAlgorithm
Returns the JWE alg algorithm (JWA) required for encrypting the ID Token issued to this client_id.io.jans.as.model.crypto.encryption.BlockEncryptionAlgorithm
Returns the JWE enc algorithm (JWA) required for symmetric encryption of the ID Token issued to this client_id.Gets id_token lifetime in secondsio.jans.as.model.crypto.signature.SignatureAlgorithm
Returns th JWS alg algorithm (JWA) required for the ID Token issued to this client_id.Returns the URI using the https: scheme that the authorization server can call to initiate a login at the client.io.jans.as.model.crypto.encryption.KeyEncryptionAlgorithm
Returns the JWE alg algorithm (JWA) required for encrypting Introspection responses.io.jans.as.model.crypto.encryption.BlockEncryptionAlgorithm
Returns the JWE enc algorithm (JWA) required for symmetric encryption of Introspection responses.Gets introspection script dnsio.jans.as.model.crypto.signature.SignatureAlgorithm
Returns the JWS alg algorithm (JWA) required for Introspection responses.org.json.JSONObject
org.json.JSONObject
getJwks()
Client's JSON Web Key Set (JWK) document, passed by value.Returns the URL for the Client's JSON Web Key Set (JWK) document containing key(s) that are used for signing requests to the OP.Gets client life timeReturns an URL that references a logo for the Client application.getLogoUri
(String languageTag) Returns a URL that references a logo for the Client application in a language and script.io.jans.as.model.crypto.signature.SignatureAlgorithm
Returns the JWS alg algorithm (JWA) required for Logout Status JWT.Gets minimum acr levelGets minimum acr level auto resolveGets minimum acr priority listReturns a collection of parameters of the register request.void
getParameters
(BiFunction<String, Object, Void> function) Returns a URL that the Relying Party Client provides to the End-User to read about how the profile data will be used.getPolicyUri
(String languageTag) Returns a URL that the Relying Party Client provides to the End-User to read about how the profile data will be used in a language and script.Gets post authn script dnsReturns the URLs supplied by the RP to request that the user be redirected to this location after a logout has been performed.Returns a list of redirection URIs.Returns the Registration Access Token to authorize Client Read requests.io.jans.as.model.crypto.encryption.KeyEncryptionAlgorithm
Returns the JWE alg algorithm (JWA) the RP is declaring that it may use for encrypting Request Objects sent to the OP.io.jans.as.model.crypto.encryption.BlockEncryptionAlgorithm
Returns the JWE enc algorithm (JWA) the RP is declaring that it may use for encrypting Request Objects sent to the OP.io.jans.as.model.crypto.signature.SignatureAlgorithm
Returns the JWS alg algorithm (JWA) that must be required by the Authorization Server.Returns a list of request_uri values that are pre-registered by the Client for use at the Authorization Server.List<io.jans.as.model.common.ResponseType>
Returns a list of the OAuth 2.0 response_type values that the Client is declaring that it will restrict itself to using.Gets ropc script dnsGets rpt claims script dnsgetScope()
Returns the URL using the https scheme to be used in calculating Pseudonymous Identifiers by the OP.Returns a unique identifier string (UUID) assigned by the client developer or software publisher used by registration endpoints to identify the client software to be dynamically registered.Returns a software statement containing client metadata values about the client software as claims.Returns a version identifier string for the client software identified by "software_id".Gets spontaneous scope script dnsio.jans.as.model.common.SubjectType
Returns the Subject Type.io.jans.as.model.common.AuthenticationMethod
Returns the requested authentication method for the Token Endpoint.io.jans.as.model.crypto.signature.SignatureAlgorithm
Returns the Requested Client Authentication method for the Token Endpoint.Gets token exchange script dnsReturns a URL that the Relying Party Client provides to the End-User to read about the Relying Party's terms of service.Returns a URL that the Relying Party Client provides to the End-User to read about the Relying Party's terms of service in a language and script.io.jans.as.model.crypto.encryption.KeyEncryptionAlgorithm
Returns the JWE alg algorithm (JWA) required for encrypting Transaction Token responses.io.jans.as.model.crypto.encryption.BlockEncryptionAlgorithm
Returns the JWE enc algorithm (JWA) required for symmetric encryption of Transaction Tokens responses.Gets tx_token lifetime in secondsio.jans.as.model.crypto.signature.SignatureAlgorithm
Returns the JWS alg algorithm (JWA) required for Transaction Token responses.Gets update token script dnsio.jans.as.model.crypto.encryption.KeyEncryptionAlgorithm
Returns the JWE alg algorithm (JWA) required for encrypting UserInfo responses.io.jans.as.model.crypto.encryption.BlockEncryptionAlgorithm
Returns the JWE enc algorithm (JWA) required for symmetric encryption of UserInfo responses.io.jans.as.model.crypto.signature.SignatureAlgorithm
Returns the JWS alg algorithm (JWA) required for UserInfo responses.boolean
void
setAccessToken
(String registrationAccessToken) Sets the Registration Access Token to authorize Client Read requests.void
setAccessTokenAsJwt
(Boolean accessTokenAsJwt) void
setAccessTokenLifetime
(Integer accessTokenLifetime) Sets the Client-specific access token expiration (in seconds).void
setAccessTokenSigningAlg
(io.jans.as.model.crypto.signature.SignatureAlgorithm accessTokenSigningAlg) void
setAdditionalAudience
(List<String> additionalAudience) void
setAdditionalTokenEndpointAuthMethods
(List<io.jans.as.model.common.AuthenticationMethod> additionalTokenEndpointAuthMethods) void
setAllowSpontaneousScopes
(Boolean allowSpontaneousScopes) void
setApplicationType
(io.jans.as.model.register.ApplicationType applicationType) Sets the application type.void
setAuthorizationDetailsTypes
(List<String> authorizationDetailsTypes) Sets authorization details typesvoid
setAuthorizationEncryptedResponseAlg
(io.jans.as.model.crypto.encryption.KeyEncryptionAlgorithm authorizationEncryptedResponseAlg) void
setAuthorizationEncryptedResponseEnc
(io.jans.as.model.crypto.encryption.BlockEncryptionAlgorithm authorizationEncryptedResponseEnc) void
setAuthorizationSignedResponseAlg
(io.jans.as.model.crypto.signature.SignatureAlgorithm authorizationSignedResponseAlg) void
setAuthorizedAcrValues
(List<String> authorizedAcrValues) void
setAuthorizedOrigins
(List<String> authorizedOrigins) Sets authorized JavaScript origins.void
setBackchannelAuthenticationRequestSigningAlg
(io.jans.as.model.crypto.signature.AsymmetricSignatureAlgorithm backchannelAuthenticationRequestSigningAlg) void
setBackchannelClientNotificationEndpoint
(String backchannelClientNotificationEndpoint) void
setBackchannelLogoutSessionRequired
(Boolean backchannelLogoutSessionRequired) void
setBackchannelLogoutUri
(String backchannelLogoutUri) Sets backchannel logout urivoid
setBackchannelTokenDeliveryMode
(io.jans.as.model.common.BackchannelTokenDeliveryMode backchannelTokenDeliveryMode) void
setBackchannelUserCodeParameter
(Boolean backchannelUserCodeParameter) void
void
setClaimsRedirectUris
(List<String> claimsRedirectUris) Sets claims redirect URIs.void
setClientName
(String clientName) Sets the name of the Client to be presented to the user.void
setClientName
(String clientName, Locale locale) Sets the name of the Client to be presented to the user represented in a language and script.void
setClientUri
(String clientUri) Sets a URL of the home page of the Client.void
setClientUri
(String clientUri, Locale locale) Sets a URL of the home page of the Client represented in a language and script.void
setConsentGatheringScriptDns
(List<String> consentGatheringScriptDns) Sets consent gathering script dnsvoid
setContacts
(List<String> contacts) Sets a list of e-mail addresses for people allowed to administer the information for this Client.void
setDefaultAcrValues
(List<String> defaultAcrValues) Sets the Default requested Authentication Context Class Reference values.void
setDefaultMaxAge
(Integer defaultMaxAge) Sets the Default Maximum Authentication Age.void
setDefaultPromptLogin
(Boolean defaultPromptLogin) void
setDpopBoundAccessToken
(Boolean dpopBoundAccessToken) Sets dpopBoundAccessTokenvoid
setEvidence
(String evidence) Evidence is a set of claims generated by an attester to be appraised by a verifier.void
setFrontChannelLogoutSessionRequired
(Boolean frontChannelLogoutSessionRequired) Sets front channel logout session required.void
setFrontChannelLogoutUri
(String logoutUri) Sets logout urivoid
setGrantTypes
(List<io.jans.as.model.common.GrantType> grantTypes) Sets a list of the OAuth 2.0 grant types that the Client is declaring that it will restrict itself to using.void
Sets groupsvoid
setHttpMethod
(String httpMethod) void
setIdTokenEncryptedResponseAlg
(io.jans.as.model.crypto.encryption.KeyEncryptionAlgorithm idTokenEncryptedResponseAlg) Sets the JWE alg algorithm (JWA) required for encrypting the ID Token issued to this client_id.void
setIdTokenEncryptedResponseEnc
(io.jans.as.model.crypto.encryption.BlockEncryptionAlgorithm idTokenEncryptedResponseEnc) Sets the JWE enc algorithm (JWA) required for symmetric encryption of the ID Token issued to this client_id.void
setIdTokenLifetime
(Integer idTokenLifetime) Sets id_token lifetime in secondsvoid
setIdTokenSignedResponseAlg
(io.jans.as.model.crypto.signature.SignatureAlgorithm idTokenSignedResponseAlg) Sets the JWS alg algorithm (JWA) required for the ID Token issued to this client_id.void
setIdTokenTokenBindingCnf
(String idTokenTokenBindingCnf) void
setInitiateLoginUri
(String initiateLoginUri) Sets the URI using the https: scheme that the authorization server can call to initiate a login at the client.void
setIntrospectionEncryptedResponseAlg
(io.jans.as.model.crypto.encryption.KeyEncryptionAlgorithm introspectionEncryptedResponseAlg) Sets the JWE alg algorithm (JWA) required for encrypting Introspection responses.void
setIntrospectionEncryptedResponseEnc
(io.jans.as.model.crypto.encryption.BlockEncryptionAlgorithm introspectionEncryptedResponseEnc) Sets the JWE enc algorithm (JWA) required for symmetric encryption of Introspection responses.void
setIntrospectionScriptDns
(List<String> introspectionScriptDns) Sets introspection script dnsvoid
setIntrospectionSignedResponseAlg
(io.jans.as.model.crypto.signature.SignatureAlgorithm introspectionSignedResponseAlg) Sets the JWS alg algorithm (JWA) required for Introspection responses.void
setJsonObject
(org.json.JSONObject jsonObject) void
Client's JSON Web Key Set (JWK) document, passed by value.void
setJwksUri
(String jwksUri) Sets the URL for the Client's JSON Web Key Set (JWK) document containing key(s) that are used for signing requests to the OP.void
setJwtRequestAsString
(String jwtRequestAsString) void
setKeepClientAuthorizationAfterExpiration
(Boolean keepClientAuthorizationAfterExpiration) void
setLifetime
(Integer lifetime) Sets client life timevoid
setLogoUri
(String logoUri) Sets a URL that references a logo for the Client application.void
setLogoUri
(String logoUri, Locale locale) Sets a URL that references a logo for the Client application represented in a language and script.setLogoutStatusJwtSignedResponseAlg
(io.jans.as.model.crypto.signature.SignatureAlgorithm logoutStatusJwtSignedResponseAlg) Sets the JWS alg algorithm (JWA) required for Logout Status JWT.void
setMinimumAcrLevel
(Integer minimumAcrLevel) Sets minimum acr levelvoid
setMinimumAcrLevelAutoresolve
(Boolean minimumAcrLevelAutoresolve) Sets minimum acr level auto resolvevoid
setMinimumAcrPriorityList
(List<String> minimumAcrPriorityList) Sets minimum acr priority listvoid
setParLifetime
(Integer parLifetime) void
setPolicyUri
(String policyUri) Sets a URL that the Relying Party Client provides to the End-User to read about how the profile data will be used.void
setPolicyUri
(String policyUri, Locale locale) Sets a URL that the Relying Party Client provides to the End-User to read about how the profile data will be used in a language and script.void
setPostAuthnScriptDns
(List<String> postAuthnScriptDns) Sets post authn script dnsvoid
setPostLogoutRedirectUris
(List<String> postLogoutRedirectUris) Sets the URLs supplied by the RP to request that the user be redirected to this location after a logout has been performed.void
setRedirectUris
(List<String> redirectUris) Sets a list of redirection URIs.void
setRedirectUrisRegex
(String redirectUrisRegex) void
setRequestObjectEncryptionAlg
(io.jans.as.model.crypto.encryption.KeyEncryptionAlgorithm requestObjectEncryptionAlg) Sets the JWE alg algorithm (JWA) the RP is declaring that it may use for encrypting Request Objects sent to the OP.void
setRequestObjectEncryptionEnc
(io.jans.as.model.crypto.encryption.BlockEncryptionAlgorithm requestObjectEncryptionEnc) Sets the JWE enc algorithm (JWA) the RP is declaring that it may use for encrypting Request Objects sent to the OP.void
setRequestObjectSigningAlg
(io.jans.as.model.crypto.signature.SignatureAlgorithm requestObjectSigningAlg) Sets the JWS alg algorithm (JWA) that must be required by the Authorization Server.void
setRequestUris
(List<String> requestUris) Sets a list of request_uri values that are pre-registered by the Client for use at the Authorization Server.void
setRequirePar
(Boolean requirePar) void
setRequirePkce
(Boolean requirePkce) void
setResponseTypes
(List<io.jans.as.model.common.ResponseType> responseTypes) Sets a list of the OAuth 2.0 response_type values that the Client is declaring that it will restrict itself to using.void
setResponseTypesStrings
(List<String> responseTypes) void
setRopcScriptDns
(List<String> ropcScriptDns) Sets ropc script dnsvoid
setRptAsJwt
(Boolean rptAsJwt) void
setRptClaimsScriptDns
(List<String> rptClaimsScriptDns) Sets rpt claims script dnsvoid
setRunIntrospectionScriptBeforeJwtCreation
(Boolean runIntrospectionScriptBeforeJwtCreation) void
void
setSectorIdentifierUri
(String sectorIdentifierUri) Sets the URL using the https scheme to be used in calculating Pseudonymous Identifiers by the OP.void
setSoftwareId
(String softwareId) Sets a unique identifier string (UUID) assigned by the client developer or software publisher used by registration endpoints to identify the client software to be dynamically registered.void
setSoftwareStatement
(String softwareStatement) Sets a software statement containing client metadata values about the client software as claims.void
setSoftwareVersion
(String softwareVersion) Sets a version identifier string for the client software identified by "software_id".void
setSpontaneousScopes
(List<String> spontaneousScopes) void
setSpontaneousScopeScriptDns
(List<String> spontaneousScopeScriptDns) Sets spontaneous scope script dnsvoid
setSubjectIdentifierAttribute
(String subjectIdentifierAttribute) void
setSubjectType
(io.jans.as.model.common.SubjectType subjectType) Sets the Subject Type.void
setTlsClientAuthSubjectDn
(String tlsClientAuthSubjectDn) void
setTokenEndpointAuthMethod
(io.jans.as.model.common.AuthenticationMethod tokenEndpointAuthMethod) Sets the requested authentication method for the Token Endpoint.void
setTokenEndpointAuthSigningAlg
(io.jans.as.model.crypto.signature.SignatureAlgorithm tokenEndpointAuthSigningAlg) Sets the Requested Client Authentication method for the Token Endpoint.setTokenExchangeScriptDns
(List<String> tokenExchangeScriptDns) Sets token exchange script dnsvoid
Sets a URL that the Relying Party Client provides to the End-User to read about the Relying Party's terms of service.void
Sets a URL that the Relying Party Client provides to the End-User to read about the Relying Party's terms of service in a language and script.void
setTxTokenEncryptedResponseAlg
(io.jans.as.model.crypto.encryption.KeyEncryptionAlgorithm txTokenEncryptedResponseAlg) Sets the JWE alg algorithm (JWA) required for encrypting Transaction Token responses.void
setTxTokenEncryptedResponseEnc
(io.jans.as.model.crypto.encryption.BlockEncryptionAlgorithm txTokenEncryptedResponseEnc) Sets the JWE enc algorithm (JWA) required for symmetric encryption of Transaction Token responses.void
setTxTokenLifetime
(Integer txTokenLifetime) Sets tx_token lifetime in secondsvoid
setTxTokenSignedResponseAlg
(io.jans.as.model.crypto.signature.SignatureAlgorithm txTokenSignedResponseAlg) Sets the JWS alg algorithm (JWA) required for Transaction Token responses.void
setUpdateTokenScriptDns
(List<String> updateTokenScriptDns) Sets update token script dnsvoid
setUserInfoEncryptedResponseAlg
(io.jans.as.model.crypto.encryption.KeyEncryptionAlgorithm userInfoEncryptedResponseAlg) Sets the JWE alg algorithm (JWA) required for encrypting UserInfo responses.void
setUserInfoEncryptedResponseEnc
(io.jans.as.model.crypto.encryption.BlockEncryptionAlgorithm userInfoEncryptedResponseEnc) Sets the JWE enc algorithm (JWA) required for symmetric encryption of UserInfo responses.void
setUserInfoSignedResponseAlg
(io.jans.as.model.crypto.signature.SignatureAlgorithm userInfoSignedResponseAlg) Sets the JWS alg algorithm (JWA) required for UserInfo responses.sign
(io.jans.as.model.crypto.signature.SignatureAlgorithm signatureAlgorithm, String kid, io.jans.as.model.crypto.AuthCryptoProvider cryptoProvider) signWithSharedKey
(io.jans.as.model.crypto.signature.SignatureAlgorithm signatureAlgorithm, String sharedKey, io.jans.as.model.crypto.AuthCryptoProvider cryptoProvider) Methods inherited from class io.jans.as.client.BaseRequest
addCustomParameter, getAuthenticationMethod, getAuthorizationMethod, getAuthPassword, getAuthUsername, getCredentials, getCustomParameters, getEncodedCredentials, getEncodedCredentials, getMediaType, hasCredentials, setAuthenticationMethod, setAuthorizationMethod, setAuthPassword, setAuthUsername, setContentType, setMediaType
-
Constructor Details
-
RegisterRequest
public RegisterRequest()Common constructor. -
RegisterRequest
public RegisterRequest(io.jans.as.model.register.ApplicationType applicationType, String clientName, List<String> redirectUris) Constructs a request for Client Registration- Parameters:
applicationType
- The application type.clientName
- The Client NameredirectUris
- A list of redirection URIs.
-
RegisterRequest
Constructs a request for Client Read- Parameters:
registrationAccessToken
- The Registration Access Token.
-
-
Method Details
-
getContentType
- Overrides:
getContentType
in classBaseRequest
-
getTlsClientAuthSubjectDn
-
setTlsClientAuthSubjectDn
-
getAllowSpontaneousScopes
-
setAllowSpontaneousScopes
-
getSpontaneousScopes
-
setSpontaneousScopes
-
getAdditionalAudience
-
setAdditionalAudience
-
getRunIntrospectionScriptBeforeJwtCreation
-
setRunIntrospectionScriptBeforeJwtCreation
public void setRunIntrospectionScriptBeforeJwtCreation(Boolean runIntrospectionScriptBeforeJwtCreation) -
getKeepClientAuthorizationAfterExpiration
-
setKeepClientAuthorizationAfterExpiration
public void setKeepClientAuthorizationAfterExpiration(Boolean keepClientAuthorizationAfterExpiration) -
getRegistrationAccessToken
Returns the Registration Access Token to authorize Client Read requests.- Returns:
- The Registration Access Token.
-
setAccessToken
Sets the Registration Access Token to authorize Client Read requests.- Parameters:
registrationAccessToken
- The Registration Access Token.
-
getBackchannelLogoutUri
Returns backchannel logout uri- Returns:
- backchannel logout uri
-
setBackchannelLogoutUri
Sets backchannel logout uri- Parameters:
backchannelLogoutUri
- backchannel logout uri
-
getBackchannelLogoutSessionRequired
-
setBackchannelLogoutSessionRequired
-
getFrontChannelLogoutUri
Gets logout uri.- Returns:
- logout uri
-
setFrontChannelLogoutUri
Sets logout uri- Parameters:
logoutUri
- logout uri
-
getFrontChannelLogoutSessionRequired
Gets logout session required.- Returns:
- logout session required
-
setFrontChannelLogoutSessionRequired
Sets front channel logout session required.- Parameters:
frontChannelLogoutSessionRequired
- front channel logout session required
-
getRedirectUris
Returns a list of redirection URIs.- Returns:
- The redirection URIs.
-
setRedirectUris
Sets a list of redirection URIs.- Parameters:
redirectUris
- The redirection URIs.
-
getClaimsRedirectUris
Returns claims redirect URIs.- Returns:
- claims redirect URIs
-
setClaimsRedirectUris
Sets claims redirect URIs.- Parameters:
claimsRedirectUris
- claims redirect URIs.
-
getResponseTypes
Returns a list of the OAuth 2.0 response_type values that the Client is declaring that it will restrict itself to using.- Returns:
- A list of response types.
-
setResponseTypes
Sets a list of the OAuth 2.0 response_type values that the Client is declaring that it will restrict itself to using. If omitted, the default is that the Client will use only the code response type.- Parameters:
responseTypes
- A list of response types.
-
getResponseTypesStrings
-
setResponseTypesStrings
-
getGrantTypes
Returns a list of the OAuth 2.0 grant types that the Client is declaring that it will restrict itself to using.- Returns:
- A list of grant types.
-
setGrantTypes
Sets a list of the OAuth 2.0 grant types that the Client is declaring that it will restrict itself to using.- Parameters:
grantTypes
- A list of grant types.
-
getApplicationType
public io.jans.as.model.register.ApplicationType getApplicationType()Returns the application type.- Returns:
- The application type.
-
setApplicationType
public void setApplicationType(io.jans.as.model.register.ApplicationType applicationType) Sets the application type. The default if not specified is web.- Parameters:
applicationType
- The application type.
-
getIdTokenTokenBindingCnf
-
setIdTokenTokenBindingCnf
-
getContacts
Returns a list of e-mail addresses for people allowed to administer the information for this Client.- Returns:
- A list of e-mail addresses.
-
setContacts
Sets a list of e-mail addresses for people allowed to administer the information for this Client.- Parameters:
contacts
- A list of e-mail addresses.
-
getAuthorizationDetailsTypes
Gets authorization details types.- Returns:
- authorization details types
-
setAuthorizationDetailsTypes
Sets authorization details types- Parameters:
authorizationDetailsTypes
- authorization details types
-
getClientName
Returns the name of the Client to be presented to the user.- Returns:
- The name of the Client to be presented to the user.
-
getClientName
Returns the name of the Client to be presented to the user represented in a language and script.- Parameters:
languageTag
- Language tag- Returns:
- The name of the Client to be presented to the user.
-
getClientNameLanguageTags
-
setClientName
Sets the name of the Client to be presented to the user.- Parameters:
clientName
- The name of the Client to be presented to the user.
-
setClientName
Sets the name of the Client to be presented to the user represented in a language and script.- Parameters:
clientName
- The name of the Client to be presented to the user.locale
- The locale
-
getLogoUri
Returns an URL that references a logo for the Client application.- Returns:
- The URL that references a logo for the Client application.
-
getLogoUri
Returns a URL that references a logo for the Client application in a language and script.- Parameters:
languageTag
- Language tag- Returns:
- The URL that references a logo for the Client application in a language and script.
-
getLogoUriLanguageTags
-
setLogoUri
Sets a URL that references a logo for the Client application.- Parameters:
logoUri
- The URL that references a logo for the Client application.
-
setLogoUri
Sets a URL that references a logo for the Client application represented in a language and script.- Parameters:
logoUri
- The URL that references a logo for the Client application represented in a language and script.locale
- The locale
-
getClientUri
Returns a URL of the home page of the Client.- Returns:
- The URL of the home page of the Client.
-
getClientUriLanguageTags
-
getClientUri
Returns a URL of the home page of the Client represented in a language and script.- Parameters:
languageTag
- Language tag- Returns:
- The URL of the home page of the Client represented in a language and script.
-
setClientUri
Sets a URL of the home page of the Client.- Parameters:
clientUri
- The URL of the home page of the Client.
-
setClientUri
Sets a URL of the home page of the Client represented in a language and script.- Parameters:
clientUri
- The URL of the home page of the Client represented in a language and script.locale
- The locale
-
getPolicyUri
Returns a URL that the Relying Party Client provides to the End-User to read about how the profile data will be used.- Returns:
- The policy URL.
-
getPolicyUri
Returns a URL that the Relying Party Client provides to the End-User to read about how the profile data will be used in a language and script.- Parameters:
languageTag
- Language tag- Returns:
- The policy URL.
-
getPolicyUriLanguageTags
-
setPolicyUri
Sets a URL that the Relying Party Client provides to the End-User to read about how the profile data will be used.- Parameters:
policyUri
- The policy URL.
-
setPolicyUri
Sets a URL that the Relying Party Client provides to the End-User to read about how the profile data will be used in a language and script.- Parameters:
policyUri
- The policy URL.locale
- The locale
-
getTosUri
Returns a URL that the Relying Party Client provides to the End-User to read about the Relying Party's terms of service.- Returns:
- The tems of service URL.
-
getTosUri
Returns a URL that the Relying Party Client provides to the End-User to read about the Relying Party's terms of service in a language and script.- Parameters:
languageTag
- Language tag- Returns:
- The terms of service URL.
-
getTosUriLanguageTags
-
setTosUri
Sets a URL that the Relying Party Client provides to the End-User to read about the Relying Party's terms of service.- Parameters:
tosUri
- The term of service URL.
-
setTosUri
Sets a URL that the Relying Party Client provides to the End-User to read about the Relying Party's terms of service in a language and script.- Parameters:
locale
- The localetosUri
- The term of service URL.
-
getJwksUri
Returns the URL for the Client's JSON Web Key Set (JWK) document containing key(s) that are used for signing requests to the OP. The JWK Set may also contain the Client's encryption keys(s) that are used by the OP to encrypt the responses to the Client. When both signing and encryption keys are made available, a use (Key Use) parameter value is required for all keys in the document to indicate each key's intended usage.- Returns:
- The URL for the Client's JSON Web Key Set (JWK) document.
-
setJwksUri
Sets the URL for the Client's JSON Web Key Set (JWK) document containing key(s) that are used for signing requests to the OP. The JWK Set may also contain the Client's encryption keys(s) that are used by the OP to encrypt the responses to the Client. When both signing and encryption keys are made available, a use (Key Use) parameter value is required for all keys in the document to indicate each key's intended usage.- Parameters:
jwksUri
- The URL for the Client's JSON Web Key Set (JWK) document.
-
getJwks
Client's JSON Web Key Set (JWK) document, passed by value. The semantics of the jwks parameter are the same as the jwks_uri parameter, other than that the JWK Set is passed by value, rather than by reference. This parameter is intended only to be used by Clients that, for some reason, are unable to use the jwks_uri parameter, for instance, by native applications that might not have a location to host the contents of the JWK Set. If a Client can use jwks_uri, it must not use jwks. One significant downside of jwks is that it does not enable key rotation (which jwks_uri does, as described in Section 10 of OpenID Connect Core 1.0). The jwks_uri and jwks parameters must not be used together.- Returns:
- The Client's JSON Web Key Set (JWK) document.
-
setJwks
Client's JSON Web Key Set (JWK) document, passed by value. The semantics of the jwks parameter are the same as the jwks_uri parameter, other than that the JWK Set is passed by value, rather than by reference. This parameter is intended only to be used by Clients that, for some reason, are unable to use the jwks_uri parameter, for instance, by native applications that might not have a location to host the contents of the JWK Set. If a Client can use jwks_uri, it must not use jwks. One significant downside of jwks is that it does not enable key rotation (which jwks_uri does, as described in Section 10 of OpenID Connect Core 1.0). The jwks_uri and jwks parameters must not be used together.- Parameters:
jwks
- The Client's JSON Web Key Set (JWK) document.
-
getSectorIdentifierUri
Returns the URL using the https scheme to be used in calculating Pseudonymous Identifiers by the OP. The URL references a file with a single JSON array of redirect_uri values.- Returns:
- The sector identifier URL.
-
setSectorIdentifierUri
Sets the URL using the https scheme to be used in calculating Pseudonymous Identifiers by the OP. The URL references a file with a single JSON array of redirect_uri values.- Parameters:
sectorIdentifierUri
- The sector identifier URL.
-
getSubjectType
public io.jans.as.model.common.SubjectType getSubjectType()Returns the Subject Type. Valid types include pairwise and public.- Returns:
- The Subject Type.
-
setSubjectType
public void setSubjectType(io.jans.as.model.common.SubjectType subjectType) Sets the Subject Type. Valid types include pairwise and public.- Parameters:
subjectType
- The Subject Type.
-
getSubjectIdentifierAttribute
-
setSubjectIdentifierAttribute
-
getRptAsJwt
-
setRptAsJwt
-
getAccessTokenAsJwt
-
setAccessTokenAsJwt
-
getRequirePkce
-
setRequirePkce
-
getAccessTokenSigningAlg
public io.jans.as.model.crypto.signature.SignatureAlgorithm getAccessTokenSigningAlg() -
setAccessTokenSigningAlg
public void setAccessTokenSigningAlg(io.jans.as.model.crypto.signature.SignatureAlgorithm accessTokenSigningAlg) -
getAuthorizationSignedResponseAlg
public io.jans.as.model.crypto.signature.SignatureAlgorithm getAuthorizationSignedResponseAlg() -
setAuthorizationSignedResponseAlg
public void setAuthorizationSignedResponseAlg(io.jans.as.model.crypto.signature.SignatureAlgorithm authorizationSignedResponseAlg) -
getAuthorizationEncryptedResponseAlg
public io.jans.as.model.crypto.encryption.KeyEncryptionAlgorithm getAuthorizationEncryptedResponseAlg() -
setAuthorizationEncryptedResponseAlg
public void setAuthorizationEncryptedResponseAlg(io.jans.as.model.crypto.encryption.KeyEncryptionAlgorithm authorizationEncryptedResponseAlg) -
getAuthorizationEncryptedResponseEnc
public io.jans.as.model.crypto.encryption.BlockEncryptionAlgorithm getAuthorizationEncryptedResponseEnc() -
setAuthorizationEncryptedResponseEnc
public void setAuthorizationEncryptedResponseEnc(io.jans.as.model.crypto.encryption.BlockEncryptionAlgorithm authorizationEncryptedResponseEnc) -
getIdTokenSignedResponseAlg
public io.jans.as.model.crypto.signature.SignatureAlgorithm getIdTokenSignedResponseAlg()Returns th JWS alg algorithm (JWA) required for the ID Token issued to this client_id.- Returns:
- The JWS algorithm (JWA).
-
setIdTokenSignedResponseAlg
public void setIdTokenSignedResponseAlg(io.jans.as.model.crypto.signature.SignatureAlgorithm idTokenSignedResponseAlg) Sets the JWS alg algorithm (JWA) required for the ID Token issued to this client_id.- Parameters:
idTokenSignedResponseAlg
- The JWS algorithm (JWA).
-
getIdTokenEncryptedResponseAlg
public io.jans.as.model.crypto.encryption.KeyEncryptionAlgorithm getIdTokenEncryptedResponseAlg()Returns the JWE alg algorithm (JWA) required for encrypting the ID Token issued to this client_id.- Returns:
- The JWE algorithm (JWA).
-
setIdTokenEncryptedResponseAlg
public void setIdTokenEncryptedResponseAlg(io.jans.as.model.crypto.encryption.KeyEncryptionAlgorithm idTokenEncryptedResponseAlg) Sets the JWE alg algorithm (JWA) required for encrypting the ID Token issued to this client_id.- Parameters:
idTokenEncryptedResponseAlg
- The JWE algorithm (JWA).
-
getIdTokenEncryptedResponseEnc
public io.jans.as.model.crypto.encryption.BlockEncryptionAlgorithm getIdTokenEncryptedResponseEnc()Returns the JWE enc algorithm (JWA) required for symmetric encryption of the ID Token issued to this client_id.- Returns:
- The JWE algorithm (JWA).
-
setIdTokenEncryptedResponseEnc
public void setIdTokenEncryptedResponseEnc(io.jans.as.model.crypto.encryption.BlockEncryptionAlgorithm idTokenEncryptedResponseEnc) Sets the JWE enc algorithm (JWA) required for symmetric encryption of the ID Token issued to this client_id.- Parameters:
idTokenEncryptedResponseEnc
- The JWE algorithm (JWA).
-
getIntrospectionSignedResponseAlg
public io.jans.as.model.crypto.signature.SignatureAlgorithm getIntrospectionSignedResponseAlg()Returns the JWS alg algorithm (JWA) required for Introspection responses.- Returns:
- The JWS algorithm (JWA).
-
setIntrospectionSignedResponseAlg
public void setIntrospectionSignedResponseAlg(io.jans.as.model.crypto.signature.SignatureAlgorithm introspectionSignedResponseAlg) Sets the JWS alg algorithm (JWA) required for Introspection responses.- Parameters:
introspectionSignedResponseAlg
- The JWS algorithm (JWA).
-
getIntrospectionEncryptedResponseAlg
public io.jans.as.model.crypto.encryption.KeyEncryptionAlgorithm getIntrospectionEncryptedResponseAlg()Returns the JWE alg algorithm (JWA) required for encrypting Introspection responses.- Returns:
- The JWE algorithm (JWA).
-
setIntrospectionEncryptedResponseAlg
public void setIntrospectionEncryptedResponseAlg(io.jans.as.model.crypto.encryption.KeyEncryptionAlgorithm introspectionEncryptedResponseAlg) Sets the JWE alg algorithm (JWA) required for encrypting Introspection responses.- Parameters:
introspectionEncryptedResponseAlg
- The JWE algorithm (JWA).
-
getIntrospectionEncryptedResponseEnc
public io.jans.as.model.crypto.encryption.BlockEncryptionAlgorithm getIntrospectionEncryptedResponseEnc()Returns the JWE enc algorithm (JWA) required for symmetric encryption of Introspection responses.- Returns:
- The JWE algorithm (JWA).
-
setIntrospectionEncryptedResponseEnc
public void setIntrospectionEncryptedResponseEnc(io.jans.as.model.crypto.encryption.BlockEncryptionAlgorithm introspectionEncryptedResponseEnc) Sets the JWE enc algorithm (JWA) required for symmetric encryption of Introspection responses.- Parameters:
introspectionEncryptedResponseEnc
- The JWE algorithm (JWA).
-
getLogoutStatusJwtSignedResponseAlg
public io.jans.as.model.crypto.signature.SignatureAlgorithm getLogoutStatusJwtSignedResponseAlg()Returns the JWS alg algorithm (JWA) required for Logout Status JWT.- Returns:
- The JWS algorithm (JWA) for Logout Status JWT.
-
setLogoutStatusJwtSignedResponseAlg
public RegisterRequest setLogoutStatusJwtSignedResponseAlg(io.jans.as.model.crypto.signature.SignatureAlgorithm logoutStatusJwtSignedResponseAlg) Sets the JWS alg algorithm (JWA) required for Logout Status JWT.- Parameters:
logoutStatusJwtSignedResponseAlg
- The JWS algorithm (JWA) for Logout Status JWT.
-
getTxTokenSignedResponseAlg
public io.jans.as.model.crypto.signature.SignatureAlgorithm getTxTokenSignedResponseAlg()Returns the JWS alg algorithm (JWA) required for Transaction Token responses.- Returns:
- The JWS algorithm (JWA) for Transaction Tokens.
-
setTxTokenSignedResponseAlg
public void setTxTokenSignedResponseAlg(io.jans.as.model.crypto.signature.SignatureAlgorithm txTokenSignedResponseAlg) Sets the JWS alg algorithm (JWA) required for Transaction Token responses.- Parameters:
txTokenSignedResponseAlg
- The JWS algorithm (JWA) for Transaction Token.
-
getTxTokenEncryptedResponseAlg
public io.jans.as.model.crypto.encryption.KeyEncryptionAlgorithm getTxTokenEncryptedResponseAlg()Returns the JWE alg algorithm (JWA) required for encrypting Transaction Token responses.- Returns:
- The JWE algorithm (JWA) of Transaction Token.
-
setTxTokenEncryptedResponseAlg
public void setTxTokenEncryptedResponseAlg(io.jans.as.model.crypto.encryption.KeyEncryptionAlgorithm txTokenEncryptedResponseAlg) Sets the JWE alg algorithm (JWA) required for encrypting Transaction Token responses.- Parameters:
txTokenEncryptedResponseAlg
- The JWE algorithm (JWA) of Transaction Token.
-
getTxTokenEncryptedResponseEnc
public io.jans.as.model.crypto.encryption.BlockEncryptionAlgorithm getTxTokenEncryptedResponseEnc()Returns the JWE enc algorithm (JWA) required for symmetric encryption of Transaction Tokens responses.- Returns:
- The JWE algorithm (JWA) of Transaction Token.
-
setTxTokenEncryptedResponseEnc
public void setTxTokenEncryptedResponseEnc(io.jans.as.model.crypto.encryption.BlockEncryptionAlgorithm txTokenEncryptedResponseEnc) Sets the JWE enc algorithm (JWA) required for symmetric encryption of Transaction Token responses.- Parameters:
txTokenEncryptedResponseEnc
- The JWE algorithm (JWA) of Transaction Token.
-
getUserInfoSignedResponseAlg
public io.jans.as.model.crypto.signature.SignatureAlgorithm getUserInfoSignedResponseAlg()Returns the JWS alg algorithm (JWA) required for UserInfo responses.- Returns:
- The JWS algorithm (JWA).
-
setUserInfoSignedResponseAlg
public void setUserInfoSignedResponseAlg(io.jans.as.model.crypto.signature.SignatureAlgorithm userInfoSignedResponseAlg) Sets the JWS alg algorithm (JWA) required for UserInfo responses.- Parameters:
userInfoSignedResponseAlg
- The JWS algorithm (JWA).
-
getUserInfoEncryptedResponseAlg
public io.jans.as.model.crypto.encryption.KeyEncryptionAlgorithm getUserInfoEncryptedResponseAlg()Returns the JWE alg algorithm (JWA) required for encrypting UserInfo responses.- Returns:
- The JWE algorithm (JWA).
-
setUserInfoEncryptedResponseAlg
public void setUserInfoEncryptedResponseAlg(io.jans.as.model.crypto.encryption.KeyEncryptionAlgorithm userInfoEncryptedResponseAlg) Sets the JWE alg algorithm (JWA) required for encrypting UserInfo responses.- Parameters:
userInfoEncryptedResponseAlg
- The JWE algorithm (JWA).
-
getUserInfoEncryptedResponseEnc
public io.jans.as.model.crypto.encryption.BlockEncryptionAlgorithm getUserInfoEncryptedResponseEnc()Returns the JWE enc algorithm (JWA) required for symmetric encryption of UserInfo responses.- Returns:
- The JWE algorithm (JWA).
-
setUserInfoEncryptedResponseEnc
public void setUserInfoEncryptedResponseEnc(io.jans.as.model.crypto.encryption.BlockEncryptionAlgorithm userInfoEncryptedResponseEnc) Sets the JWE enc algorithm (JWA) required for symmetric encryption of UserInfo responses.- Parameters:
userInfoEncryptedResponseEnc
- The JWE algorithm (JWA).
-
getRequestObjectSigningAlg
public io.jans.as.model.crypto.signature.SignatureAlgorithm getRequestObjectSigningAlg()Returns the JWS alg algorithm (JWA) that must be required by the Authorization Server.- Returns:
- The JWS algorithm (JWA).
-
setRequestObjectSigningAlg
public void setRequestObjectSigningAlg(io.jans.as.model.crypto.signature.SignatureAlgorithm requestObjectSigningAlg) Sets the JWS alg algorithm (JWA) that must be required by the Authorization Server.- Parameters:
requestObjectSigningAlg
- The JWS algorithm (JWA).
-
getRequestObjectEncryptionAlg
public io.jans.as.model.crypto.encryption.KeyEncryptionAlgorithm getRequestObjectEncryptionAlg()Returns the JWE alg algorithm (JWA) the RP is declaring that it may use for encrypting Request Objects sent to the OP.- Returns:
- The JWE alg algorithm (JWA).
-
setRequestObjectEncryptionAlg
public void setRequestObjectEncryptionAlg(io.jans.as.model.crypto.encryption.KeyEncryptionAlgorithm requestObjectEncryptionAlg) Sets the JWE alg algorithm (JWA) the RP is declaring that it may use for encrypting Request Objects sent to the OP.- Parameters:
requestObjectEncryptionAlg
- The JWE alg algorithm (JWA).
-
getRequestObjectEncryptionEnc
public io.jans.as.model.crypto.encryption.BlockEncryptionAlgorithm getRequestObjectEncryptionEnc()Returns the JWE enc algorithm (JWA) the RP is declaring that it may use for encrypting Request Objects sent to the OP.- Returns:
- The JWE enc algorithm (JWA).
-
setRequestObjectEncryptionEnc
public void setRequestObjectEncryptionEnc(io.jans.as.model.crypto.encryption.BlockEncryptionAlgorithm requestObjectEncryptionEnc) Sets the JWE enc algorithm (JWA) the RP is declaring that it may use for encrypting Request Objects sent to the OP.- Parameters:
requestObjectEncryptionEnc
- The JWE enc algorithm (JWA).
-
getTokenEndpointAuthMethod
public io.jans.as.model.common.AuthenticationMethod getTokenEndpointAuthMethod()Returns the requested authentication method for the Token Endpoint.- Returns:
- The requested authentication method for the Token Endpoint.
-
setTokenEndpointAuthMethod
public void setTokenEndpointAuthMethod(io.jans.as.model.common.AuthenticationMethod tokenEndpointAuthMethod) Sets the requested authentication method for the Token Endpoint.- Parameters:
tokenEndpointAuthMethod
- The requested authentication method for the Token Endpoint.
-
getAdditionalTokenEndpointAuthMethods
-
setAdditionalTokenEndpointAuthMethods
public void setAdditionalTokenEndpointAuthMethods(List<io.jans.as.model.common.AuthenticationMethod> additionalTokenEndpointAuthMethods) -
getTokenEndpointAuthSigningAlg
public io.jans.as.model.crypto.signature.SignatureAlgorithm getTokenEndpointAuthSigningAlg()Returns the Requested Client Authentication method for the Token Endpoint.- Returns:
- The Requested Client Authentication method for the Token Endpoint.
-
setTokenEndpointAuthSigningAlg
public void setTokenEndpointAuthSigningAlg(io.jans.as.model.crypto.signature.SignatureAlgorithm tokenEndpointAuthSigningAlg) Sets the Requested Client Authentication method for the Token Endpoint.- Parameters:
tokenEndpointAuthSigningAlg
- The Requested Client Authentication method for the Token Endpoint.
-
getDefaultMaxAge
Returns the Default Maximum Authentication Age.- Returns:
- The Default Maximum Authentication Age.
-
setDefaultMaxAge
Sets the Default Maximum Authentication Age.- Parameters:
defaultMaxAge
- The Default Maximum Authentication Age.
-
getLifetime
Gets client life time- Returns:
- client life time
-
setLifetime
Sets client life time- Parameters:
lifetime
- life time
-
getMinimumAcrLevel
Gets minimum acr level- Returns:
- minimum acr level
-
setMinimumAcrLevel
Sets minimum acr level- Parameters:
minimumAcrLevel
- minimum acr level
-
getMinimumAcrLevelAutoresolve
Gets minimum acr level auto resolve- Returns:
- minimum acr level auto resolve
-
setMinimumAcrLevelAutoresolve
Sets minimum acr level auto resolve- Parameters:
minimumAcrLevelAutoresolve
- minimum acr level auto resolve
-
getMinimumAcrPriorityList
Gets minimum acr priority list- Returns:
- minimum acr priority list
-
setMinimumAcrPriorityList
Sets minimum acr priority list- Parameters:
minimumAcrPriorityList
- minimum acr priority list
-
getDefaultAcrValues
Returns the Default requested Authentication Context Class Reference values.- Returns:
- The Default requested Authentication Context Class Reference values.
-
setDefaultAcrValues
Sets the Default requested Authentication Context Class Reference values.- Parameters:
defaultAcrValues
- The Default requested Authentication Context Class Reference values.
-
getInitiateLoginUri
Returns the URI using the https: scheme that the authorization server can call to initiate a login at the client.- Returns:
- The URI using the https: scheme that the authorization server can call to initiate a login at the client.
-
setInitiateLoginUri
Sets the URI using the https: scheme that the authorization server can call to initiate a login at the client.- Parameters:
initiateLoginUri
- The URI using the https: scheme that the authorization server can call to initiate a login at the client.
-
getGroups
Returns groups- Returns:
- groups
-
setGroups
Sets groups- Parameters:
groups
- groups
-
getPostLogoutRedirectUris
Returns the URLs supplied by the RP to request that the user be redirected to this location after a logout has been performed.- Returns:
- The URLs supplied by the RP to request that the user be redirected to this location after a logout has been performed.
-
setPostLogoutRedirectUris
Sets the URLs supplied by the RP to request that the user be redirected to this location after a logout has been performed.- Parameters:
postLogoutRedirectUris
- The URLs supplied by the RP to request that the user be redirected to this location after a logout has been performed.
-
getRequestUris
Returns a list of request_uri values that are pre-registered by the Client for use at the Authorization Server.- Returns:
- A list of request URIs.
-
setRequestUris
Sets a list of request_uri values that are pre-registered by the Client for use at the Authorization Server.- Parameters:
requestUris
- A list of request URIs.
-
getAuthorizedOrigins
Returns authorized JavaScript origins.- Returns:
- Authorized JavaScript origins.
-
setAuthorizedOrigins
Sets authorized JavaScript origins.- Parameters:
authorizedOrigins
- Authorized JavaScript origins.
-
getScope
-
setScope
-
getClaims
-
setClaims
-
getAccessTokenLifetime
Returns the Client-specific access token expiration.- Returns:
- The Client-specific access token expiration.
-
setAccessTokenLifetime
Sets the Client-specific access token expiration (in seconds). Set it to Null or Zero to use the system default value.- Parameters:
accessTokenLifetime
- The Client-specific access token expiration.
-
getParLifetime
-
setParLifetime
-
getIdTokenLifetime
Gets id_token lifetime in seconds- Returns:
- id_token lifetime in seconds
-
setIdTokenLifetime
Sets id_token lifetime in seconds- Parameters:
idTokenLifetime
- id_token lifetime in seconds
-
getTxTokenLifetime
Gets tx_token lifetime in seconds- Returns:
- tx_token lifetime in seconds
-
setTxTokenLifetime
Sets tx_token lifetime in seconds- Parameters:
txTokenLifetime
- tx_token lifetime in seconds
-
getRequirePar
-
setRequirePar
-
getDpopBoundAccessToken
Gets dpopBoundAccessToken- Returns:
- dpopBoundAccessToken
-
setDpopBoundAccessToken
Sets dpopBoundAccessToken- Parameters:
dpopBoundAccessToken
- dpop bound access token
-
getSoftwareId
Returns a unique identifier string (UUID) assigned by the client developer or software publisher used by registration endpoints to identify the client software to be dynamically registered.- Returns:
- The software identifier.
-
setSoftwareId
Sets a unique identifier string (UUID) assigned by the client developer or software publisher used by registration endpoints to identify the client software to be dynamically registered.- Parameters:
softwareId
- The software identifier.
-
getSoftwareVersion
Returns a version identifier string for the client software identified by "software_id". The value of the "software_version" should change on any update to the client software identified by the same "software_id".- Returns:
- The version identifier.
-
setSoftwareVersion
Sets a version identifier string for the client software identified by "software_id". The value of the "software_version" should change on any update to the client software identified by the same "software_id".- Parameters:
softwareVersion
- The version identifier.
-
getSoftwareStatement
Returns a software statement containing client metadata values about the client software as claims. This is a string value containing the entire signed JWT.- Returns:
- The software statement.
-
setSoftwareStatement
Sets a software statement containing client metadata values about the client software as claims. This is a string value containing the entire signed JWT.- Parameters:
softwareStatement
- The software statement.
-
getEvidence
Evidence is a set of claims generated by an attester to be appraised by a verifier. Evidence may include configuration data, measurements, telemetry, or inferences. This is a string value containing the evidence, as produced by the selected attestation technology.- Returns:
- evidence
-
setEvidence
Evidence is a set of claims generated by an attester to be appraised by a verifier. Evidence may include configuration data, measurements, telemetry, or inferences. This is a string value containing the evidence, as produced by the selected attestation technology.- Parameters:
evidence
- evidence
-
getBackchannelTokenDeliveryMode
public io.jans.as.model.common.BackchannelTokenDeliveryMode getBackchannelTokenDeliveryMode() -
setBackchannelTokenDeliveryMode
public void setBackchannelTokenDeliveryMode(io.jans.as.model.common.BackchannelTokenDeliveryMode backchannelTokenDeliveryMode) -
getBackchannelClientNotificationEndpoint
-
setBackchannelClientNotificationEndpoint
-
getBackchannelAuthenticationRequestSigningAlg
public io.jans.as.model.crypto.signature.AsymmetricSignatureAlgorithm getBackchannelAuthenticationRequestSigningAlg() -
setBackchannelAuthenticationRequestSigningAlg
public void setBackchannelAuthenticationRequestSigningAlg(io.jans.as.model.crypto.signature.AsymmetricSignatureAlgorithm backchannelAuthenticationRequestSigningAlg) -
getBackchannelUserCodeParameter
-
setBackchannelUserCodeParameter
-
getDefaultPromptLogin
-
setDefaultPromptLogin
-
getAuthorizedAcrValues
-
setAuthorizedAcrValues
-
getHttpMethod
-
setHttpMethod
-
getSpontaneousScopeScriptDns
Gets spontaneous scope script dns- Returns:
- spontaneous scope script dns
-
setSpontaneousScopeScriptDns
Sets spontaneous scope script dns- Parameters:
spontaneousScopeScriptDns
- spontaneous scope script dns
-
getUpdateTokenScriptDns
Gets update token script dns- Returns:
- update token script dns
-
setUpdateTokenScriptDns
Sets update token script dns- Parameters:
updateTokenScriptDns
- update token script dns
-
getPostAuthnScriptDns
Gets post authn script dns- Returns:
- post authn script dns
-
setPostAuthnScriptDns
Sets post authn script dns- Parameters:
postAuthnScriptDns
- post authn script dns
-
getTokenExchangeScriptDns
Gets token exchange script dns- Returns:
- token exchange script dns
-
setTokenExchangeScriptDns
Sets token exchange script dns- Parameters:
tokenExchangeScriptDns
- token exchange script dns- Returns:
- register request object
-
getConsentGatheringScriptDns
Gets consent gathering script dns- Returns:
- consent gathering script dns
-
setConsentGatheringScriptDns
Sets consent gathering script dns- Parameters:
consentGatheringScriptDns
- consent gathering script dns
-
getIntrospectionScriptDns
Gets introspection script dns- Returns:
- introspection script dns
-
setIntrospectionScriptDns
Sets introspection script dns- Parameters:
introspectionScriptDns
- introspection script dns
-
getRptClaimsScriptDns
Gets rpt claims script dns- Returns:
- rpt claims script dns
-
setRptClaimsScriptDns
Sets rpt claims script dns- Parameters:
rptClaimsScriptDns
- rpt claims script dns
-
getRopcScriptDns
Gets ropc script dns- Returns:
- ropc script dns
-
setRopcScriptDns
Sets ropc script dns- Parameters:
ropcScriptDns
- ropc script dns
-
getCustomAttributes
Gets custom attribute map copy.- Returns:
- custom attribute map copy
-
addCustomAttribute
-
getParameters
Returns a collection of parameters of the register request. Anynull
or empty parameter will be omitted.- Overrides:
getParameters
in classBaseRequest
- Returns:
- A collection of parameters.
-
fromJson
- Throws:
org.json.JSONException
-
fromJson
public static RegisterRequest fromJson(org.json.JSONObject requestObject) throws org.json.JSONException - Throws:
org.json.JSONException
-
extractGrantTypes
public static List<io.jans.as.model.common.GrantType> extractGrantTypes(org.json.JSONObject requestObject) -
getJSONParameters
public org.json.JSONObject getJSONParameters() throws org.json.JSONException- Overrides:
getJSONParameters
in classBaseRequest
- Throws:
org.json.JSONException
-
getParameters
-
getJsonObject
public org.json.JSONObject getJsonObject() -
setJsonObject
public void setJsonObject(org.json.JSONObject jsonObject) -
getQueryString
- Specified by:
getQueryString
in classBaseRequest
-
sign
public RegisterRequest sign(io.jans.as.model.crypto.signature.SignatureAlgorithm signatureAlgorithm, String kid, io.jans.as.model.crypto.AuthCryptoProvider cryptoProvider) throws Exception - Throws:
Exception
-
getJwtRequestAsString
-
setJwtRequestAsString
-
hasJwtRequestAsString
public boolean hasJwtRequestAsString() -
getRedirectUrisRegex
-
setRedirectUrisRegex
-