@grow-codes/oidc - v0.1.2
    Preparing search index...

    Class FakeIdp

    A local OpenID provider for unit and conformance tests: serves /.well-known/openid-configuration and /jwks on 127.0.0.1, mints signed tokens and rotates keys. Never use it outside tests.

    Index
    audience: string

    Audience put into minted tokens.

    failStatus: number | undefined

    When set, the server answers every request with this status.

    hits: Record<string, number> = {}

    Request counters per path.

    issuer: string = ""

    Issuer URL (http://127.0.0.1:<port>), set by start.

    keys: FakeIdpKey[] = []

    Keys published in the JWKS.

    • Removes a key from the JWKS.

      Parameters

      • kid: string

      Returns void