Module io.inverno.mod.security
Interface AuthenticationReleaser<A extends Authentication>
- Type Parameters:
A
- the type of the authentication
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
An authentication releaser is used to invalidate or release any resources involved when terminating an authentication.
Typical use cases might be the deletion of a session or the invalidation of a token.
- Since:
- 1.5
- Author:
- Jeremy Kuhn
-
Method Summary
-
Method Details
-
release
Releases the specified authentication.
- Parameters:
authentication
- the authentication to release- Returns:
- a mono which completes once the authentication has been released
-