public class AdapterRSATokenVerifier extends Object
| Constructor and Description |
|---|
AdapterRSATokenVerifier() |
| Modifier and Type | Method and Description |
|---|---|
static PublicKey |
getPublicKey(String kid,
KeycloakDeployment deployment) |
static AccessToken |
verifyToken(String tokenString,
KeycloakDeployment deployment) |
static AccessToken |
verifyToken(String tokenString,
KeycloakDeployment deployment,
boolean checkActive,
boolean checkTokenType) |
public static AccessToken verifyToken(String tokenString, KeycloakDeployment deployment) throws VerificationException
VerificationExceptionpublic static PublicKey getPublicKey(String kid, KeycloakDeployment deployment) throws VerificationException
VerificationExceptionpublic static AccessToken verifyToken(String tokenString, KeycloakDeployment deployment, boolean checkActive, boolean checkTokenType) throws VerificationException
VerificationExceptionCopyright © 2017 JBoss by Red Hat. All rights reserved.