Class OAuthClient
java.lang.Object
com.ibm.websphere.security.oauth20.store.OAuthClient
An OAuth client implementation used for storing or retrieving entries from an
OAuthStore
implementation.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Gets the client id.Gets the meta data as a JSON string.Gets the encoded client secret.Gets the display name.Gets the OAuth provider id.int
hashCode()
boolean
Returns whether this client can participate in an OAuth flow or not.
-
Constructor Details
-
Method Details
-
getProviderId
Gets the OAuth provider id.- Returns:
- the id of the OAuth provider this client is registered with
-
getClientId
Gets the client id.- Returns:
- the client id
-
getClientSecret
Gets the encoded client secret.- Returns:
- the client secret
-
getDisplayName
Gets the display name.- Returns:
- the display name
-
isEnabled
public boolean isEnabled()Returns whether this client can participate in an OAuth flow or not.- Returns:
- true when the client is allowed to participate in an OAuth flow with the OAuth provider it is registered with
-
getClientMetadata
Gets the meta data as a JSON string.- Returns:
- the JSON string with the client meta data
-
equals
-
hashCode
public int hashCode()
-