supertokens-node
    Preparing search index...

    Variable getCredential

    getCredential: (
        input: {
            recipeUserId: string;
            userContext?: Record<string, any>;
            webauthnCredentialId: string;
        },
    ) => Promise<
        | GetCredentialErrorResponse
        | {
            createdAt: number;
            recipeUserId: RecipeUserId;
            relyingPartyId: string;
            status: "OK";
            webauthnCredentialId: string;
        },
    > = Wrapper.getCredential

    Type declaration

      • (
            input: {
                recipeUserId: string;
                userContext?: Record<string, any>;
                webauthnCredentialId: string;
            },
        ): Promise<
            | GetCredentialErrorResponse
            | {
                createdAt: number;
                recipeUserId: RecipeUserId;
                relyingPartyId: string;
                status: "OK";
                webauthnCredentialId: string;
            },
        >
      • Parameters

        • input: {
              recipeUserId: string;
              userContext?: Record<string, any>;
              webauthnCredentialId: string;
          }

        Returns Promise<
            | GetCredentialErrorResponse
            | {
                createdAt: number;
                recipeUserId: RecipeUserId;
                relyingPartyId: string;
                status: "OK";
                webauthnCredentialId: string;
            },
        >