Class AuthHeader
java.lang.Object
com.palantir.tokens.auth.AuthHeader
Represents a HTTP authentication header. This class wraps a string in the form of "Bearer [token]".
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract BearerTokenstatic AuthHeaderof(BearerToken bearerToken) final @DoNotLog StringtoString()Gets the string form: "Bearer [token]".static AuthHeaderTakes the string form: "Bearer [token]" and creates a newAuthHeader.
-
Constructor Details
-
AuthHeader
public AuthHeader()
-
-
Method Details
-
getBearerToken
-
valueOf
Takes the string form: "Bearer [token]" and creates a newAuthHeader. -
of
-
toString
-