in packages/oauth-client/src/OAuthClient.ts [82:97]
constructor(options: OAuthClientOptions) {
this.#app = options.app;
this.#storage = options.storage;
this.#eventTarget = new EventTarget();
this.#tokenCache = new StorageValueCacheBuilder<OAuthTokenState>(
this.#storage,
this.#tokenStorageKey(),
)
.withEventEmitter(this.#eventTarget, EVENT_TYPE)
.withBroadcasting(options.broadcaster)
.build();
this.#owner = options.owner || '';
this.#tokenLifetime = options.tokenLifetime;
}