Interface TokenReader

    • Field Summary

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

        HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.util.Optional<java.lang.String> findToken​(io.micronaut.http.HttpRequest<?> request)
      Attempts to retrieve a token in a request.
      • Methods inherited from interface io.micronaut.core.order.Ordered

        getOrder
    • Method Detail

      • findToken

        java.util.Optional<java.lang.String> findToken​(io.micronaut.http.HttpRequest<?> request)
        Attempts to retrieve a token in a request.
        Parameters:
        request - The request to look for the token in
        Returns:
        An optional token string