Skip to main content

Interface: AuthenticationProviderAuthenticationSessionsChangeEvent

An event which fires when an AuthenticationSession is added, removed, or changed.

Properties

added?

optional readonly added: readonly AuthenticationSession[]

The AuthenticationSessions of the AuthenticationProvider that have been added.

Source

packages/extension-api/src/extension-api.d.ts:3195


changed?

optional readonly changed: readonly AuthenticationSession[]

The AuthenticationSessions of the AuthenticationProvider that have been changed. A session changes when its data excluding the id are updated. An example of this is a session refresh that results in a new access token being set for the session.

Source

packages/extension-api/src/extension-api.d.ts:3207


removed?

optional readonly removed: readonly AuthenticationSession[]

The AuthenticationSessions of the AuthenticationProvider that have been removed.

Source

packages/extension-api/src/extension-api.d.ts:3200