Interface AuthenticationFetcher

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

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 Summary

    Modifier and Type
    Method
    Description
    org.reactivestreams.Publisher<Authentication>
    fetchAuthentication(io.micronaut.http.HttpRequest<?> request)
    Attempts to read an Authentication from a HttpRequest being executed.

    Methods inherited from interface io.micronaut.core.order.Ordered

    getOrder
  • Method Details

    • 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