Package | Description |
---|---|
org.keycloak | |
org.keycloak.adapters.jaas | |
org.keycloak.adapters.rotation | |
org.keycloak.exceptions |
Modifier and Type | Method and Description |
---|---|
JWSHeader |
TokenVerifier.getHeader() |
JWSHeader |
RSATokenVerifier.getHeader() |
T |
TokenVerifier.getToken() |
AccessToken |
RSATokenVerifier.getToken() |
TokenVerifier<T> |
TokenVerifier.parse() |
RSATokenVerifier |
RSATokenVerifier.parse() |
boolean |
TokenVerifier.RealmUrlCheck.test(JsonWebToken t) |
boolean |
TokenVerifier.TokenTypeCheck.test(JsonWebToken t) |
boolean |
TokenVerifier.Predicate.test(T t)
Performs a single check on the given token verifier.
|
TokenVerifier<T> |
TokenVerifier.verify() |
RSATokenVerifier |
RSATokenVerifier.verify() |
static void |
KeyPairVerifier.verify(String privateKeyPem,
String publicKeyPem) |
void |
TokenVerifier.verifySignature() |
static AccessToken |
RSATokenVerifier.verifyToken(String tokenString,
PublicKey publicKey,
String realmUrl) |
static AccessToken |
RSATokenVerifier.verifyToken(String tokenString,
PublicKey publicKey,
String realmUrl,
boolean checkActive,
boolean checkTokenType) |
Modifier and Type | Method and Description |
---|---|
protected AbstractKeycloakLoginModule.Auth |
AbstractKeycloakLoginModule.bearerAuth(String tokenString) |
protected AbstractKeycloakLoginModule.Auth |
DirectAccessGrantsLoginModule.directGrantAuth(String username,
String password) |
protected AbstractKeycloakLoginModule.Auth |
DirectAccessGrantsLoginModule.doAuth(String username,
String password) |
protected AbstractKeycloakLoginModule.Auth |
BearerTokenLoginModule.doAuth(String username,
String password) |
Modifier and Type | Method and Description |
---|---|
static PublicKey |
AdapterRSATokenVerifier.getPublicKey(String kid,
KeycloakDeployment deployment) |
static AccessToken |
AdapterRSATokenVerifier.verifyToken(String tokenString,
KeycloakDeployment deployment) |
static AccessToken |
AdapterRSATokenVerifier.verifyToken(String tokenString,
KeycloakDeployment deployment,
boolean checkActive,
boolean checkTokenType) |
Modifier and Type | Class and Description |
---|---|
class |
TokenNotActiveException
Exception thrown for cases when token is invalid due to time constraints (expired, or not yet valid).
|
class |
TokenSignatureInvalidException
Thrown when token signature is invalid.
|
class |
TokenVerificationException
Exception thrown on failed verification of a token.
|
Copyright © 2018 JBoss by Red Hat. All rights reserved.