Constructors
constructor
- new AccessTokenEvents(args): AccessTokenEvents
Parameters
- args: {
expiringNotificationTimeInSeconds: number;
}expiringNotificationTimeInSeconds: number
Methods
addAccessTokenExpired
- addAccessTokenExpired(cb): (() => void)
Returns (() => void)
addAccessTokenExpiring
- addAccessTokenExpiring(cb): (() => void)
Returns (() => void)
load
- load(container): void
Returns void
removeAccessTokenExpired
- removeAccessTokenExpired(cb): void
Returns void
removeAccessTokenExpiring
- removeAccessTokenExpiring(cb): void
Returns void
unload
- unload(): void
Returns void
Add callback: Raised after the access token has expired.