Class: OAuth2c::Grants::Implicit

Inherits:
ThreeLegged::Base show all
Defined in:
lib/oauth2c/grants/implicit.rb

Instance Attribute Summary

Attributes inherited from ThreeLegged::Base

#scope

Instance Method Summary collapse

Methods inherited from ThreeLegged::Base

#authz_url, #initialize, #update_scope

Constructor Details

This class inherits a constructor from OAuth2c::ThreeLegged::Base

Instance Method Details

#token(callback_url) ⇒ Object



20
21
22
23
24
# File 'lib/oauth2c/grants/implicit.rb', line 20

def token(callback_url)
  super(callback_url) do |_, fragment_params|
    AccessToken.new(**fragment_params)
  end
end