Class DefaultTokenResolver

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.Optional<java.lang.String> resolveToken​(io.micronaut.http.HttpRequest<?> request)
      Returns the first token found by the supplied token readers.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • resolveToken

        public java.util.Optional<java.lang.String> resolveToken​(io.micronaut.http.HttpRequest<?> request)
        Returns the first token found by the supplied token readers.
        Specified by:
        resolveToken in interface TokenResolver
        Parameters:
        request - The current HTTP request.
        Returns:
        the first found token in the supplied request.