Documentation - v1.2.0-alpha.3
    Preparing search index...

    Client for managing user tokens.

    Index

    Constructors

    Properties

    client: AxiosInstance

    Methods

    • Gets the token status.

      Parameters

      • userId: string

        The user ID.

      • channelIdComposite: string

        The channel ID.

      • include: string = ...

        The optional include parameter.

      Returns Promise<TokenStatus[]>

      A promise that resolves to the token status.

    • Gets the user token.

      Parameters

      • connectionName: string

        The connection name.

      • channelIdComposite: string

        The channel ID.

      • userId: string

        The user ID.

      • Optionalcode: string

        The optional code.

      Returns Promise<TokenResponse>

      A promise that resolves to the user token.

    • Signs the user out.

      Parameters

      • userId: string

        The user ID.

      • connectionName: string

        The connection name.

      • channelIdComposite: string

        The channel ID.

      Returns Promise<void>

      A promise that resolves when the sign-out operation is complete.