Interface OAuth20ClientSecretValidator


public interface OAuth20ClientSecretValidator
Since:
6.6.0
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
    Default implementation bean name.
  • Method Summary

    Modifier and Type
    Method
    Description
    org.apereo.cas.util.crypto.CipherExecutor<Serializable,String>
    Gets cipher executor.
    boolean
    isClientSecretExpired(org.apereo.cas.support.oauth.services.OAuthRegisteredService registeredService)
    Is client secret expired?
    boolean
    validate(org.apereo.cas.support.oauth.services.OAuthRegisteredService registeredService, String clientSecret)
    Validate.
  • Field Details

  • 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 service
      clientSecret - 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