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.

@FunctionalInterface public interface AuthenticationReleaser<A extends Authentication>

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

    Modifier and Type
    Method
    Description
    release(A authentication)
    Releases the specified authentication.
  • Method Details

    • release

      Mono<Void> release(A authentication)

      Releases the specified authentication.

      Parameters:
      authentication - the authentication to release
      Returns:
      a mono which completes once the authentication has been released