Module: BWAPI::Client::SSO

Included in:
BWAPI::Client
Defined in:
lib/bwapi/client/sso.rb

Overview

SSO module for sso endpoint

Instance Method Summary collapse

Instance Method Details

#sso(user_id) ⇒ Hash

Note:

must have sso oauth_token

Authorize another user for access

Parameters:

  • user_id (Integer)

    The user id

Returns:

  • (Hash)

    User authorization

See Also:



12
13
14
# File 'lib/bwapi/client/sso.rb', line 12

def sso(user_id)
  get "sso/#{user_id}"
end