Class BearerAuthCredentials

java.lang.Object
org.refcodes.web.BearerAuthCredentials
All Implemented Interfaces:
org.refcodes.mixin.TokenAccessor, org.refcodes.mixin.Validatable<TokenCredentials>, AuthTypeAccessor, AuthTypeCredentials<BearerAuthCredentials,TokenCredentials>, TokenCredentials

public class BearerAuthCredentials extends Object implements TokenCredentials, AuthTypeCredentials<BearerAuthCredentials,TokenCredentials>
The BearerAuthCredentials defines a type for representing a Bearer-Authentication credentials Header-Field. Parse the Header-Field via 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 toHttpAuthorization().