public static class TokenVerifier.IssuedForCheck extends Object implements TokenVerifier.Predicate<JsonWebToken>
Constructor and Description |
---|
IssuedForCheck(String expectedIssuedFor) |
Modifier and Type | Method and Description |
---|---|
boolean |
test(JsonWebToken jsonWebToken)
Performs a single check on the given token verifier.
|
public IssuedForCheck(String expectedIssuedFor)
public boolean test(JsonWebToken jsonWebToken) throws VerificationException
TokenVerifier.Predicate
test
in interface TokenVerifier.Predicate<JsonWebToken>
jsonWebToken
- Token, guaranteed to be non-null.VerificationException
Copyright © 2019 JBoss by Red Hat. All rights reserved.