Sha256: cdf3b3829af2d0b3979063ee926c0e49ed291e7d950cdea70d610726bd20b350

Contents?: true

Size: 225 Bytes

Versions: 70

Compression:

Stored size: 225 Bytes

Contents

module Rack
  module OAuth2
    class AccessToken
      class Bearer < AccessToken
        def authenticate(request)
          request.header["Authorization"] = "Bearer #{access_token}"
        end
      end
    end
  end
end

Version data entries

70 entries across 70 versions & 2 rubygems

Version Path
rack-oauth2-1.9.2 lib/rack/oauth2/access_token/bearer.rb
rack-oauth2-1.9.1 lib/rack/oauth2/access_token/bearer.rb
rack-oauth2-1.9.0 lib/rack/oauth2/access_token/bearer.rb
rack-oauth2-1.8.2 lib/rack/oauth2/access_token/bearer.rb
rack-oauth2-1.8.1 lib/rack/oauth2/access_token/bearer.rb
rack-oauth2-1.8.0 lib/rack/oauth2/access_token/bearer.rb
rack-oauth2-1.7.1 lib/rack/oauth2/access_token/bearer.rb
rack-oauth2-1.7.0 lib/rack/oauth2/access_token/bearer.rb
rack-oauth2-1.6.4 lib/rack/oauth2/access_token/bearer.rb
rack-oauth2-1.6.3 lib/rack/oauth2/access_token/bearer.rb
rack-oauth2-1.6.2 lib/rack/oauth2/access_token/bearer.rb
rack-oauth2-1.6.1 lib/rack/oauth2/access_token/bearer.rb
rack-oauth2-1.6.0 lib/rack/oauth2/access_token/bearer.rb
rack-oauth2-1.5.1 lib/rack/oauth2/access_token/bearer.rb
rack-oauth2-1.5.0 lib/rack/oauth2/access_token/bearer.rb
rack-oauth2-1.4.0 lib/rack/oauth2/access_token/bearer.rb
rack-oauth2-1.3.1 lib/rack/oauth2/access_token/bearer.rb
rack-oauth2-1.3.0 lib/rack/oauth2/access_token/bearer.rb
rack-oauth2-1.2.3 lib/rack/oauth2/access_token/bearer.rb
rack-oauth2-1.2.2 lib/rack/oauth2/access_token/bearer.rb