Module: Authkeeper::VkAuthApi::Requests::Info

Included in:
Client
Defined in:
app/lib/authkeeper/vk_auth_api/requests/info.rb

Instance Method Summary collapse

Instance Method Details

#info(access_token:, client_id:) ⇒ Object



7
8
9
10
11
12
13
14
15
# File 'app/lib/authkeeper/vk_auth_api/requests/info.rb', line 7

def info(access_token:, client_id:)
  post(
    path: 'oauth2/user_info',
    body: {
      access_token: access_token,
      client_id: client_id
    }
  )
end