Class BasicAuthenticationHeaderProvider

java.lang.Object
io.github.evisentin.wordpress.client.domain.auth.header.BasicAuthenticationHeaderProvider
All Implemented Interfaces:
AuthenticationHeaderProvider<WpBasicAuthenticationStrategy>

public final class BasicAuthenticationHeaderProvider extends Object implements AuthenticationHeaderProvider<WpBasicAuthenticationStrategy>
Creates HTTP Basic Authentication Authorization headers.

The username and password are joined as username:password, UTF-8 encoded, Base64 encoded, and prefixed with Basic.