keycloak
|
静的公開メンバ関数 | |
static Predicate< JsonWebToken > | checkThat (BooleanSupplier function, String errorEvent, String errorMessage) |
static< T extends JsonWebToken > Predicate< T > | checkThat (java.util.function.Predicate< T > function, String errorEvent, String errorMessage) |
static< T extends JsonWebToken > Predicate< T > | onlyIf (java.util.function.Predicate< T > condition, Predicate< T > predicate) |
static< T extends JsonWebToken > Predicate<? super T > [] | predicates (Predicate<? super T >... predicate) |
|
inlinestatic |
Returns a predicate for use in TokenVerifier using the given boolean-returning function. When the function return
, this predicate throws a ExplainedTokenVerificationException with
and
set from
and
, .
function | |
errorEvent | |
errorMessage |
|
inlinestatic |
Returns a predicate for use in TokenVerifier using the given boolean-returning function. When the function return
, this predicate throws a ExplainedTokenVerificationException with
and
set from
and
, .
function | |
errorEvent | |
errorMessage |
|
inlinestatic |
Returns a predicate that is applied only if the given
evaluates to {}. In case it evaluates to
, the predicate passes.
<T> | |
condition | Condition guarding execution of the predicate |
predicate | Predicate that gets tested if the condition evaluates to true |
|
inlinestatic |