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 TypeMethodDescriptioncreateAuthorizationHeader(T strategy) Creates the value of an HTTPAuthorizationheader.
-
Method Details
-
createAuthorizationHeader
Creates the value of an HTTPAuthorizationheader.- Parameters:
strategy- authentication strategy to use- Returns:
- authorization header value
-