public interface Assertions
An instance of this type is essentially a set of predicates which can be evaluated in the context of a set of input claims.
Modifier and Type | Interface and Description |
---|---|
static interface |
Assertions.Builder
A builder that constructs assertions for claims.
|
static interface |
Assertions.Context
A context for evaluation assertions on claims.
|
Modifier and Type | Method and Description |
---|---|
void |
assertSatisfied(Claims claims,
Assertions.Context context)
Asserts that these assertions are satisfied by the given claims.
|
void assertSatisfied(Claims claims, Assertions.Context context) throws JWTAssertionFailedException
claims
- the claims to testcontext
- context for evaluating the assertionsJWTAssertionFailedException
Copyright © 2019. All rights reserved.