omniauth-swagger 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 4aa3af53aab27a9991c8f201469871134fa03057
4
+ data.tar.gz: 7bc9587063ef297622882e10973910f86efd5867
5
+ SHA512:
6
+ metadata.gz: 903dc9cea95cfc2cd683ff585c901b933524618572d5a6cd8c1d6153bb4d330934caf56a59bcbf6b7eabda5a143668f3abd782a1c855c79414d2f0d62b48ed88
7
+ data.tar.gz: 9e4f1d0d9b818ab07d678b52f0a20cf28a4e5cdf484a2192454b290403080ae8456510f41f4f3aa62d45c4f0995451e599917bf718d6e3b744de8b836241cc0f
@@ -0,0 +1,29 @@
1
+ *.gem
2
+ *.rbc
3
+ /.config
4
+ /coverage/
5
+ /InstalledFiles
6
+ /pkg/
7
+ /spec/reports/
8
+ /test/tmp/
9
+ /test/version_tmp/
10
+ /tmp/
11
+
12
+ ## Documentation cache and generated files:
13
+ /.yardoc/
14
+ /_yardoc/
15
+ /doc/
16
+ /rdoc/
17
+
18
+ ## Environment normalisation:
19
+ /.bundle/
20
+ /vendor/bundle
21
+ /lib/bundler/man/
22
+
23
+ # for a library or gem, you might want to ignore these files since the code is
24
+ # intended to run in multiple environments; otherwise, check them in:
25
+ Gemfile.lock
26
+ .ruby-version
27
+ .ruby-gemset
28
+
29
+ *.swp
data/.rspec ADDED
@@ -0,0 +1,2 @@
1
+ --format documentation
2
+ --color
@@ -0,0 +1,3 @@
1
+ language: ruby
2
+ rvm:
3
+ - 2.2.1
@@ -0,0 +1,13 @@
1
+ # Contributor Code of Conduct
2
+
3
+ As contributors and maintainers of this project, we pledge to respect all people who contribute through reporting issues, posting feature requests, updating documentation, submitting pull requests or patches, and other activities.
4
+
5
+ We are committed to making participation in this project a harassment-free experience for everyone, regardless of level of experience, gender, gender identity and expression, sexual orientation, disability, personal appearance, body size, race, age, or religion.
6
+
7
+ Examples of unacceptable behavior by participants include the use of sexual language or imagery, derogatory comments or personal attacks, trolling, public or private harassment, insults, or other unprofessional conduct.
8
+
9
+ Project maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct. Project maintainers who do not follow the Code of Conduct may be removed from the project team.
10
+
11
+ Instances of abusive, harassing, or otherwise unacceptable behavior may be reported by opening an issue or contacting one or more of the project maintainers.
12
+
13
+ This Code of Conduct is adapted from the [Contributor Covenant](http:contributor-covenant.org), version 1.0.0, available at [http://contributor-covenant.org/version/1/0/0/](http://contributor-covenant.org/version/1/0/0/)
data/Gemfile ADDED
@@ -0,0 +1,5 @@
1
+ source 'https://rubygems.org'
2
+
3
+ # Specify your gem's dependencies in omniauth-swagger.gemspec
4
+ gemspec
5
+
data/LICENSE ADDED
@@ -0,0 +1,22 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2015 incominghq
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
22
+
@@ -0,0 +1,39 @@
1
+ # Omniauth::Swagger
2
+
3
+ Welcome to your new gem! In this directory, you'll find the files you need to be able to package up your Ruby library into a gem. Put your Ruby code in the file `lib/omniauth/swagger`. To experiment with that code, run `bin/console` for an interactive prompt.
4
+
5
+ TODO: Delete this and the text above, and describe your gem
6
+
7
+ ## Installation
8
+
9
+ Add this line to your application's Gemfile:
10
+
11
+ ```ruby
12
+ gem 'omniauth-swagger'
13
+ ```
14
+
15
+ And then execute:
16
+
17
+ $ bundle
18
+
19
+ Or install it yourself as:
20
+
21
+ $ gem install omniauth-swagger
22
+
23
+ ## Usage
24
+
25
+ TODO: Write usage instructions here
26
+
27
+ ## Development
28
+
29
+ After checking out the repo, run `bin/setup` to install dependencies. Then, run `bin/console` for an interactive prompt that will allow you to experiment.
30
+
31
+ To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release` to create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
32
+
33
+ ## Contributing
34
+
35
+ 1. Fork it ( https://github.com/[my-github-username]/omniauth-swagger/fork )
36
+ 2. Create your feature branch (`git checkout -b my-new-feature`)
37
+ 3. Commit your changes (`git commit -am 'Add some feature'`)
38
+ 4. Push to the branch (`git push origin my-new-feature`)
39
+ 5. Create a new Pull Request
@@ -0,0 +1,2 @@
1
+ require "bundler/gem_tasks"
2
+
@@ -0,0 +1,14 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ require "bundler/setup"
4
+ require "omniauth/swagger"
5
+
6
+ # You can add fixtures and/or initialization code here to make experimenting
7
+ # with your gem easier. You can also use a different console, if you like.
8
+
9
+ # (If you use this, don't forget to add pry to your Gemfile!)
10
+ # require "pry"
11
+ # Pry.start
12
+
13
+ require "irb"
14
+ IRB.start
@@ -0,0 +1,7 @@
1
+ #!/bin/bash
2
+ set -euo pipefail
3
+ IFS=$'\n\t'
4
+
5
+ bundle install
6
+
7
+ # Do any other automated setup that you need to do here
@@ -0,0 +1 @@
1
+ providers.netrc
@@ -0,0 +1,7 @@
1
+ # A sample Gemfile
2
+ source "https://rubygems.org"
3
+
4
+ gem 'sinatra', '~> 1.4.6'
5
+ gem 'omniauth-swagger', path: '..'
6
+ gem 'pry-byebug'
7
+ gem 'netrc'
@@ -0,0 +1,62 @@
1
+ require 'sinatra'
2
+ require 'omniauth-swagger'
3
+ require 'pry'
4
+ require 'netrc'
5
+
6
+ # Store client_id as the login, secret as password
7
+ n = Netrc.read(File.join(File.dirname(__FILE__), 'providers.netrc'))
8
+
9
+ configure do
10
+ enable :sessions
11
+
12
+ use OmniAuth::Builder do
13
+ provider :swagger, providers: {
14
+ github: {
15
+ uri: File.join(File.dirname(__FILE__), 'github.json'),
16
+ client_id: n['github'][0],
17
+ client_secret: n['github'][1],
18
+ scope: 'user',
19
+ uid: "get_user#id"
20
+ },
21
+ slack: {
22
+ uri: File.join(File.dirname(__FILE__), 'slack.json'),
23
+ client_id: n['slack'][0],
24
+ client_secret: n['slack'][1],
25
+ scope: 'identity',
26
+ uid: "test_auth#user_id"
27
+ },
28
+ stripe_connect: {
29
+ uri: File.join(File.dirname(__FILE__), 'stripe_connect.json'),
30
+ client_id: n['stripe_connect'][0],
31
+ client_secret: n['stripe_connect'][1],
32
+ uid: { param: "stripe_user_id" }
33
+ }
34
+ }
35
+ end
36
+ end
37
+
38
+ get '/' do
39
+ <<-HTML
40
+ <html>
41
+ <body>
42
+ <ol>
43
+ <li><a href="/auth/swagger?provider=github">Github</a></li>
44
+ <li><a href="/auth/swagger?provider=slack">Slack</a></li>
45
+ <li><a href="/auth/swagger?provider=stripe_connect">Stripe Connect</a></li>
46
+ </ol>
47
+ </body>
48
+ </html>
49
+ HTML
50
+ end
51
+
52
+ get '/auth/:provider/callback' do
53
+ auth = request.env['omniauth.auth']
54
+ <<-HTML
55
+ <html>
56
+ <body>
57
+ Provider: #{params['provider']}<br>
58
+ UID: #{auth['uid']}
59
+ </body>
60
+ </html>
61
+ HTML
62
+ end
@@ -0,0 +1,56 @@
1
+ {
2
+ "swagger": "2.0",
3
+
4
+ "info": {
5
+ "title": "Github",
6
+ "version": "3"
7
+ },
8
+
9
+ "host": "api.github.com",
10
+
11
+ "basePath": "/",
12
+
13
+ "schemes": ["https"],
14
+
15
+ "produces": ["application/json"],
16
+
17
+ "securityDefinitions": {
18
+ "oauth2": {
19
+ "type": "oauth2",
20
+ "flow": "accessCode",
21
+ "authorizationUrl": "https://github.com/login/oauth/authorize",
22
+ "tokenUrl": "https://github.com/login/oauth/access_token",
23
+ "scopes": {
24
+ "user": "Grants read/write access to profile info only.",
25
+ "user:email": "Grants read access to a user’s email addresses.",
26
+ "user:follow": "Grants access to follow or unfollow other users.",
27
+ "public_repo": "Grants read/write access to code, commit statuses, collaborators, and deployment statuses for public repositories and organizations.",
28
+ "repo": "Grants read/write access to code, commit statuses, collaborators, and deployment statuses for public and private repositories and organizations.",
29
+ "repo_deployment": "Grants access to deployment statuses for public and private repositories.",
30
+ "repo:status": "Grants read/write access to public and private repository commit statuses.",
31
+ "delete_repo": "Grants access to delete adminable repositories.",
32
+ "notifications": "Grants read access to a user’s notifications.",
33
+ "gist": "Grants write access to gists.",
34
+ "read:repo_hook": "Grants read and ping access to hooks in public or private repositories.",
35
+ "write:repo_hook": "Grants read, write, and ping access to hooks in public or private repositories.",
36
+ "admin:repo_hook": "Grants read, write, ping, and delete access to hooks in public or private repositories.",
37
+ "admin:org_hook": "Grants read, write, ping, and delete access to organization hooks.",
38
+ "read:org": "Read-only access to organization, teams, and membership.",
39
+ "write:org": "Publicize and unpublicize organization membership.",
40
+ "admin:org": "Fully manage organization, teams, and memberships.",
41
+ "read:public_key": "List and view details for public keys.",
42
+ "write:public_key": "Create, list, and view details for public keys.",
43
+ "admin:public_key": "Fully manage public keys."
44
+ }
45
+ }
46
+ },
47
+
48
+ "paths": {
49
+ "/user": {
50
+ "get": {
51
+ "summary": "Get the authenticated user",
52
+ "operationId": "getUser"
53
+ }
54
+ }
55
+ }
56
+ }
@@ -0,0 +1,4 @@
1
+ machine github
2
+ login GITHUB_CLIENT_ID
3
+ password GITHUB_CLIENT_SECRET
4
+
@@ -0,0 +1,46 @@
1
+ {
2
+ "swagger": "2.0",
3
+
4
+ "info": {
5
+ "title": "Slack Web API",
6
+ "version": "1.0"
7
+ },
8
+
9
+ "host": "slack.com",
10
+
11
+ "basePath": "/api",
12
+
13
+ "schemes": ["https"],
14
+
15
+ "produces": ["application/json"],
16
+
17
+ "securityDefinitions": {
18
+ "oauth2": {
19
+ "type": "oauth2",
20
+ "flow": "accessCode",
21
+ "in": "query",
22
+ "name": "token",
23
+ "authorizationUrl": "https://slack.com/oauth/authorize",
24
+ "tokenUrl": "https://slack.com/api/oauth.access",
25
+ "scopes": {
26
+ "identify": "Allows applications to confirm your identity.",
27
+ "read": "Allows applications to read any messages and state that the user can see.",
28
+ "post": "Allows applications to write messages and create content on behalf of the user.",
29
+ "client": "Allows applications to connect to slack as a client, and post messages on behalf of the user.",
30
+ "admin": "Allows applications to perform administrative actions, requires the authed user is an admin."
31
+ },
32
+ "x-authorizeParameters": [
33
+ "team"
34
+ ]
35
+ }
36
+ },
37
+
38
+ "paths": {
39
+ "/auth.test": {
40
+ "get": {
41
+ "summary": "Checks authentication & identity.",
42
+ "operationId": "testAuth"
43
+ }
44
+ }
45
+ }
46
+ }
@@ -0,0 +1,38 @@
1
+ {
2
+ "swagger": "2.0",
3
+
4
+ "info": {
5
+ "title": "Stripe Connect",
6
+ "version": "1.0"
7
+ },
8
+
9
+ "host": "api.stripe.com",
10
+
11
+ "basePath": "/v1",
12
+
13
+ "schemes": ["https"],
14
+
15
+ "produces": ["application/json"],
16
+
17
+ "securityDefinitions": {
18
+ "oauth2": {
19
+ "type": "oauth2",
20
+ "flow": "accessCode",
21
+ "in": "query",
22
+ "name": "token",
23
+ "authorizationUrl": "https://connect.stripe.com/oauth/authorize",
24
+ "tokenUrl": "https://connect.stripe.com/oauth/token",
25
+ "scopes": {
26
+ "read_only": "Allows read only access.",
27
+ "read_write": "Allows read/write access."
28
+ },
29
+ "x-authorizeParameters": [
30
+ "stripe_landing",
31
+ "always_prompt"
32
+ ]
33
+ }
34
+ },
35
+
36
+ "paths": {}
37
+ }
38
+
@@ -0,0 +1,2 @@
1
+ require 'omniauth/swagger/version'
2
+ require 'omniauth/strategies/swagger'
@@ -0,0 +1,96 @@
1
+ require 'omniauth-oauth2'
2
+ require 'open-uri'
3
+ require 'omniauth/swagger/oauth2_definition'
4
+ require 'diesel'
5
+
6
+ module OmniAuth
7
+ module Strategies
8
+
9
+ class Swagger < OmniAuth::Strategies::OAuth2
10
+
11
+ option :providers, {}
12
+
13
+ def setup_phase
14
+ load_definition
15
+ @definition.load_options(options)
16
+ super
17
+ end
18
+
19
+ def authorize_params
20
+ super.tap do |params|
21
+ passthru_params = @definition.authorize_params || []
22
+ if @definition.scopes != nil && @definition.scopes.any?
23
+ passthru_params << 'scope'
24
+ end
25
+ passthru_params.each do |v|
26
+ if request.params[v]
27
+ params[v.to_sym] = request.params[v]
28
+ end
29
+ end
30
+ end
31
+ end
32
+
33
+ def callback_url
34
+ url = super
35
+ url + (url.index('?') ? '&' : '?') + "provider=#{request.params['provider']}"
36
+ end
37
+
38
+ uid do
39
+ uid_option = provider_options[:uid]
40
+ if uid_option.kind_of? Hash
41
+ if uid_option[:api]
42
+ uid_from_api(uid_option[:api])
43
+ elsif uid_option[:param]
44
+ access_token.params[uid_option[:param]]
45
+ else
46
+ raise "Unsupported UID option: #{uid_option.inspect}"
47
+ end
48
+ else
49
+ uid_from_api(uid_option)
50
+ end
51
+ end
52
+
53
+ protected
54
+ def provider_options
55
+ @provider_options ||= options[:providers][request.params['provider']]
56
+ end
57
+
58
+ def uid_from_api(signature)
59
+ operation, key = signature.split('#')
60
+ raw_info[key].to_s
61
+ end
62
+
63
+ def raw_info
64
+ api_class = Diesel.build_api(specification)
65
+ api = api_class.new(@definition.oauth2_key => {token: access_token.token})
66
+ operation, key = provider_options[:uid].split('#')
67
+ api.__send__(operation, {})
68
+ end
69
+
70
+ def load_definition
71
+ specification.security_definitions.each_pair do |name, definition|
72
+ if definition.type == 'oauth2'
73
+ @definition = OmniAuth::Swagger::OAuth2Definition.new(definition, provider_options)
74
+ end
75
+ end
76
+ nil
77
+ end
78
+
79
+ def specification
80
+ @specification ||= load_specification
81
+ end
82
+
83
+ def load_specification
84
+ uri = provider_options[:uri]
85
+ spec = nil
86
+ open(uri) do |f|
87
+ spec = Diesel::Swagger::Parser.new.parse(f)
88
+ end
89
+ spec
90
+ end
91
+
92
+ end
93
+
94
+ end
95
+ end
96
+
@@ -0,0 +1,7 @@
1
+ require "omniauth/swagger/version"
2
+
3
+ module Omniauth
4
+ module Swagger
5
+ # Your code goes here...
6
+ end
7
+ end
@@ -0,0 +1,34 @@
1
+ module OmniAuth
2
+ module Swagger
3
+
4
+ class OAuth2Definition
5
+
6
+ attr_reader :client_id, :client_secret, :client_options
7
+
8
+ def initialize(security_def, options)
9
+ @security_def, @options = security_def, options
10
+ end
11
+
12
+ def load_options(options)
13
+ options[:client_id] = @options[:client_id]
14
+ options[:client_secret] = @options[:client_secret]
15
+ options[:client_options][:authorize_url] = @security_def.authorization_url
16
+ options[:client_options][:token_url] = @security_def.token_url
17
+ options[:scope] = @options[:scope]
18
+ end
19
+
20
+ def oauth2_key
21
+ @security_def.id.to_sym
22
+ end
23
+
24
+ def scopes
25
+ @security_def.scopes ? @security_def.scopes.keys : []
26
+ end
27
+
28
+ def authorize_params
29
+ @security_def.extensions[:authorize_parameters]
30
+ end
31
+ end
32
+
33
+ end
34
+ end
@@ -0,0 +1,5 @@
1
+ module Omniauth
2
+ module Swagger
3
+ VERSION = "0.1.1"
4
+ end
5
+ end
@@ -0,0 +1,27 @@
1
+ # coding: utf-8
2
+ lib = File.expand_path('../lib', __FILE__)
3
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
+ require 'omniauth/swagger/version'
5
+
6
+ Gem::Specification.new do |spec|
7
+ spec.name = "omniauth-swagger"
8
+ spec.version = Omniauth::Swagger::VERSION
9
+ spec.authors = ["Calvin Yu"]
10
+ spec.email = ["me@sourcebender.com"]
11
+
12
+ spec.summary = %q{OmniAuth strategy for authenticating from Swagger specifications}
13
+ spec.description = %q{Uses a spec's security definition information to build the oauth2 strategy}
14
+ spec.homepage = "http://github.com/incominghq/omniauth-swagger"
15
+ spec.license = "MIT"
16
+
17
+ spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
18
+ spec.bindir = "exe"
19
+ spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
20
+ spec.require_paths = ["lib"]
21
+
22
+ spec.add_development_dependency "bundler", "~> 1.8"
23
+ spec.add_development_dependency "rake", "~> 10.0"
24
+
25
+ spec.add_dependency "omniauth-oauth2", "~> 1.3.0"
26
+ spec.add_dependency "diesel-api-dsl", ">= 0.1.3"
27
+ end
metadata ADDED
@@ -0,0 +1,124 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: omniauth-swagger
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.1
5
+ platform: ruby
6
+ authors:
7
+ - Calvin Yu
8
+ autorequire:
9
+ bindir: exe
10
+ cert_chain: []
11
+ date: 2015-06-03 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: bundler
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: '1.8'
20
+ type: :development
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '1.8'
27
+ - !ruby/object:Gem::Dependency
28
+ name: rake
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: '10.0'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: '10.0'
41
+ - !ruby/object:Gem::Dependency
42
+ name: omniauth-oauth2
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - "~>"
46
+ - !ruby/object:Gem::Version
47
+ version: 1.3.0
48
+ type: :runtime
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - "~>"
53
+ - !ruby/object:Gem::Version
54
+ version: 1.3.0
55
+ - !ruby/object:Gem::Dependency
56
+ name: diesel-api-dsl
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - ">="
60
+ - !ruby/object:Gem::Version
61
+ version: 0.1.3
62
+ type: :runtime
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - ">="
67
+ - !ruby/object:Gem::Version
68
+ version: 0.1.3
69
+ description: Uses a spec's security definition information to build the oauth2 strategy
70
+ email:
71
+ - me@sourcebender.com
72
+ executables: []
73
+ extensions: []
74
+ extra_rdoc_files: []
75
+ files:
76
+ - ".gitignore"
77
+ - ".rspec"
78
+ - ".travis.yml"
79
+ - CODE_OF_CONDUCT.md
80
+ - Gemfile
81
+ - LICENSE
82
+ - README.md
83
+ - Rakefile
84
+ - bin/console
85
+ - bin/setup
86
+ - examples/.gitignore
87
+ - examples/Gemfile
88
+ - examples/Gemfile.lock
89
+ - examples/app.rb
90
+ - examples/github.json
91
+ - examples/providers.netrc.sample
92
+ - examples/slack.json
93
+ - examples/stripe_connect.json
94
+ - lib/omniauth-swagger.rb
95
+ - lib/omniauth/strategies/swagger.rb
96
+ - lib/omniauth/swagger.rb
97
+ - lib/omniauth/swagger/oauth2_definition.rb
98
+ - lib/omniauth/swagger/version.rb
99
+ - omniauth-swagger.gemspec
100
+ homepage: http://github.com/incominghq/omniauth-swagger
101
+ licenses:
102
+ - MIT
103
+ metadata: {}
104
+ post_install_message:
105
+ rdoc_options: []
106
+ require_paths:
107
+ - lib
108
+ required_ruby_version: !ruby/object:Gem::Requirement
109
+ requirements:
110
+ - - ">="
111
+ - !ruby/object:Gem::Version
112
+ version: '0'
113
+ required_rubygems_version: !ruby/object:Gem::Requirement
114
+ requirements:
115
+ - - ">="
116
+ - !ruby/object:Gem::Version
117
+ version: '0'
118
+ requirements: []
119
+ rubyforge_project:
120
+ rubygems_version: 2.4.5
121
+ signing_key:
122
+ specification_version: 4
123
+ summary: OmniAuth strategy for authenticating from Swagger specifications
124
+ test_files: []