Package io.fusionauth.jwt
Class OpenIDConnect
java.lang.Object
io.fusionauth.jwt.OpenIDConnect
Helpers for OpenID Connect.
- Author:
- Daniel DeGroff
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
OpenIDConnect
public OpenIDConnect()
-
-
Method Details
-
at_hash
Generate the hash of the Access Token specified by the OpenID Connect Core spec for theat_hashclaim.- Parameters:
accessToken- the ASCII form of the access tokenalgorithm- the algorithm to be used when encoding the Id Token- Returns:
- a hash to be used as the
at_hashclaim in the Id Token claim payload
-
c_hash
Generate the hash of the Authorization Code as specified by the OpenID Connect Core spec for thec_hashclaim.- Parameters:
authorizationCode- the ASCII form of the authorization codealgorithm- the algorithm to be used when encoding the Id Token- Returns:
- a hash to be used as the
c_hashclaim in the Id Token claim payload
-