Options
All
  • Public
  • Public/Protected
  • All
Menu

Namespace ServerEmailChallenge

Index

Interfaces

Type Aliases

Type Aliases

AssignmentPolicy: ((newSubjectName: Name, email: string) => Promise<void>)

Type declaration

    • (newSubjectName: Name, email: string): Promise<void>
    • Callback to determine whether the owner of email is allowed to obtain a certificate of newSubjectName. It should throw to disallow assignment.

      Parameters

      • newSubjectName: Name
      • email: string

      Returns Promise<void>

Template: { from: string; html?: string; subject: string; text: string } & Omit<SendMailOptions, "to" | "text" | "html" | "raw">

Email template.

In subject, text, and html fields, the following variables will be replaced:

  • $caPrefix$
  • $requestId$
  • $subjectName$
  • $keyName$
  • $pin$

disableUrlAccess and disableFileAccess are set to true by default, but they may be overridden in the template object.

Generated using TypeDoc