Package com.ocient.auth
Class OpenIDAuthenticators.AuthorizationCodeBundle
java.lang.Object
com.ocient.auth.OpenIDAuthenticators.AuthorizationCodeBundle
- All Implemented Interfaces:
Token
- Enclosing class:
OpenIDAuthenticators
AuthorizationCodeBundle: This class implements
Token just to reuse the existing
handshake plumbing. It is NOT a token. Instead, it holds a json base64 encoded "payload" for
server side Authorization Code + PKCE exchange-
Constructor Summary
ConstructorsConstructorDescriptionAuthorizationCodeBundle(String code, String codeVerifier, String redirectUri) -
Method Summary
-
Constructor Details
-
AuthorizationCodeBundle
-
-
Method Details
-
getTokenHint
- Specified by:
getTokenHintin interfaceToken- Returns:
- the token hint to forward to the database
-
getToken
- Specified by:
getTokenin interfaceToken- Returns:
- the token payload
- Throws:
AuthException- if the token cannot be returned
-