Class ClientSecret

java.lang.Object
com.skava.auth.model.entities.ClientSecret

@Entity(name="client_secrets") public class ClientSecret extends Object
This model class represents the persistence informations of the `client_secrets` entity.
Author:
Infosys Equinox
  • Constructor Details

    • ClientSecret

      public ClientSecret(OAuthClient oAuthClient)
      This constructor construct the ClientSecret for client.
      Parameters:
      oAuthClient - a OAuthClient object.
    • ClientSecret

      public ClientSecret(Long secretId, OAuthClient oAuthClient)
      This constructor construct the ClientSecret for existing client with new secret key.
      Parameters:
      secretId - a Long object. which holds the unique secret key identifier of the client.
      oAuthClient - a OAuthClient object.