Function Signature
Description
APortalAuth method. Deletes the persisted session for the configured auth environment, so a later restoreSession returns null, and forgets the grant handleRedirect last exchanged.
This is not a sign-out on its own: an initialized Portal that already holds the session keeps working. To sign a user out, call Portal().clearSession(), then this method.
Available starting from portal_flutter 2.0.0.
Parameters
This method takes no parameters.Returns
Future<void> - Completes once the stored session is deleted.