public class OpenIDConnect extends Object
| Constructor and Description |
|---|
OpenIDConnect() |
| Modifier and Type | Method and Description |
|---|---|
static String |
at_hash(String accessToken,
Algorithm algorithm)
Generate the hash of the Access Token specified by the OpenID Connect Core spec for the
at_hash claim. |
static String |
c_hash(String authorizationCode,
Algorithm algorithm)
Generate the hash of the Authorization Code as specified by the OpenID Connect Core spec for the
c_hash claim. |
public static String at_hash(String accessToken, Algorithm algorithm)
at_hash claim.accessToken - the ASCII form of the access tokenalgorithm - the algorithm to be used when encoding the Id Tokenat_hash claim in the Id Token claim payloadpublic static String c_hash(String authorizationCode, Algorithm algorithm)
c_hash claim.authorizationCode - the ASCII form of the authorization codealgorithm - the algorithm to be used when encoding the Id Tokenc_hash claim in the Id Token claim payloadCopyright © 2023. All rights reserved.