logout
client.logout(successWithNoContent, failure)
About this command
Kill the SSO session of the profile.
Use the Revoke refresh token endpoint to invalidate all active user tokens on a specific client_id .
|
Examples
client.logout(
successWithNoContent = { _ -> ... }, // Do something
failure = { error -> ... } // Return a ReachFive error
)
Response
Type: Unit
ReachFiveError
message |
The message of the error. |
||||||||||||||
code |
The HTTP status code. |
||||||||||||||
exception |
The stack trace of the error. |
||||||||||||||
data |
Additional data about the error.
|