ping-identity
    Preparing search index...

    Type Alias OidcClient

    Native-backed OIDC client handle.

    type OidcClient = {
        id: string;
        endSession(): Promise<boolean>;
        refresh(): Promise<Omit<Tokens, "tokenExpiry">>;
        revoke(): Promise<void>;
        token(): Promise<Omit<Tokens, "tokenExpiry">>;
        userinfo(cache?: boolean): Promise<Record<string, unknown>>;
    }
    Index

    Properties

    id: string

    Internal native identifier for the client.

    Methods

    • Fetch user profile data from the userinfo endpoint.

      Parameters

      • Optionalcache: boolean

        When true, reuse cached userinfo if available.

      Returns Promise<Record<string, unknown>>