iya-sts
    Preparing search index...

    Variable registerFederatedClient

    registerFederatedClient: (
        req: any,
        clientId: string,
        metadata: any,
        federation: any,
        options?: any,
    ) => Promise<any> = ...

    Type Declaration

      • (
            req: any,
            clientId: string,
            metadata: any,
            federation: any,
            options?: any,
        ): Promise<any>
      • Registers a client through an OpenID Federation (#134), held to the checks an RFC 7591 registration is.

        Parameters

        • req: any

          the request

        • clientId: string

          the client's Entity Identifier

        • metadata: any

          its resolved metadata

        • federation: any

          type, expiresAt and trustAnchor

        • Optionaloptions: any

          the registration's options

        Returns Promise<any>

        a promise of { ok: true, record }, or { ok: false, error, description, code }