Skip to main content

Interface: AuthenticationProviderAuthenticationSessionsChangeEvent

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

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:4320

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:4332

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:4325

The AuthenticationSessions of the AuthenticationProvider that have been removed.