Class BearerAuthorizationHeader

java.lang.Object
dev.getelements.elements.sdk.util.security.BearerAuthorizationHeader

public class BearerAuthorizationHeader extends Object
Simplest type of Auth header, the bearer header.
  • Constructor Details

    • BearerAuthorizationHeader

      public BearerAuthorizationHeader(String credentials)
      Constructs an new instance of BearerAuthorizationHeader with the supplied credentials.
      Parameters:
      credentials -
  • Method Details

    • getCredentials

      public String getCredentials()
      Gets the credentials associated with this authorization header.
      Returns:
      the credentials