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
-
#sso(user_id) ⇒ Hash
Authorize another user for access.
-
#sso_user(opts = {}) ⇒ Object
Endpoints to manage users using SSO keys.
Instance Method Details
#sso(user_id) ⇒ Hash
Note:
must have sso oauth_token
Authorize another user for access
12 13 14 |
# File 'lib/bwapi/client/sso.rb', line 12 def sso(user_id) get "sso/#{user_id}" end |
#sso_user(opts = {}) ⇒ Object
Endpoints to manage users using SSO keys
TODO: Add parameters documentation
19 20 21 |
# File 'lib/bwapi/client/sso.rb', line 19 def sso_user(opts = {}) get 'sso/user', opts end |