EventCoordinator

class EventCoordinator(eventHandlers: List<EventHandler>)

Deprecated

EventCoordinator is deprecated. Use OAuth2Client.events or TokenCredentialManager.events SharedFlow to observe events. Configure rate-limit retry via OAuth2ClientConfiguration.rateLimitRetryCallback. This class will be removed in a future major release.

A centralized coordinator of events emitted throughout Auth Foundation and other Okta SDKs.

Constructors

Link copied to clipboard
constructor(eventHandlers: List<EventHandler>)
constructor(eventHandler: EventHandler)

A convenience constructor for passing in a single EventHandler to invoke when events are emitted.

Functions

Link copied to clipboard
fun sendEvent(event: Event)