Skip to main content
API Reference NSDK NSDKSession

logout

Clears cached auth tokens from persistent storage without requiring an NSDK session....

Declaration

static func logout()

Summary

Clears cached auth tokens from persistent storage without requiring an NSDK session.
This is the preferred logout path. It can be called before NSDK is initialized or after
it has been destroyed. Any running session will pick up the cleared tokens on its next
reconciliation cycle.