Class BearerAuthorizationHeader
java.lang.Object
dev.getelements.elements.sdk.util.security.BearerAuthorizationHeader
Simplest type of Auth header, the bearer header.
-
Constructor Summary
ConstructorsConstructorDescriptionBearerAuthorizationHeader
(String credentials) Constructs an new instance ofBearerAuthorizationHeader
with the supplied credentials. -
Method Summary
Modifier and TypeMethodDescriptionGets the credentials associated with this authorization header.
-
Constructor Details
-
BearerAuthorizationHeader
Constructs an new instance ofBearerAuthorizationHeader
with the supplied credentials.- Parameters:
credentials
-
-
-
Method Details
-
getCredentials
Gets the credentials associated with this authorization header.- Returns:
- the credentials
-