Module: Slack::Web::Api::Endpoints::OpenidConnect
- Included in:
- Slack::Web::Api::Endpoints
- Defined in:
- lib/slack/web/api/endpoints/openid_connect.rb
Instance Method Summary collapse
-
#openid_connect_token(options = {}) ⇒ Object
Exchanges a temporary OAuth verifier code for an access token for Sign in with Slack.
-
#openid_connect_userInfo(options = {}) ⇒ Object
Get the identity of a user who has authorized Sign in with Slack.
Instance Method Details
#openid_connect_token(options = {}) ⇒ Object
Exchanges a temporary OAuth verifier code for an access token for Sign in with Slack.
26 27 28 |
# File 'lib/slack/web/api/endpoints/openid_connect.rb', line 26 def openid_connect_token( = {}) post('openid.connect.token', ) end |
#openid_connect_userInfo(options = {}) ⇒ Object
Get the identity of a user who has authorized Sign in with Slack.
35 36 37 |
# File 'lib/slack/web/api/endpoints/openid_connect.rb', line 35 def openid_connect_userInfo( = {}) post('openid.connect.userInfo', ) end |