createSession
abstract fun createSession(scopes: ReadonlyArray<JsString>, options: AuthenticationProviderSessionOptions): PromiseLike<AuthenticationSession>(source)
Prompts a user to login.
If login is successful, the onDidChangeSessions event should be fired.
If login fails, a rejected promise should be returned.
If the provider has specified that it does not support multiple accounts, then this should never be called if there is already an existing session matching these scopes.
Parameters
scopes
A list of scopes, permissions, that the new session should be created with.
options
Additional options for creating a session.