module BWAPI::Client::SSO

SSO module for sso endpoint

Public Instance Methods

sso(user_id) click to toggle source

Authorize another user for access

@note must have sso oauth_token @see oauth_token

@param user_id [Integer] The user id @return [Hash] User authorization

# File lib/bwapi/client/sso.rb, line 12
def sso(user_id)
  get "sso/#{user_id}"
end
sso_user(opts = {}) click to toggle source

Endpoints to manage users using SSO keys

TODO: Add parameters documentation

# File lib/bwapi/client/sso.rb, line 19
def sso_user(opts = {})
  get 'sso/user', opts
end