class OAuth2::AccessToken

Public Instance Methods

headers() click to toggle source

Oauth2 does not base64 encode the token (which Catchpoint wants), so we do it instead:

# File lib/catchpoint.rb, line 10
def headers
  {'Authorization' => options[:header_format] % Base64.urlsafe_encode64(token)}
end