public final class BiPredicateAssertions extends Object implements Assertions
Assertions
implementation that evaluates a list of
BiPredicate
lambdas.Modifier and Type | Class and Description |
---|---|
static class |
BiPredicateAssertions.Builder |
Assertions.Context
Constructor and Description |
---|
BiPredicateAssertions() |
Modifier and Type | Method and Description |
---|---|
void |
assertSatisfied(Claims claims,
Assertions.Context context)
Asserts that these assertions are satisfied by the given claims.
|
static BiPredicateAssertions.Builder |
builder()
Gets a builder for a new instance.
|
public static BiPredicateAssertions.Builder builder()
public void assertSatisfied(Claims claims, Assertions.Context context) throws JWTAssertionFailedException
Assertions
assertSatisfied
in interface Assertions
claims
- the claims to testcontext
- context for evaluating the assertionsJWTAssertionFailedException
Copyright © 2019. All rights reserved.