iya-sts
    Preparing search index...
    authorizeTarget: (principal: any, target: any) => any = ...

    Type Declaration

      • (principal: any, target: any): any
      • Applies the identity rule: a principal may be issued a certificate for its own entry, and an administrator for any person or application in the realm.

        Parameters

        • principal: any

          the authenticated principal

        • target: any

          the entry the certificate is for

        Returns any

        ok, whether it is for the principal itself and whether as an administrator; or a refusal