Skip to content

BaseOidcClient

OidcClient without methods for testing

Extended by

Properties

authHookSettings

authHookSettings: OIDCClientAuthHookSettings

Cookie settings

Defined in

src/core/BaseOidcClient.ts:42


authParams

authParams: AuthorizationParameters

OIDC Authorization parameters

Defined in

src/core/BaseOidcClient.ts:36


baseUrl

baseUrl: string

Client Base URL

Defined in

src/core/BaseOidcClient.ts:30


client

client: BaseClient

OIDC Client (Initialize at factory())

Defined in

src/core/BaseOidcClient.ts:46


clientMetadata

clientMetadata: ClientMetadata

OIDC Client metadata

Defined in

src/core/BaseOidcClient.ts:34


clients

clients: Record<string, BaseClient>

OIDC Clients for multiple issuers (Initialize at factory())

Defined in

src/core/BaseOidcClient.ts:48


cookieSettings

cookieSettings: OIDCClientCookieSettings

Cookie settings

Defined in

src/core/BaseOidcClient.ts:40


initialized

initialized: boolean = false

Initialized

Defined in

src/core/BaseOidcClient.ts:54


issuer

issuer: Issuer<BaseClient>

OIDC Issuer (Initialize at factory())

Defined in

src/core/BaseOidcClient.ts:44


issuerUrl

issuerUrl: string

OIDC IdP URL

Defined in

src/core/BaseOidcClient.ts:32


logger

logger: undefined | OIDCClientLogger

Logger

Defined in

src/core/BaseOidcClient.ts:52


sessions

sessions: OIDCClientDataAdapter

Plugin database

Defined in

src/core/BaseOidcClient.ts:50


settings

settings: OIDCClientSettings

Plugin settings

Defined in

src/core/BaseOidcClient.ts:38

Accessors

paths

get paths(): OIDCClientPaths

Get list of endpoint paths

Returns

OIDCClientPaths

Record<string, string>

Defined in

src/core/BaseOidcClient.ts:134

Methods

registerClient()

registerClient(client): void

Add another client to client list

  • For multiple issuers

Parameters

client: BaseClient

Client

Returns

void

Defined in

src/core/BaseOidcClient.ts:125


factory()

static factory(options): Promise<BaseOidcClient>

Create BaseOidcClient instance

Parameters

options: OIDCClientOptions

Returns

Promise<BaseOidcClient>

BaseOidcClient instance

Static

Defined in

src/core/BaseOidcClient.ts:108