Interface AuthenticationExt
Methods
$createSession
- $createSession(id: string, scopes: string[]): Promise<AuthenticationSession>
Parameters
id: string
scopes: string[]
Returns Promise<AuthenticationSession>
$getSessions
- $getSessions(id: string, scopes?: string[]): Promise<readonly AuthenticationSession[]>
Parameters
id: string
Optional scopes: string[]
Returns Promise<readonly AuthenticationSession[]>
$onDidChangeAuthenticationSessions
- $onDidChangeAuthenticationSessions(provider: AuthenticationProviderInformation): Promise<void>
Parameters
provider: AuthenticationProviderInformation
Returns Promise<void>
$removeSession
- $removeSession(id: string, sessionId: string): Promise<void>
Parameters
id: string
sessionId: string
Returns Promise<void>