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) ⇒ Hashie::Mash

Note:

must have sso oauth_token

Authorize another user for access

Parameters:

  • user_id (Integer)

    The user id

Returns:

  • (Hashie::Mash)

    User authorization

See Also:



14
15
16
# File 'lib/bwapi/client/sso.rb', line 14

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