@audiotool/nexus - v0.0.12
    Preparing search index...

    Type Alias LoggedInStatus

    type LoggedInStatus = {
        getToken: () => Promise<string | Error>;
        loggedIn: true;
        logout: () => void;
        getUserName(): Promise<string | Error>;
    }
    Index

    Properties

    getToken: () => Promise<string | Error>

    Get the current authentication token. Might refresh the token if need be, but most often just returns the token.

    loggedIn: true

    The app is authorized to make actions on a user's behalf.

    logout: () => void

    Log the current user out and reload the page.

    Methods