com.nimbusds.openid.connect.sdk.claims
Class AccessTokenHash
java.lang.Object
com.nimbusds.oauth2.sdk.id.Identifier
com.nimbusds.openid.connect.sdk.claims.AccessTokenHash
- All Implemented Interfaces:
- net.minidev.json.JSONAware
@Immutable
public final class AccessTokenHash
- extends Identifier
Access token hash (at_hash
). This class is immutable.
Related specifications:
- OpenID Connect Messages 1.0, section 2.1.1.
- Author:
- Vladimir Dzhuvinov
Constructor Summary |
AccessTokenHash(String value)
Creates a new access token hash with the specified value. |
Method Summary |
boolean |
equals(Object object)
Overrides Object.equals() . |
AccessTokenHash
public AccessTokenHash(String value)
- Creates a new access token hash with the specified value.
- Parameters:
value
- The access token hash value. Must not be null
.
equals
public boolean equals(Object object)
- Description copied from class:
Identifier
- Overrides
Object.equals()
.
- Specified by:
equals
in class Identifier
- Parameters:
object
- The object to compare to.
- Returns:
true
if the objects have the same value, otherwise
false
.
Copyright © 2013 NimbusDS. All Rights Reserved.