edilkamin
    Preparing search index...

    Variable signIn

    signIn: (
        username: string,
        password: string,
        legacy?: boolean,
    ) => Promise<string>

    Type Declaration

      • (username: string, password: string, legacy?: boolean): Promise<string>
      • Signs in a user with the provided credentials.

        Parameters

        • username: string

          The username of the user.

        • password: string

          The password of the user.

        • Optionallegacy: boolean = false

          If true, returns accessToken for legacy API.

        Returns Promise<string>

        • The JWT token of the signed-in user.
        • If sign-in fails or no tokens are retrieved.