Interface AuthenticationHeaderProvider<T extends WpAuthenticationStrategy>

Type Parameters:
T - supported authentication strategy type
All Known Implementing Classes:
BasicAuthenticationHeaderProvider, JwtAuthenticationHeaderProvider

public interface AuthenticationHeaderProvider<T extends WpAuthenticationStrategy>
Creates HTTP Authorization header values from authentication strategies.
  • Method Summary

    Modifier and Type
    Method
    Description
    Creates the value of an HTTP Authorization header.
  • Method Details

    • createAuthorizationHeader

      String createAuthorizationHeader(T strategy)
      Creates the value of an HTTP Authorization header.
      Parameters:
      strategy - authentication strategy to use
      Returns:
      authorization header value