Theia API Documentation v1.65.0
Eclipse Theia Website
GitHub
Preparing search index...
@theia/plugin-ext
common/plugin-api-rpc
AuthenticationExt
Interface AuthenticationExt
interface
AuthenticationExt
{
$createSession
(
id
:
string
,
scopes
:
string
[]
,
options
:
AuthenticationProviderSessionOptions
,
)
:
Promise
<
AuthenticationSession
>
;
$getSessions
(
providerId
:
string
,
scopes
:
undefined
|
string
[]
,
options
:
AuthenticationProviderSessionOptions
,
)
:
Promise
<
readonly
AuthenticationSession
[]
>
;
$onDidChangeAuthenticationSessions
(
provider
:
AuthenticationProviderInformation
,
)
:
Promise
<
void
>
;
$removeSession
(
id
:
string
,
sessionId
:
string
)
:
Promise
<
void
>
;
}
Implemented by
AuthenticationExtImpl
Index
Methods
$create
Session
$get
Sessions
$on
Did
Change
Authentication
Sessions
$remove
Session
Methods
$create
Session
$createSession
(
id
:
string
,
scopes
:
string
[]
,
options
:
AuthenticationProviderSessionOptions
,
)
:
Promise
<
AuthenticationSession
>
Parameters
id
:
string
scopes
:
string
[]
options
:
AuthenticationProviderSessionOptions
Returns
Promise
<
AuthenticationSession
>
$get
Sessions
$getSessions
(
providerId
:
string
,
scopes
:
undefined
|
string
[]
,
options
:
AuthenticationProviderSessionOptions
,
)
:
Promise
<
readonly
AuthenticationSession
[]
>
Parameters
providerId
:
string
scopes
:
undefined
|
string
[]
options
:
AuthenticationProviderSessionOptions
Returns
Promise
<
readonly
AuthenticationSession
[]
>
$on
Did
Change
Authentication
Sessions
$onDidChangeAuthenticationSessions
(
provider
:
AuthenticationProviderInformation
,
)
:
Promise
<
void
>
Parameters
provider
:
AuthenticationProviderInformation
Returns
Promise
<
void
>
$remove
Session
$removeSession
(
id
:
string
,
sessionId
:
string
)
:
Promise
<
void
>
Parameters
id
:
string
sessionId
:
string
Returns
Promise
<
void
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Methods
$create
Session
$get
Sessions
$on
Did
Change
Authentication
Sessions
$remove
Session
Eclipse Theia Website
GitHub
Theia API Documentation v1.65.0
Loading...