Package | Description |
---|---|
org.keycloak | |
org.keycloak.adapters.jaas | |
org.keycloak.adapters.rotation | |
org.keycloak.crypto | |
org.keycloak.exceptions |
Modifier and Type | Method and Description |
---|---|
JWSHeader |
TokenVerifier.getHeader() |
JWSHeader |
RSATokenVerifier.getHeader()
Deprecated.
|
T |
TokenVerifier.getToken() |
AccessToken |
RSATokenVerifier.getToken()
Deprecated.
|
TokenVerifier<T> |
TokenVerifier.parse() |
RSATokenVerifier |
RSATokenVerifier.parse()
Deprecated.
|
boolean |
TokenVerifier.RealmUrlCheck.test(JsonWebToken t) |
boolean |
TokenVerifier.TokenTypeCheck.test(JsonWebToken t) |
boolean |
TokenVerifier.AudienceCheck.test(JsonWebToken t) |
boolean |
TokenVerifier.IssuedForCheck.test(JsonWebToken jsonWebToken) |
boolean |
TokenVerifier.Predicate.test(T t)
Performs a single check on the given token verifier.
|
TokenVerifier<T> |
TokenVerifier.verify() |
RSATokenVerifier |
RSATokenVerifier.verify()
Deprecated.
|
static void |
KeyPairVerifier.verify(String privateKeyPem,
String publicKeyPem) |
void |
TokenVerifier.verifySignature() |
static AccessToken |
RSATokenVerifier.verifyToken(String tokenString,
PublicKey publicKey,
String realmUrl)
Deprecated.
|
static AccessToken |
RSATokenVerifier.verifyToken(String tokenString,
PublicKey publicKey,
String realmUrl,
boolean checkActive,
boolean checkTokenType)
Deprecated.
|
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 <T extends JsonWebToken> |
AdapterTokenVerifier.createVerifier(String tokenString,
KeycloakDeployment deployment,
boolean withDefaultChecks,
Class<T> tokenClass)
Creates verifier, initializes it from the KeycloakDeployment and adds the publicKey and some default basic checks (activeness and tokenType).
|
static AccessToken |
AdapterTokenVerifier.verifyToken(String tokenString,
KeycloakDeployment deployment)
Verifies bearer token.
|
static AdapterTokenVerifier.VerifiedTokens |
AdapterTokenVerifier.verifyTokens(String accessTokenString,
String idTokenString,
KeycloakDeployment deployment)
Verify access token and ID token.
|
Modifier and Type | Method and Description |
---|---|
boolean |
SignatureVerifierContext.verify(byte[] data,
byte[] signature) |
boolean |
MacSignatureVerifierContext.verify(byte[] data,
byte[] signature) |
boolean |
AsymmetricSignatureVerifierContext.verify(byte[] data,
byte[] signature) |
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 © 2019 JBoss by Red Hat. All rights reserved.