java.lang.Object
com.tivoli.am.fim.trustserver.sts.oauth20.Client
All Implemented Interfaces:
Serializable

public class Client extends Object implements Serializable
Implementation of OAuth20Client Model of the OAUTH_CLIENT_INSTANCE table
See Also:
  • Constructor Details

  • Method Details

    • getClientId

      public String getClientId()
      Get the client id
    • getClientSecret

      public String getClientSecret()
      Get the client secret
    • getDisplayName

      public String getDisplayName()
      Get the client friendly name
    • getRedirectUri

      public String getRedirectUri()
      Get the clients first configured redirect URI. Not guaranteed to match the URI presented on this request
    • getRedirectUris

      public String[] getRedirectUris()
      Get the clients configured redirect URIs. Not guaranteed to match the URI presented on this request, if the client does not have redirect_uri configured it returns null.
    • setRedirectUris

      public void setRedirectUris(String[] redirectUris)
      Replace the client redirect URIs with the provided values
    • isConfidential

      public boolean isConfidential()
      Return whether or not this client can be considered confidential. A convenience function which just checks that getClientSecret() doesnt return null or an empty string. a @returns true if client secret is not null or empty. False if client secret is null or empty.
    • getCompanyName

      public String getCompanyName()
      Get the company name for this client
    • getCompanyUrl

      public String getCompanyUrl()
      Get the company url for this client
    • getContactPerson

      public String getContactPerson()
      Get the contact person for this client
    • getEmailAddress

      public String getEmailAddress()
      Get the email address for this client
    • getPhoneNumber

      public String getPhoneNumber()
      Get the phone number for this client
    • getContactType

      public String getContactType()
      Get the contact type for this client
    • getOtherInfo

      public String getOtherInfo()
      Get any further information for this client
    • getExtendedData

      public String getExtendedData()
      returns a string of JSON, intended to have the javascript method JSON.parse() invoked on it.
    • setDefinitionID

      public void setDefinitionID(int definition_id)
    • getDefinitionID

      public long getDefinitionID()
    • setInstanceId

      public void setInstanceId(int id)
    • getInstanceId

      public int getInstanceId()
    • setRequirePkce

      public void setRequirePkce(boolean require)
    • isRequirePkce

      public boolean isRequirePkce()
    • getJwksUri

      public String getJwksUri()
    • getJwks

      public String getJwks()
    • setJwks

      public void setJwks(String jwks)
    • getEncryptionDb

      public String getEncryptionDb()
    • getEncryptionCert

      public String getEncryptionCert()
    • toString

      public String toString()
      Overrides:
      toString in class Object