logout
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(
success = { _ -> ... }, // Do something
failure = { error -> ... } // Handle a ReachFive error
)
Response
Type: Unit
ReachFiveError
message |
The message of the error. |
||||||||||||||
getErrorCode() |
The error code’s enumeration value. |
||||||||||||||
code |
The HTTP status code or SDK error code. |
||||||||||||||
exception |
The stack trace of the error. |
||||||||||||||
data |
Additional data about the error.
|