omniauth_llx 0.0.5 → 0.0.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,5 +1,5 @@
1
1
  module OmniauthLlx
2
2
  module Llx
3
- VERSION = "0.0.5"
3
+ VERSION = "0.0.6"
4
4
  end
5
5
  end
@@ -5,11 +5,16 @@ require 'rack/utils'
5
5
  require 'uri'
6
6
 
7
7
  module OmniAuthLlx
8
+ def new
9
+ oal = OmniAuthLlx.new
10
+ end
11
+
8
12
  module Strategies
13
+
9
14
  class Llx < OmniAuth::Strategies::OAuth2
10
15
  class NoAuthorizationCodeError < StandardError; end
11
16
  class UnknownSignatureAlgorithmError < NotImplementedError; end
12
-
17
+
13
18
  DEFAULT_SCOPE = 'email'
14
19
 
15
20
  option :client_options, {
@@ -54,7 +59,11 @@ module OmniAuthLlx
54
59
  hash['raw_info'] = raw_info unless skip_info?
55
60
  prune! hash
56
61
  end
57
-
62
+
63
+ def initialize
64
+
65
+ end
66
+
58
67
  def raw_info
59
68
  @raw_info ||= access_token.get('/me', info_options).parsed || {}
60
69
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: omniauth_llx
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.5
4
+ version: 0.0.6
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: