Class: OmniAuth::Strategies::MyobAdfsOauth
- Inherits:
-
OAuth2
- Object
- OAuth2
- OmniAuth::Strategies::MyobAdfsOauth
- Defined in:
- lib/omniauth/strategies/myob_adfs_oauth.rb
Instance Method Summary collapse
Instance Method Details
#raw_info ⇒ Object
29 30 31 32 33 |
# File 'lib/omniauth/strategies/myob_adfs_oauth.rb', line 29 def raw_info return @raw_info if @raw_info token = Base64.decode64(access_token.token) @raw_info = JSON.parse(token.scan(/({[^}]*})/).second.first) end |