oauthLogout

fun oauthLogout(sessions: String, callback: OauthLogoutCallback)

Logs the user out and deletes the user session according to the value of the sessions parameter.

Parameters

sessions

Shows how the user is logged out and how the user session is deleted. The parameter has the following values:

  • sso is used for deleting only the SSO user session.

  • all is used for deleting the SSO user session and invalidating all access and refresh tokens.

Sources

Link copied to clipboard