AuthenticationProvider

A provider for performing authentication to a service.

Online Documentation

Properties

Link copied to clipboard

An Event which fires when the array of sessions has changed, or data within a session has changed.

Functions

Link copied to clipboard
abstract fun createSession(scopes: ReadonlyArray<ERROR CLASS: Symbol not found for JsString>, options: AuthenticationProviderSessionOptions): PromiseLike<AuthenticationSession>

Prompts a user to login.

Link copied to clipboard
abstract fun getSessions(scopes: ReadonlyArray<ERROR CLASS: Symbol not found for JsString>?, options: AuthenticationProviderSessionOptions): PromiseLike<ReadonlyArray<AuthenticationSession>>

Get a list of sessions.

Link copied to clipboard
abstract fun removeSession(sessionId: String): PromiseLike<Void>

Removes the session corresponding to session id.