Class OidcClientRegistrationProperties
java.lang.Object
org.apereo.cas.configuration.model.support.oidc.OidcClientRegistrationProperties
- All Implemented Interfaces:
Serializable
@RequiresModule(name="cas-server-support-oidc")
public class OidcClientRegistrationProperties
extends Object
implements Serializable
This is
OidcClientRegistrationProperties
.- Since:
- 5.0.0
- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
Dynamic client registration mode. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionWhen client secret is issued by CAS, this is the period that gets added to the current time measured in UTC to determine the client secret's expiration date.Whether dynamic registration operates inOPEN
orPROTECTED
mode.The password used in a basic-auth scheme to request an initial access token that would then be used to dynamically register clients inOidcClientRegistrationProperties.DynamicClientRegistrationModes.PROTECTED
mode.The username used in a basic-auth scheme to request an initial access token that would then be used to dynamically register clients inOidcClientRegistrationProperties.DynamicClientRegistrationModes.PROTECTED
mode.setClientSecretExpiration
(String clientSecretExpiration) When client secret is issued by CAS, this is the period that gets added to the current time measured in UTC to determine the client secret's expiration date.setDynamicClientRegistrationMode
(OidcClientRegistrationProperties.DynamicClientRegistrationModes dynamicClientRegistrationMode) Whether dynamic registration operates inOPEN
orPROTECTED
mode.setInitialAccessTokenPassword
(String initialAccessTokenPassword) The password used in a basic-auth scheme to request an initial access token that would then be used to dynamically register clients inOidcClientRegistrationProperties.DynamicClientRegistrationModes.PROTECTED
mode.setInitialAccessTokenUser
(String initialAccessTokenUser) The username used in a basic-auth scheme to request an initial access token that would then be used to dynamically register clients inOidcClientRegistrationProperties.DynamicClientRegistrationModes.PROTECTED
mode.
-
Constructor Details
-
OidcClientRegistrationProperties
public OidcClientRegistrationProperties()
-
-
Method Details
-
getDynamicClientRegistrationMode
public OidcClientRegistrationProperties.DynamicClientRegistrationModes getDynamicClientRegistrationMode()Whether dynamic registration operates inOPEN
orPROTECTED
mode. -
getClientSecretExpiration
When client secret is issued by CAS, this is the period that gets added to the current time measured in UTC to determine the client secret's expiration date. An example value would beP14D
forcing client applications to expire their client secret in 2 weeks after the registration date. Expired client secrets can be updated using the client configuration endpoint. A value of0
indicates that client secrets would never expire. -
getInitialAccessTokenUser
The username used in a basic-auth scheme to request an initial access token that would then be used to dynamically register clients inOidcClientRegistrationProperties.DynamicClientRegistrationModes.PROTECTED
mode. -
getInitialAccessTokenPassword
The password used in a basic-auth scheme to request an initial access token that would then be used to dynamically register clients inOidcClientRegistrationProperties.DynamicClientRegistrationModes.PROTECTED
mode. -
setDynamicClientRegistrationMode
public OidcClientRegistrationProperties setDynamicClientRegistrationMode(OidcClientRegistrationProperties.DynamicClientRegistrationModes dynamicClientRegistrationMode) Whether dynamic registration operates inOPEN
orPROTECTED
mode.- Returns:
this
.
-
setClientSecretExpiration
When client secret is issued by CAS, this is the period that gets added to the current time measured in UTC to determine the client secret's expiration date. An example value would beP14D
forcing client applications to expire their client secret in 2 weeks after the registration date. Expired client secrets can be updated using the client configuration endpoint. A value of0
indicates that client secrets would never expire.- Returns:
this
.
-
setInitialAccessTokenUser
The username used in a basic-auth scheme to request an initial access token that would then be used to dynamically register clients inOidcClientRegistrationProperties.DynamicClientRegistrationModes.PROTECTED
mode.- Returns:
this
.
-
setInitialAccessTokenPassword
public OidcClientRegistrationProperties setInitialAccessTokenPassword(String initialAccessTokenPassword) The password used in a basic-auth scheme to request an initial access token that would then be used to dynamically register clients inOidcClientRegistrationProperties.DynamicClientRegistrationModes.PROTECTED
mode.- Returns:
this
.
-