Sha256: 9b0cbceec5d597fc052d57ea510e2bad9e20e065c5d8282f2816b2423cfa35f1

Contents?: true

Size: 240 Bytes

Versions: 6

Compression:

Stored size: 240 Bytes

Contents

module Rack
  module OAuth2
    class AccessToken
      class Bearer < AccessToken
        private
        def authenticate(headers)
          headers.merge(:AUTHORIZATION => "Bearer #{access_token}")
        end
      end
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
rack-oauth2-0.7.0 lib/rack/oauth2/access_token/bearer.rb
rack-oauth2-0.6.9 lib/rack/oauth2/access_token/bearer.rb
rack-oauth2-0.6.8 lib/rack/oauth2/access_token/bearer.rb
rack-oauth2-0.6.7 lib/rack/oauth2/access_token/bearer.rb
rack-oauth2-0.6.6 lib/rack/oauth2/access_token/bearer.rb
rack-oauth2-0.6.5 lib/rack/oauth2/access_token/bearer.rb