method

encode_credentials

encode_credentials(token, options = {})
public

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

token - String token. options - optional Hash of the options.

Returns String.