encode_credentials(token, options = {}) public

Encodes the given token and options into an Authorization header value.

Returns String.

Parameters

  • token - String token.

  • options - Optional Hash of the options.

Show source
Register or log in to add new notes.