iya-sts
    Preparing search index...

    Variable noteApplied

    noteApplied: (
        username: any,
        clientId: any,
        scopes: any,
    ) => { ok: boolean; scopes: any[]; stored: boolean } = ...

    Type Declaration

      • (
            username: any,
            clientId: any,
            scopes: any,
        ): { ok: boolean; scopes: any[]; stored: boolean }
      • Records that an application's global consent answered for a person, once per (application, scope): a scope already recorded is not written again, so a sign-in costs a directory write only the first time.

        Never throws: a record that cannot be written is logged and the sign-in goes on, because nothing reads it to decide anything.

        Parameters

        • username: any

          the person

        • clientId: any

          the application's client_id

        • scopes: any

          the scopes the global consent answered

        Returns { ok: boolean; scopes: any[]; stored: boolean }

        { ok, stored, scopes }, scopes being those written now