Sha256: 45d41bc0fcc51ca5f7e1ca31c8e5eee3fef9248aaf8fa57b761190055bc9af1b
Contents?: true
Size: 1.7 KB
Versions: 2
Compression:
Stored size: 1.7 KB
Contents
# frozen_string_literal: true # This file was auto-generated by lib/tasks/web.rake module Slack module Web module Api module Endpoints module OpenidConnect # # Exchanges a temporary OAuth verifier code for an access token for Sign in with Slack. # # @option options [string] :client_id # Issued when you created your application. # @option options [string] :client_secret # Issued when you created your application. # @option options [string] :code # The code param returned via the OAuth callback. # @option options [enum] :grant_type # The grant_type param as described in the OAuth spec. # @option options [string] :redirect_uri # This must match the originally submitted URI (if one was sent). # @option options [string] :refresh_token # The refresh_token param as described in the OAuth spec. # @see https://api.slack.com/methods/openid.connect.token # @see https://github.com/slack-ruby/slack-api-ref/blob/master/methods/openid.connect/openid.connect.token.json def openid_connect_token(options = {}) post('openid.connect.token', options) end # # Get the identity of a user who has authorized Sign in with Slack. # # @see https://api.slack.com/methods/openid.connect.userInfo # @see https://github.com/slack-ruby/slack-api-ref/blob/master/methods/openid.connect/openid.connect.userInfo.json def openid_connect_userInfo(options = {}) post('openid.connect.userInfo', options) end end end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
slack-ruby-client-2.4.0 | lib/slack/web/api/endpoints/openid_connect.rb |
slack-ruby-client-2.3.0 | lib/slack/web/api/endpoints/openid_connect.rb |