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