soundcloud-api-ts-next
    Preparing search index...

    Interface AuthState

    Authentication state tracked by the SoundCloud provider context.

    interface AuthState {
        accessToken: string | null;
        expiresAt: number | null;
        isAuthenticated: boolean;
        refreshToken: string | null;
        user: SoundCloudUser | null;
    }
    Index

    Properties

    accessToken: string | null

    Current OAuth access token, or null.

    expiresAt: number | null

    Timestamp (ms since epoch) when the access token expires, or null.

    isAuthenticated: boolean

    Whether the user is currently authenticated.

    refreshToken: string | null

    Current OAuth refresh token, or null.

    user: SoundCloudUser | null

    The authenticated user's profile, or null if not logged in.