iya-sts
    Preparing search index...
    ensure: (identifier: string, options?: ActOptions) => FgaResult = ...

    Type Declaration

      • (identifier: string, options?: ActOptions): FgaResult
      • Gives an application its default fine-grained policy if it has none of its own: one built from fga-default, written to ou=policies with xacmlApplication, and named on the application as appFgaPolicy.

        Parameters

        • identifier: string

          the application's identifier

        • Optionaloptions: ActOptions

          actor

        Returns FgaResult

        { ok, policy, created }, or a refusal: an unknown application (STS-FGA-0009), a policy that could not be written (STS-FGA-0008) or a reference that could not be (STS-FGA-0012)