Skip to main content

Interface: AuthenticationProviderAuthenticationSessionsChangeEvent

Defined in: packages/extension-api/src/extension-api.d.ts:4087

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

Properties

added?

readonly optional added: readonly AuthenticationSession[]

Defined in: packages/extension-api/src/extension-api.d.ts:4091

The AuthenticationSessions of the AuthenticationProvider that have been added.


changed?

readonly optional changed: readonly AuthenticationSession[]

Defined in: packages/extension-api/src/extension-api.d.ts:4103

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.


removed?

readonly optional removed: readonly AuthenticationSession[]

Defined in: packages/extension-api/src/extension-api.d.ts:4096

The AuthenticationSessions of the AuthenticationProvider that have been removed.