oidc-client-rx
Version:
ReactiveX enhanced OIDC and OAuth2 protocol support for browser-based JavaScript applications
18 lines • 583 B
TypeScript
import { type Observable } from "rxjs";
import type { EventTypes } from "./event-types";
import type { OidcClientNotification } from "./notification";
export declare class PublicEventsService {
private readonly notify;
/**
* Fires a new event.
*
* @param type The event type.
* @param value The event value.
*/
fireEvent<T>(type: EventTypes, value?: T): void;
/**
* Wires up the event notification observable.
*/
registerForEvents(): Observable<OidcClientNotification<any>>;
}
//# sourceMappingURL=public-events.service.d.ts.map