Class OAuthConsent
java.lang.Object
com.ibm.websphere.security.oauth20.store.OAuthConsent
An OAuth consent implementation used for storing or retrieving entries from an 
OAuthStore implementation.- 
Constructor Summary
Constructors - 
Method Summary
 
- 
Constructor Details
 - 
Method Details
- 
getClientId
Gets the client id.- Returns:
 - the id of the client granted consent to access the resource
 
 - 
getUser
Gets the user name.- Returns:
 - the user that gave consent
 
 - 
getScope
Gets the scope.- Returns:
 - the scope values the user consented to
 
 - 
getResource
Gets the resource.- Returns:
 - the resource the client was granted consent to
 
 - 
getProviderId
Gets the OAuth provider id.- Returns:
 - the id of the OAuth provider from which consent was given
 
 - 
getExpires
public long getExpires()Gets the time the consent expires.- Returns:
 - the timestamp in milliseconds since the epoch when this consent expires
 
 - 
getConsentProperties
Gets the consent properties as a JSON string.- Returns:
 - the JSON string with the consent properties
 
 - 
equals
 - 
hashCode
public int hashCode() 
 -