method

encode_credentials

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.