public class IdTokenHashUtils extends Object
Constructor and Description |
---|
IdTokenHashUtils() |
Modifier and Type | Method and Description |
---|---|
static com.nimbusds.jose.util.Base64URL |
getAccessTokenHash(com.nimbusds.jose.JWSAlgorithm signingAlg,
OAuth2AccessTokenEntity token)
Compute the SHA hash of a token
|
static com.nimbusds.jose.util.Base64URL |
getCodeHash(com.nimbusds.jose.JWSAlgorithm signingAlg,
String code)
Compute the SHA hash of an authorization code
|
static com.nimbusds.jose.util.Base64URL |
getHash(com.nimbusds.jose.JWSAlgorithm signingAlg,
byte[] bytes) |
public IdTokenHashUtils()
public static com.nimbusds.jose.util.Base64URL getCodeHash(com.nimbusds.jose.JWSAlgorithm signingAlg, String code)
signingAlg
- code
- public static com.nimbusds.jose.util.Base64URL getAccessTokenHash(com.nimbusds.jose.JWSAlgorithm signingAlg, OAuth2AccessTokenEntity token)
signingAlg
- token
- public static com.nimbusds.jose.util.Base64URL getHash(com.nimbusds.jose.JWSAlgorithm signingAlg, byte[] bytes)
Copyright © 2018. All rights reserved.