Interface BearerAuthCredentials

All Superinterfaces:
AuthTypeAccessor, AuthTypeCredentials<BearerAuthCredentials,​TokenCredentials>, org.refcodes.mixin.TokenAccessor, TokenCredentials, org.refcodes.mixin.Validatable<TokenCredentials>
All Known Implementing Classes:
BeararAuthCredentialsImpl

public interface BearerAuthCredentials
extends TokenCredentials, AuthTypeCredentials<BearerAuthCredentials,​TokenCredentials>
This interface defines a type for representing a Bearer-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 BearerAuthCredentials type, call AuthTypeCredentials.toHttpAuthorization().