Class Client
java.lang.Object
com.tivoli.am.fim.trustserver.sts.oauth20.Client
- All Implemented Interfaces:
Serializable
Implementation of OAuth20Client Model of the OAUTH_CLIENT_INSTANCE table
- See Also:
-
Constructor Summary
ConstructorDescriptionClient
(long definition_id, String clientId, String clientSecret, String displayName, String[] redirectUris, String companyName, String companyUrl, String contactPerson, String emailAddress, String phoneNumber, String contactType, String otherInfo, boolean requirePkce, String jwksUri, String encryptionDb, String encryptionCert, JSONObject extendedData) Client
(String clientId, String clientSecret, String displayName, String[] redirectUris, String companyName, String companyUrl, String contactPerson, String emailAddress, String phoneNumber, String contactType, String otherInfo, boolean requirePkce, String jwksUri, String encryptionDb, String encryptionCert, JSONObject extendedData) Client
(String clientId, String clientSecret, String displayName, String redirectUri, String companyName, String companyUrl, String contactPerson, String emailAddress, String phoneNumber, String contactType, String otherInfo) -
Method Summary
Modifier and TypeMethodDescriptionGet the client idGet the client secretGet the company name for this clientGet the company url for this clientGet the contact person for this clientGet the contact type for this clientlong
Get the client friendly nameGet the email address for this clientreturns a string of JSON, intended to have the javascript method JSON.parse() invoked on it.int
getJwks()
Get any further information for this clientGet the phone number for this clientGet the clients first configured redirect URI.String[]
Get the clients configured redirect URIs.boolean
Return whether or not this client can be considered confidential.boolean
void
setDefinitionID
(int definition_id) void
setInstanceId
(int id) void
void
setRedirectUris
(String[] redirectUris) Replace the client redirect URIs with the provided valuesvoid
setRequirePkce
(boolean require) toString()
-
Constructor Details
-
Client
public Client(String clientId, String clientSecret, String displayName, String[] redirectUris, String companyName, String companyUrl, String contactPerson, String emailAddress, String phoneNumber, String contactType, String otherInfo, boolean requirePkce, String jwksUri, String encryptionDb, String encryptionCert, JSONObject extendedData) -
Client
public Client(long definition_id, String clientId, String clientSecret, String displayName, String[] redirectUris, String companyName, String companyUrl, String contactPerson, String emailAddress, String phoneNumber, String contactType, String otherInfo, boolean requirePkce, String jwksUri, String encryptionDb, String encryptionCert, JSONObject extendedData) -
Client
-
-
Method Details
-
getClientId
Get the client id -
getClientSecret
Get the client secret -
getDisplayName
Get the client friendly name -
getRedirectUri
Get the clients first configured redirect URI. Not guaranteed to match the URI presented on this request -
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
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
Get the company name for this client -
getCompanyUrl
Get the company url for this client -
getContactPerson
Get the contact person for this client -
getEmailAddress
Get the email address for this client -
getPhoneNumber
Get the phone number for this client -
getContactType
Get the contact type for this client -
getOtherInfo
Get any further information for this client -
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
-
getJwks
-
setJwks
-
getEncryptionDb
-
getEncryptionCert
-
toString
-