Class: OmniAuth::Strategies::Slack
- Inherits:
-
OpenIDConnect
- Object
- OpenIDConnect
- OmniAuth::Strategies::Slack
- Defined in:
- lib/omniauth/strategies/slack.rb
Instance Method Summary collapse
-
#initialize(*args, &block) ⇒ Slack
constructor
A new instance of Slack.
- #redirect_uri ⇒ Object
Constructor Details
#initialize(*args, &block) ⇒ Slack
Returns a new instance of Slack.
14 15 16 17 18 |
# File 'lib/omniauth/strategies/slack.rb', line 14 def initialize(*args, &block) super ..identifier = .client_id ..secret = .client_secret end |
Instance Method Details
#redirect_uri ⇒ Object
20 21 22 |
# File 'lib/omniauth/strategies/slack.rb', line 20 def redirect_uri full_host + script_name + callback_path end |