Skip to main content

Function: onDidChangeSessions()

onDidChangeSessions(listener, thisArgs?, disposables?): Disposable

An event which fires when the authentication sessions of an authentication provider have been added, removed, or changed.

Parameters

listener

(e) => any

The listener function will be called when the event happens.

thisArgs?

any

The this-argument which will be used when calling the event listener.

disposables?

Disposable[]

An array to which the resulting Disposable will be added.

Returns

Disposable

A disposable which unsubscribes the event listener.

Defined in

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