Toggle menu

JSON RPC Methods

The worker supports five JSONRPC methods.

authenticateViaLDAPSSO

Given a username, iterates through all configured LDAP providers attempting to find a matching user.

createLoginSession

Creates a new AuthSession and returns to the caller.

createLogoutSession

Creates an AuthSession and returns performAuthLogout:true along with the as and asn.

getAuthStatus

Given an authSessionId identifying a valid AuthSession, returns the current status of the AuthSession identified by it.

getProviderDetails

Returns details of the configured providers. Called by the Authentication Template article extras form.

renderLoginForm

Creates a new AuthSession and returns the login form to the caller.

sessionExists

Checks to see whether an auth session exists.

updateSession

Updates the specified auth session.