Preparing search index...
The search index is not available
Theia TypeDoc
Theia TypeDoc
plugin-ext
AuthenticationExtImpl
Class AuthenticationExtImpl
Implements
AuthenticationExt
Index
Constructors
constructor
Properties
authentication
Providers
on
Did
Change
Sessions
on
Did
Change
Sessions
Emitter
proxy
Methods
$create
Session
$get
Sessions
$on
Did
Change
Authentication
Sessions
$remove
Session
get
Accounts
get
Session
register
Authentication
Provider
Constructors
constructor
new
Authentication
Ext
Impl
(
rpc
)
:
AuthenticationExtImpl
Parameters
rpc
:
RPCProtocol
Returns
AuthenticationExtImpl
Properties
Private
authentication
Providers
authentication
Providers
:
Map
<
string
,
AuthenticationProvider
>
= ...
Readonly
on
Did
Change
Sessions
on
Did
Change
Sessions
:
Event
<
AuthenticationSessionsChangeEvent
>
= ...
Private
on
Did
Change
Sessions
Emitter
on
Did
Change
Sessions
Emitter
:
Emitter
<
AuthenticationSessionsChangeEvent
>
= ...
Private
proxy
proxy
:
AuthenticationMain
Methods
$create
Session
$create
Session
(
providerId
,
scopes
,
options
)
:
Promise
<
AuthenticationSession
>
Parameters
providerId
:
string
scopes
:
string
[]
options
:
AuthenticationProviderSessionOptions
Returns
Promise
<
AuthenticationSession
>
$get
Sessions
$get
Sessions
(
providerId
,
scopes
,
options
)
:
Promise
<
readonly
AuthenticationSession
[]
>
Parameters
providerId
:
string
scopes
:
undefined
|
string
[]
options
:
AuthenticationProviderSessionOptions
Returns
Promise
<
readonly
AuthenticationSession
[]
>
$on
Did
Change
Authentication
Sessions
$on
Did
Change
Authentication
Sessions
(
provider
)
:
Promise
<
void
>
Parameters
provider
:
AuthenticationProviderInformation
Returns
Promise
<
void
>
$remove
Session
$remove
Session
(
providerId
,
sessionId
)
:
Promise
<
void
>
Parameters
providerId
:
string
sessionId
:
string
Returns
Promise
<
void
>
get
Accounts
get
Accounts
(
providerId
)
:
Thenable
<
readonly
AuthenticationSessionAccountInformation
[]
>
Parameters
providerId
:
string
Returns
Thenable
<
readonly
AuthenticationSessionAccountInformation
[]
>
get
Session
get
Session
(
requestingExtension
,
providerId
,
scopes
,
options
)
:
Promise
<
AuthenticationSession
>
Parameters
requestingExtension
:
Plugin
providerId
:
string
scopes
:
readonly
string
[]
options
:
AuthenticationGetSessionOptions
&
(
{
createIfNone
:
true
;
}
|
{
forceNewSession
:
true
;
}
|
{
forceNewSession
:
AuthenticationForceNewSessionOptions
;
}
)
Returns
Promise
<
AuthenticationSession
>
get
Session
(
requestingExtension
,
providerId
,
scopes
,
options
)
:
Promise
<
AuthenticationSession
>
Parameters
requestingExtension
:
Plugin
providerId
:
string
scopes
:
readonly
string
[]
options
:
AuthenticationGetSessionOptions
&
{
forceNewSession
:
true
;
}
Returns
Promise
<
AuthenticationSession
>
get
Session
(
requestingExtension
,
providerId
,
scopes
,
options
)
:
Promise
<
AuthenticationSession
>
Parameters
requestingExtension
:
Plugin
providerId
:
string
scopes
:
readonly
string
[]
options
:
AuthenticationGetSessionOptions
&
{
forceNewSession
:
AuthenticationForceNewSessionOptions
;
}
Returns
Promise
<
AuthenticationSession
>
get
Session
(
requestingExtension
,
providerId
,
scopes
,
options
)
:
Promise
<
undefined
|
AuthenticationSession
>
Parameters
requestingExtension
:
Plugin
providerId
:
string
scopes
:
readonly
string
[]
options
:
AuthenticationGetSessionOptions
Returns
Promise
<
undefined
|
AuthenticationSession
>
register
Authentication
Provider
register
Authentication
Provider
(
id
,
label
,
provider
,
options
?
)
:
Disposable
Parameters
id
:
string
label
:
string
provider
:
AuthenticationProvider
Optional
options
:
AuthenticationProviderOptions
Returns
Disposable
Settings
Member Visibility
Protected
Private
Inherited
Theme
OS
Light
Dark
On This Page
constructor
authentication
Providers
on
Did
Change
Sessions
on
Did
Change
Sessions
Emitter
proxy
$create
Session
$get
Sessions
$on
Did
Change
Authentication
Sessions
$remove
Session
get
Accounts
get
Session
register
Authentication
Provider
Theia TypeDoc
Loading...