Member Junction
    Preparing search index...

    Variable verifyUserRecordConst

    verifyUserRecord: (
        email?: string,
        firstName?: string,
        lastName?: string,
        requestDomain?: string,
        dataSource?: ConnectionPool,
        attemptCacheUpdateIfNeeded?: boolean,
    ) => Promise<UserInfo> = VerifyUserRecord

    Type Declaration

      • (
            email?: string,
            firstName?: string,
            lastName?: string,
            requestDomain?: string,
            dataSource?: ConnectionPool,
            attemptCacheUpdateIfNeeded?: boolean,
        ): Promise<UserInfo>
      • Resolves a verified identity to an MJ UserInfo, optionally auto-provisioning a new user.

        Parameters

        • Optionalemail: string
        • OptionalfirstName: string
        • OptionallastName: string
        • OptionalrequestDomain: string

          the hostname parsed from the request's Origin header. Not used for any authorization decision — it is spoofable on non-browser requests, and new-user domain authorization runs against the verified JWT's email domain instead. Retained for audit logging and for the recursive retry call.

        • OptionaldataSource: ConnectionPool
        • attemptCacheUpdateIfNeeded: boolean = true

        Returns Promise<UserInfo>

    Use VerifyUserRecord.