Member Junction
    Preparing search index...

    Interface VerificationPorts

    Every side effect the workflow needs.

    interface VerificationPorts {
        GetSettings(): VerificationSettings;
        LoadSession(
            agentSessionId: string,
            caller: VerificationCaller,
        ): Promise<SessionSnapshot>;
        MutateSessionConfig<T>(
            agentSessionId: string,
            caller: VerificationCaller,
            mutate: ConfigMutation<T>,
        ): Promise<ConfigMutationResult<T>>;
        Now(): number;
        PublishVerified(
            routing: {
                AgentSessionID: string;
                OwnerUserID: string;
                ScopeKey: string;
            },
            payload: IdentityVerifiedEventPayload,
        ): { ErrorMessage?: string; Success: boolean };
        SendEmail(
            email: OutboundEmail,
        ): Promise<{ ErrorMessage?: string; Success: boolean }>;
        WriteAudit(entry: VerificationAuditEntry): Promise<void>;
    }

    Implemented by

    Index

    Methods