public class Validator extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
Validator.Builder |
| Modifier and Type | Method and Description |
|---|---|
static List<String> |
arrStringToList(String input) |
static org.gluu.oxauth.model.jws.AbstractJwsSigner |
createJwsSigner(org.gluu.oxauth.model.jwt.Jwt idToken,
org.gluu.oxauth.client.OpenIdConfigurationResponse discoveryResponse,
PublicOpKeyService keyService,
OpClientFactory opClientFactory,
Rp rp) |
org.gluu.oxauth.client.OpenIdConfigurationResponse |
getDiscoveryResponse() |
org.gluu.oxauth.model.jwt.Jwt |
getIdToken() |
org.gluu.oxauth.model.jws.AbstractJwsSigner |
getJwsSigner() |
PublicOpKeyService |
getKeyService() |
OpClientFactory |
getOpClientFactory() |
Rp |
getRp() |
static boolean |
hasListAsElement(List<String> audAsList) |
boolean |
isIdTokenValid() |
void |
validateAccessToken(String accessToken) |
static void |
validateAudience(org.gluu.oxauth.model.jwt.Jwt idToken,
String clientId) |
void |
validateAuthorizationCode(String code) |
void |
validateIdToken() |
void |
validateIdToken(String nonce) |
void |
validateNonce(StateService stateService) |
public org.gluu.oxauth.client.OpenIdConfigurationResponse getDiscoveryResponse()
public org.gluu.oxauth.model.jws.AbstractJwsSigner getJwsSigner()
public OpClientFactory getOpClientFactory()
public PublicOpKeyService getKeyService()
public Rp getRp()
public void validateAccessToken(String accessToken)
public void validateAuthorizationCode(String code)
public static org.gluu.oxauth.model.jws.AbstractJwsSigner createJwsSigner(org.gluu.oxauth.model.jwt.Jwt idToken,
org.gluu.oxauth.client.OpenIdConfigurationResponse discoveryResponse,
PublicOpKeyService keyService,
OpClientFactory opClientFactory,
Rp rp)
public void validateNonce(StateService stateService)
public boolean isIdTokenValid()
public void validateIdToken()
public void validateIdToken(String nonce)
public static void validateAudience(org.gluu.oxauth.model.jwt.Jwt idToken,
String clientId)
public org.gluu.oxauth.model.jwt.Jwt getIdToken()
Copyright © 2020. All rights reserved.