Sha256: 15918ad71afb5df12738940f5deeba667a71f3694d4c5321d97d0f6b6a093364
Contents?: true
Size: 416 Bytes
Versions: 4
Compression:
Stored size: 416 Bytes
Contents
require 'single_sign_on' module DiscourseApi module API module SSO def sync_sso(params={}) sso = SingleSignOn.new sso.sso_secret = params[:sso_secret] sso.name = params[:name] sso.username = params[:username] sso.email = params[:email] sso.external_id = params[:external_id] post("/admin/users/sync_sso/", sso.payload) end end end end
Version data entries
4 entries across 4 versions & 1 rubygems