Sha256: d164eb0f213fef59135ea70948d04905fdee8043136a76c6178d34b2ac4b95c9

Contents?: true

Size: 228 Bytes

Versions: 6

Compression:

Stored size: 228 Bytes

Contents

# frozen_string_literal: true

WineBouncer.configure do |config|
  config.auth_strategy = :default

  config.define_resource_owner do
    User.find(doorkeeper_access_token.resource_owner_id) if doorkeeper_access_token
  end
end

Version data entries

6 entries across 6 versions & 2 rubygems

Version Path
privy_wine_bouncer-1.0.4.5 lib/generators/templates/wine_bouncer.rb
wine_bouncer-1.0.4 lib/generators/templates/wine_bouncer.rb
wine_bouncer-1.0.3 lib/generators/templates/wine_bouncer.rb
wine_bouncer-1.0.2 lib/generators/templates/wine_bouncer.rb
wine_bouncer-1.0.1 lib/generators/templates/wine_bouncer.rb
wine_bouncer-1.0.0 lib/generators/templates/wine_bouncer.rb