class Faraday::Request::TokenAuthentication

Faraday request.
TokenAuthentication is a middleware that adds a ‘Token’ header to a

def self.header(token, options = nil)

Public
def self.header(token, options = nil)
  options ||= {}
  options[:token] = token
  super(:Token, options)
end

def initialize(app, token, options = nil)

def initialize(app, token, options = nil)
  super(app, token, options)
end