Interface AuthenticationFetcher

  • All Superinterfaces:
    io.micronaut.core.order.Ordered
    All Known Implementing Classes:
    SessionAuthenticationFetcher, TokenAuthenticationFetcher

    public interface AuthenticationFetcher
    extends io.micronaut.core.order.Ordered
    Describes a bean which attempts to read an Authentication from a HttpRequest being executed.
    Since:
    1.0
    Author:
    Sergio del Amo
    • Field Summary

      • Fields inherited from interface io.micronaut.core.order.Ordered

        HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
    • Method Detail

      • fetchAuthentication

        org.reactivestreams.Publisher<Authentication> fetchAuthentication​(io.micronaut.http.HttpRequest<?> request)
        Attempts to read an Authentication from a HttpRequest being executed.
        Parameters:
        request - HttpRequest being executed.
        Returns:
        Authentication if found