Modifier and Type | Method and Description |
---|---|
default T |
Validator.validateAndDecrypt(Collection<? extends Key> keys,
Token token)
Check the validity of a token against a pool of keys.
|
<T> T |
Token.validateAndDecrypt(Collection<? extends Key> keys,
Validator<T> validator)
Check the validity of this token against a collection of keys.
|
protected byte[] |
Token.validateAndDecrypt(Key key,
Instant earliestValidInstant,
Instant latestValidInstant) |
default T |
Validator.validateAndDecrypt(Key key,
Token token)
Check the validity of the token then decrypt and deserialise the payload.
|
<T> T |
Token.validateAndDecrypt(Key key,
Validator<T> validator)
Check the validity of this token.
|
Copyright © 2017. All rights reserved.