Interface OAuth20ClientSecretValidator
public interface OAuth20ClientSecretValidator
This is
OAuth20ClientSecretValidator.- Since:
- 6.6.0
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionorg.apereo.cas.util.crypto.CipherExecutor<Serializable, String> Gets cipher executor.booleanisClientSecretExpired(org.apereo.cas.support.oauth.services.OAuthRegisteredService registeredService) Is client secret expired?booleanvalidate(org.apereo.cas.support.oauth.services.OAuthRegisteredService registeredService, String clientSecret) Validate.
-
Field Details
-
BEAN_NAME
Default implementation bean name.- See Also:
-
-
Method Details
-
getCipherExecutor
org.apereo.cas.util.crypto.CipherExecutor<Serializable,String> getCipherExecutor()Gets cipher executor.- Returns:
- the cipher executor
-
validate
boolean validate(org.apereo.cas.support.oauth.services.OAuthRegisteredService registeredService, String clientSecret) Validate.- Parameters:
registeredService- the registered serviceclientSecret- the client secret- Returns:
- true/false
-
isClientSecretExpired
boolean isClientSecretExpired(org.apereo.cas.support.oauth.services.OAuthRegisteredService registeredService) Is client secret expired?- Parameters:
registeredService- the registered service- Returns:
- true/false
-