iya-sts
    Preparing search index...

    Variable record

    record: (username: any, clientId: any, scopes: any, actor?: any) => any = ...

    Type Declaration

      • (username: any, clientId: any, scopes: any, actor?: any): any
      • Records a person's agreement to scopes for a client, one value per scope in one directory write.

        With no entry to write to it answers stored: false rather than failing, and the person is asked again next time.

        Parameters

        • username: any

          the person

        • clientId: any

          the application's client_id

        • scopes: any

          the scopes agreed to

        • Optionalactor: any

          who did it, for the audit row

        Returns any

        { ok, stored, dn, scopes, reason }