The user's login / account state: a status plus the user when signed in.

user is null for any frame not granted auth:identity — even when status is 'signed-in'. See SandboxUser for how an app earns it.

interface AuthState {
    status: AuthStatus;
    user: null | SandboxUser;
}

Properties

Properties

status: AuthStatus
user: null | SandboxUser