Class OIDCAgentConfig
- java.lang.Object
-
- io.asgardeo.java.oidc.sdk.config.model.OIDCAgentConfig
-
public class OIDCAgentConfig extends Object
A data model class to define the OIDC Agent Config element.
-
-
Constructor Summary
Constructors Constructor Description OIDCAgentConfig()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,String>getAdditionalParamsForAuthorizeEndpoint()Returns the additional query parameters of the OIDC agent.URIgetAuthorizeEndpoint()Returns the authorize endpoint URI of the OIDC agent.URIgetCallbackUrl()Returns the callback URI of the OIDC agent.com.nimbusds.oauth2.sdk.id.ClientIDgetConsumerKey()Returns the consumer key (Client ID) of the OIDC agent.com.nimbusds.oauth2.sdk.auth.SecretgetConsumerSecret()Returns the consumer secret (Client secret) of the OIDC agent.StringgetErrorPage()Returns the error page of the OIDC agent.StringgetHomePage()Returns the home page of the OIDC agent.intgetHttpConnectTimeout()Returns the HTTP connect timeout in milliseconds.intgetHttpReadTimeout()Returns the HTTP read timeout in milliseconds.intgetHttpSizeLimit()Returns the HTTP entity size limit in bytes.StringgetIndexPage()Returns the index page of the OIDC agent.com.nimbusds.oauth2.sdk.id.IssuergetIssuer()Returns the issuer of the OIDC agent.URIgetJwksEndpoint()Returns the JWKS endpoint URI of the OIDC agent.URIgetLogoutEndpoint()Returns the logout endpoint URI of the OIDC agent.StringgetLogoutURL()Returns the logout URL of the OIDC agent.URIgetPostLogoutRedirectURI()Returns the post-logout redirect URI of the OIDC agent.com.nimbusds.oauth2.sdk.ScopegetScope()Returns the cscope of the OIDC agent.com.nimbusds.jose.JWSAlgorithmgetSignatureAlgorithm()Set<String>getSkipURIs()Returns the skip URIs of the OIDC agent.StringgetState()Returns the state parameter of the OIDC agent.URIgetTokenEndpoint()Returns the the token endpoint URI of the OIDC agent.Set<String>getTrustedAudience()voidsetAdditionalParamsForAuthorizeEndpoint(Map<String,String> additionalParamsForAuthorizeEndpoint)Sets the additional query params for the OIDC agent.voidsetAuthorizeEndpoint(URI authorizeEndpoint)Sets the authorize endpoint URL for the OIDC agent.voidsetCallbackUrl(URI callbackUrl)Sets the callback URL for the OIDC agent.voidsetConsumerKey(com.nimbusds.oauth2.sdk.id.ClientID consumerKey)Sets the consumer key (Client ID) for the OIDC agent.voidsetConsumerSecret(com.nimbusds.oauth2.sdk.auth.Secret consumerSecret)Sets the consumer secret (Client secret) for the OIDC agent.voidsetErrorPage(String errorPage)Sets the error page for the OIDC agent.voidsetHomePage(String homePage)Sets the home page for the OIDC agent.voidsetHttpConnectTimeout(int httpConnectTimeout)Sets the HTTP connect timeout in milliseconds.voidsetHttpReadTimeout(int httpReadTimeout)Sets the HTTP read timeout in milliseconds.voidsetHttpSizeLimit(int httpSizeLimit)Sets the HTTP entity size limit in bytes.voidsetIndexPage(String indexPage)Sets the index page for the OIDC agent.voidsetIssuer(com.nimbusds.oauth2.sdk.id.Issuer issuer)Sets the issuer for the OIDC agent.voidsetJwksEndpoint(URI jwksEndpoint)Sets the JWKS endpoint URL for the OIDC agent.voidsetLogoutEndpoint(URI logoutEndpoint)Sets the logout endpoint URL for the OIDC agent.voidsetLogoutURL(String logoutURL)Sets the logout URL for the OIDC agent.voidsetPostLogoutRedirectURI(URI postLogoutRedirectURI)Sets the post-logout redirect URL for the OIDC agent.voidsetScope(com.nimbusds.oauth2.sdk.Scope scope)Sets the scope for the OIDC agent.voidsetSignatureAlgorithm(com.nimbusds.jose.JWSAlgorithm signatureAlgorithm)voidsetSkipURIs(Set<String> skipURIs)Sets the skip URIs for the OIDC agent.voidsetState(String state)Sets the state parameter for the OIDC agent.voidsetTokenEndpoint(URI tokenEndpoint)Sets the token endpoint URL for the OIDC agent.voidsetTrustedAudience(Set<String> trustedAudience)
-
-
-
Method Detail
-
getConsumerKey
public com.nimbusds.oauth2.sdk.id.ClientID getConsumerKey()
Returns the consumer key (Client ID) of the OIDC agent.- Returns:
ClientIDof the OIDC agent.
-
setConsumerKey
public void setConsumerKey(com.nimbusds.oauth2.sdk.id.ClientID consumerKey)
Sets the consumer key (Client ID) for the OIDC agent.- Parameters:
consumerKey- The consumer key of the OIDC agent.
-
getConsumerSecret
public com.nimbusds.oauth2.sdk.auth.Secret getConsumerSecret()
Returns the consumer secret (Client secret) of the OIDC agent.- Returns:
Secretof the OIDC agent.
-
setConsumerSecret
public void setConsumerSecret(com.nimbusds.oauth2.sdk.auth.Secret consumerSecret)
Sets the consumer secret (Client secret) for the OIDC agent.- Parameters:
consumerSecret- The consumer secret of the OIDC agent.
-
getIndexPage
public String getIndexPage()
Returns the index page of the OIDC agent.- Returns:
- Index page of the OIDC agent.
-
setIndexPage
public void setIndexPage(String indexPage)
Sets the index page for the OIDC agent.- Parameters:
indexPage- The index page of the OIDC agent.
-
getErrorPage
public String getErrorPage()
Returns the error page of the OIDC agent.- Returns:
- Error page of the OIDC agent.
-
setErrorPage
public void setErrorPage(String errorPage)
Sets the error page for the OIDC agent.- Parameters:
errorPage- The error page of the OIDC agent.
-
getHomePage
public String getHomePage()
Returns the home page of the OIDC agent.- Returns:
- Home page of the OIDC agent.
-
setHomePage
public void setHomePage(String homePage)
Sets the home page for the OIDC agent.- Parameters:
homePage- The home page of the OIDC agent.
-
getLogoutURL
public String getLogoutURL()
Returns the logout URL of the OIDC agent.- Returns:
- Logout URL of the OIDC agent.
-
setLogoutURL
public void setLogoutURL(String logoutURL)
Sets the logout URL for the OIDC agent.- Parameters:
logoutURL- The logout URL of the OIDC agent.
-
getCallbackUrl
public URI getCallbackUrl()
Returns the callback URI of the OIDC agent.- Returns:
- Callback URI of the OIDC agent.
-
setCallbackUrl
public void setCallbackUrl(URI callbackUrl)
Sets the callback URL for the OIDC agent.- Parameters:
callbackUrl- The callback URL of the OIDC agent.
-
getScope
public com.nimbusds.oauth2.sdk.Scope getScope()
Returns the cscope of the OIDC agent.- Returns:
Scopeof the OIDC agent.
-
setScope
public void setScope(com.nimbusds.oauth2.sdk.Scope scope)
Sets the scope for the OIDC agent.- Parameters:
scope- The scope of the OIDC agent.
-
getAuthorizeEndpoint
public URI getAuthorizeEndpoint()
Returns the authorize endpoint URI of the OIDC agent.- Returns:
- The authorize endpoint URI of the OIDC agent.
-
setAuthorizeEndpoint
public void setAuthorizeEndpoint(URI authorizeEndpoint)
Sets the authorize endpoint URL for the OIDC agent.- Parameters:
authorizeEndpoint- The authorize endpoint URL of the OIDC agent.
-
getLogoutEndpoint
public URI getLogoutEndpoint()
Returns the logout endpoint URI of the OIDC agent.- Returns:
- The logout endpoint URI of the OIDC agent.
-
setLogoutEndpoint
public void setLogoutEndpoint(URI logoutEndpoint)
Sets the logout endpoint URL for the OIDC agent.- Parameters:
logoutEndpoint- The logout endpoint URL of the OIDC agent.
-
getTokenEndpoint
public URI getTokenEndpoint()
Returns the the token endpoint URI of the OIDC agent.- Returns:
- The token endpoint URI of the OIDC agent.
-
setTokenEndpoint
public void setTokenEndpoint(URI tokenEndpoint)
Sets the token endpoint URL for the OIDC agent.- Parameters:
tokenEndpoint- The token endpoint URL of the OIDC agent.
-
getIssuer
public com.nimbusds.oauth2.sdk.id.Issuer getIssuer()
Returns the issuer of the OIDC agent.- Returns:
Issuerof the OIDC agent.
-
setIssuer
public void setIssuer(com.nimbusds.oauth2.sdk.id.Issuer issuer)
Sets the issuer for the OIDC agent.- Parameters:
issuer- The issuer of the OIDC agent.
-
getJwksEndpoint
public URI getJwksEndpoint()
Returns the JWKS endpoint URI of the OIDC agent.- Returns:
- The JWKS endpoint URI of the OIDC agent.
-
setJwksEndpoint
public void setJwksEndpoint(URI jwksEndpoint)
Sets the JWKS endpoint URL for the OIDC agent.- Parameters:
jwksEndpoint- The JWKS endpoint URL of the OIDC agent.
-
getPostLogoutRedirectURI
public URI getPostLogoutRedirectURI()
Returns the post-logout redirect URI of the OIDC agent.- Returns:
- The post-logout redirect URI of the OIDC agent.
-
setPostLogoutRedirectURI
public void setPostLogoutRedirectURI(URI postLogoutRedirectURI)
Sets the post-logout redirect URL for the OIDC agent.- Parameters:
postLogoutRedirectURI- The post-logout redirect URL of the OIDC agent.
-
getSignatureAlgorithm
public com.nimbusds.jose.JWSAlgorithm getSignatureAlgorithm()
-
setSignatureAlgorithm
public void setSignatureAlgorithm(com.nimbusds.jose.JWSAlgorithm signatureAlgorithm)
-
getSkipURIs
public Set<String> getSkipURIs()
Returns the skip URIs of the OIDC agent.- Returns:
- The skip URIs of the OIDC agent.
-
setSkipURIs
public void setSkipURIs(Set<String> skipURIs)
Sets the skip URIs for the OIDC agent.- Parameters:
skipURIs- The skip URIs of the OIDC agent.
-
getHttpConnectTimeout
public int getHttpConnectTimeout()
Returns the HTTP connect timeout in milliseconds.- Returns:
- HTTP connect timeout in milliseconds.
-
setHttpConnectTimeout
public void setHttpConnectTimeout(int httpConnectTimeout)
Sets the HTTP connect timeout in milliseconds.- Parameters:
httpConnectTimeout- HTTP connect timeout in milliseconds.
-
getHttpReadTimeout
public int getHttpReadTimeout()
Returns the HTTP read timeout in milliseconds.- Returns:
- HTTP read timeout in milliseconds.
-
setHttpReadTimeout
public void setHttpReadTimeout(int httpReadTimeout)
Sets the HTTP read timeout in milliseconds.- Parameters:
httpReadTimeout- HTTP read timeout in milliseconds.
-
getHttpSizeLimit
public int getHttpSizeLimit()
Returns the HTTP entity size limit in bytes.- Returns:
- HTTP entity size limit in bytes.
-
setHttpSizeLimit
public void setHttpSizeLimit(int httpSizeLimit)
Sets the HTTP entity size limit in bytes.- Parameters:
httpSizeLimit- HTTP entity size limit in bytes.
-
getState
public String getState()
Returns the state parameter of the OIDC agent.- Returns:
- The state parameter of the OIDC agent.
-
setState
public void setState(String state)
Sets the state parameter for the OIDC agent.- Parameters:
state- The state parameter for the OIDC agent.
-
getAdditionalParamsForAuthorizeEndpoint
public Map<String,String> getAdditionalParamsForAuthorizeEndpoint()
Returns the additional query parameters of the OIDC agent.- Returns:
- The additional query params of the OIDC agent.
-
setAdditionalParamsForAuthorizeEndpoint
public void setAdditionalParamsForAuthorizeEndpoint(Map<String,String> additionalParamsForAuthorizeEndpoint)
Sets the additional query params for the OIDC agent.- Parameters:
additionalParamsForAuthorizeEndpoint- The additional query params of the OIDC agent.
-
-