Class OIDCClientSecretConfigWrapper

java.lang.Object
org.keycloak.protocol.oidc.AbstractClientConfigWrapper
org.keycloak.protocol.oidc.OIDCClientSecretConfigWrapper

public class OIDCClientSecretConfigWrapper extends AbstractClientConfigWrapper
Author:
Marcelo Sales
  • Method Details

    • fromClientModel

      public static OIDCClientSecretConfigWrapper fromClientModel(ClientModel client)
    • fromClientRepresentation

      public static OIDCClientSecretConfigWrapper fromClientRepresentation(ClientRepresentation clientRep)
    • getSecret

      public String getSecret()
    • getId

      public String getId()
    • getName

      public String getName()
    • removeClientSecretRotationInfo

      public void removeClientSecretRotationInfo()
    • removeClientSecretRotated

      public void removeClientSecretRotated()
    • getClientSecretCreationTime

      public int getClientSecretCreationTime()
    • setClientSecretCreationTime

      public void setClientSecretCreationTime(int creationTime)
    • hasRotatedSecret

      public boolean hasRotatedSecret()
    • getClientRotatedSecret

      public String getClientRotatedSecret()
    • setClientRotatedSecret

      public void setClientRotatedSecret(String secret)
    • getClientRotatedSecretCreationTime

      public int getClientRotatedSecretCreationTime()
    • setClientRotatedSecretCreationTime

      public void setClientRotatedSecretCreationTime(Integer rotatedTime)
    • setClientSecretCreationTime

      public void setClientSecretCreationTime()
    • setClientRotatedSecretCreationTime

      public void setClientRotatedSecretCreationTime()
    • updateClientRepresentationAttributes

      public void updateClientRepresentationAttributes(ClientRepresentation rep)
    • hasClientSecretExpirationTime

      public boolean hasClientSecretExpirationTime()
    • getClientSecretExpirationTime

      public int getClientSecretExpirationTime()
    • setClientSecretExpirationTime

      public void setClientSecretExpirationTime(Integer expiration)
    • isClientSecretExpired

      public boolean isClientSecretExpired()
    • getClientRotatedSecretExpirationTime

      public int getClientRotatedSecretExpirationTime()
    • setClientRotatedSecretExpirationTime

      public void setClientRotatedSecretExpirationTime(Integer expiration)
    • hasClientRotatedSecretExpirationTime

      public boolean hasClientRotatedSecretExpirationTime()
    • isClientRotatedSecretExpired

      public boolean isClientRotatedSecretExpired()
    • validateRotatedSecret

      public boolean validateRotatedSecret(String secret)
    • toJson

      public String toJson()
    • toRotatedClientModel

      Throws:
      InvalidObjectException