public class Validator extends Object
| Constructor and Description |
|---|
Validator(org.gluu.oxauth.model.jwt.Jwt idToken,
org.gluu.oxauth.client.OpenIdConfigurationResponse discoveryResponse,
PublicOpKeyService keyService,
OpClientFactory opClientFactory) |
| Modifier and Type | Method and Description |
|---|---|
static org.gluu.oxauth.model.jws.RSASigner |
createRSASigner(org.gluu.oxauth.model.jwt.Jwt jwt,
org.gluu.oxauth.client.OpenIdConfigurationResponse discoveryResponse,
PublicOpKeyService keyService) |
org.gluu.oxauth.model.jwt.Jwt |
getIdToken() |
boolean |
isIdTokenValid(String clientId) |
void |
validateAccessToken(String accessToken) |
void |
validateAuthorizationCode(String code) |
void |
validateIdToken(String clientId) |
void |
validateIdToken(String nonce,
String clientId) |
void |
validateNonce(StateService stateService) |
public Validator(org.gluu.oxauth.model.jwt.Jwt idToken,
org.gluu.oxauth.client.OpenIdConfigurationResponse discoveryResponse,
PublicOpKeyService keyService,
OpClientFactory opClientFactory)
public void validateAccessToken(String accessToken)
public void validateAuthorizationCode(String code)
public static org.gluu.oxauth.model.jws.RSASigner createRSASigner(org.gluu.oxauth.model.jwt.Jwt jwt,
org.gluu.oxauth.client.OpenIdConfigurationResponse discoveryResponse,
PublicOpKeyService keyService)
public void validateNonce(StateService stateService)
public boolean isIdTokenValid(String clientId)
public void validateIdToken(String clientId)
public org.gluu.oxauth.model.jwt.Jwt getIdToken()
Copyright © 2021. All rights reserved.