iya-sts
    Preparing search index...

    Variable revokeOwnGrant

    revokeOwnGrant: (username: string, grantId: string, context?: any) => any = ...

    Type Declaration

      • (username: string, grantId: string, context?: any): any
      • The resource owner revoking one of their own grants (/portal/gnap): the grant must be one whose resource owner they are, with something live left, else nothing changes (#432 phase 7).

        Parameters

        • username: string

          the signed-in person, from their session

        • grantId: string

          the grant the form named

        • Optionalcontext: any

          { req }

        Returns any

        { ok: true, grant }, or { ok: false, why }