Class OpenIdCredentials
java.lang.Object
org.eclipse.jetty.security.openid.OpenIdCredentials
- All Implemented Interfaces:
Serializable
The credentials of an user to be authenticated with OpenID Connect. This will contain the OpenID ID Token and the OAuth 2.0 Access Token.
This is constructed with an authorization code from the authentication request. This authorization code
is then exchanged using redeemAuthCode(OpenIdConfiguration)
for a response containing the ID Token and Access Token.
The response is then validated against the OpenIdConfiguration
.
- See Also:
-
Nested Class Summary
-
Constructor Summary
ConstructorDescriptionOpenIdCredentials
(String authCode, String redirectUri) OpenIdCredentials
(Map<String, Object> claims) -
Method Summary
Modifier and TypeMethodDescriptionstatic boolean
checkExpiry
(Map<String, Object> claims) boolean
void
redeemAuthCode
(OpenIdConfiguration configuration)
-
Constructor Details
-
OpenIdCredentials
-
OpenIdCredentials
-
-
Method Details
-
getUserId
-
getClaims
-
getResponse
-
redeemAuthCode
- Throws:
Exception
-
isExpired
public boolean isExpired() -
checkExpiry
-