Interface BasicAuthCredentials

All Superinterfaces:
AuthTypeAccessor, AuthTypeCredentials<BasicAuthCredentials,​BasicCredentials>, BasicCredentials, org.refcodes.mixin.CredentialsAccessor, org.refcodes.mixin.IdentityAccessor, org.refcodes.mixin.SecretAccessor, org.refcodes.mixin.Validatable<BasicCredentials>
All Known Subinterfaces:
BasicAuthCredentials.BasicAuthCredentialsBuilder
All Known Implementing Classes:
BasicAuthCredentialsBuilderImpl, BasicAuthCredentialsImpl

public interface BasicAuthCredentials
extends BasicCredentials, AuthTypeCredentials<BasicAuthCredentials,​BasicCredentials>
This interface defines a type for representing a Basic-Authentication credentials Header-Field. Parse the Header-Field via AuthTypeCredentials.fromHttpAuthorization(String) and feed it with the header's HeaderField.AUTHORIZATION field's value. To create the according Header-Field's value from the BasicAuthCredentials type, call AuthTypeCredentials.toHttpAuthorization().