Cotal TypeScript packages
    Preparing search index...

    Type Alias IssueRemoteManagerAuthorityArgs

    IssueRemoteManagerAuthorityArgs: ManagerAuthorityHolder & {
        authorizeRenewal?: (
            args: { owner: string; request: RemoteManagerAuthorityRequest },
        ) => Promise<void>;
        issue: (
            args: {
                actors: ReturnType<typeof remoteManagerActors>;
                owner: string;
                request: RemoteManagerAuthorityRequest;
            },
        ) => Promise<
            {
                credentials: RemoteManagerAuthorityMaterial["credentials"];
                nextRegistrationProof?: string;
            },
        >;
        now?: () => number;
        request: RemoteManagerAuthorityRequest;
    }

    Host-only typed request after the IdP proof and ledger row (a human holder) or the platform control assignment (a platform holder) have been authenticated.

    Type Declaration

    • OptionalauthorizeRenewal?: (
          args: { owner: string; request: RemoteManagerAuthorityRequest },
      ) => Promise<void>

      The host must fresh-read the assigned account, manager gate and, for a run, activated journal attempt before signing. No callback means the renewal operation is unavailable.

    • issue: (
          args: {
              actors: ReturnType<typeof remoteManagerActors>;
              owner: string;
              request: RemoteManagerAuthorityRequest;
          },
      ) => Promise<
          {
              credentials: RemoteManagerAuthorityMaterial["credentials"];
              nextRegistrationProof?: string;
          },
      >

      The host-side phase executor. It validates the live instance/gate state and signs only the phase's fixed profile set for the caller-generated nkeys.

    • Optionalnow?: () => number
    • request: RemoteManagerAuthorityRequest