Preparing search index...
The search index is not available
Theia TypeDoc
Theia TypeDoc
plugin-ext
AuthenticationMainImpl
Class AuthenticationMainImpl
Implements
AuthenticationMain
Index
Constructors
constructor
Properties
authentication
Service
message
Service
proxy
quick
Pick
Service
storage
Service
Methods
$get
Accounts
$get
Session
$logout
$on
Did
Change
Sessions
$register
Authentication
Provider
$unregister
Authentication
Provider
$update
Sessions
get
Sessions
Prompt
is
Access
Allowed
login
Prompt
request
New
Session
select
Session
set
Trusted
Extension
And
Account
Preference
Constructors
constructor
new
Authentication
Main
Impl
(
rpc
,
container
)
:
AuthenticationMainImpl
Parameters
rpc
:
RPCProtocol
container
:
Container
Returns
AuthenticationMainImpl
Properties
Private
Readonly
authentication
Service
authentication
Service
:
AuthenticationService
Private
Readonly
message
Service
message
Service
:
MessageService
Private
Readonly
proxy
proxy
:
AuthenticationExt
Private
Readonly
quick
Pick
Service
quick
Pick
Service
:
QuickPickService
Private
Readonly
storage
Service
storage
Service
:
StorageService
Methods
$get
Accounts
$get
Accounts
(
providerId
)
:
Thenable
<
readonly
AuthenticationSessionAccountInformation
[]
>
Parameters
providerId
:
string
Returns
Thenable
<
readonly
AuthenticationSessionAccountInformation
[]
>
$get
Session
$get
Session
(
providerId
,
scopes
,
extensionId
,
extensionName
,
options
)
:
Promise
<
undefined
|
AuthenticationSession
>
Parameters
providerId
:
string
scopes
:
string
[]
extensionId
:
string
extensionName
:
string
options
:
AuthenticationGetSessionOptions
Returns
Promise
<
undefined
|
AuthenticationSession
>
$logout
$logout
(
providerId
,
sessionId
)
:
Promise
<
void
>
Parameters
providerId
:
string
sessionId
:
string
Returns
Promise
<
void
>
$on
Did
Change
Sessions
$on
Did
Change
Sessions
(
providerId
,
event
)
:
void
Parameters
providerId
:
string
event
:
AuthenticationProviderAuthenticationSessionsChangeEvent
Returns
void
$register
Authentication
Provider
$register
Authentication
Provider
(
id
,
label
,
supportsMultipleAccounts
)
:
Promise
<
void
>
Parameters
id
:
string
label
:
string
supportsMultipleAccounts
:
boolean
Returns
Promise
<
void
>
$unregister
Authentication
Provider
$unregister
Authentication
Provider
(
id
)
:
Promise
<
void
>
Parameters
id
:
string
Returns
Promise
<
void
>
$update
Sessions
$update
Sessions
(
id
,
event
)
:
Promise
<
void
>
Parameters
id
:
string
event
:
AuthenticationProviderAuthenticationSessionsChangeEvent
Returns
Promise
<
void
>
Protected
get
Sessions
Prompt
get
Sessions
Prompt
(
providerId
,
accountName
,
providerName
,
extensionId
,
extensionName
)
:
Promise
<
boolean
>
Parameters
providerId
:
string
accountName
:
string
providerName
:
string
extensionId
:
string
extensionName
:
string
Returns
Promise
<
boolean
>
Protected
is
Access
Allowed
is
Access
Allowed
(
providerId
,
accountName
,
extensionId
)
:
Promise
<
boolean
>
Parameters
providerId
:
string
accountName
:
string
extensionId
:
string
Returns
Promise
<
boolean
>
Protected
login
Prompt
login
Prompt
(
providerName
,
extensionName
,
recreatingSession
,
detail
?
)
:
Promise
<
boolean
>
Parameters
providerName
:
string
extensionName
:
string
recreatingSession
:
boolean
Optional
detail
:
string
Returns
Promise
<
boolean
>
Protected
request
New
Session
request
New
Session
(
providerId
,
scopes
,
extensionId
,
extensionName
)
:
Promise
<
void
>
Parameters
providerId
:
string
scopes
:
string
[]
extensionId
:
string
extensionName
:
string
Returns
Promise
<
void
>
Protected
select
Session
select
Session
(
providerId
,
providerName
,
extensionId
,
extensionName
,
potentialSessions
,
scopes
,
clearSessionPreference
)
:
Promise
<
AuthenticationSession
>
Parameters
providerId
:
string
providerName
:
string
extensionId
:
string
extensionName
:
string
potentialSessions
:
readonly
AuthenticationSession
[]
scopes
:
string
[]
clearSessionPreference
:
boolean
Returns
Promise
<
AuthenticationSession
>
Protected
set
Trusted
Extension
And
Account
Preference
set
Trusted
Extension
And
Account
Preference
(
providerId
,
accountName
,
extensionId
,
extensionName
,
sessionId
)
:
Promise
<
void
>
Parameters
providerId
:
string
accountName
:
string
extensionId
:
string
extensionName
:
string
sessionId
:
string
Returns
Promise
<
void
>
Settings
Member Visibility
Protected
Private
Inherited
Theme
OS
Light
Dark
On This Page
constructor
authentication
Service
message
Service
proxy
quick
Pick
Service
storage
Service
$get
Accounts
$get
Session
$logout
$on
Did
Change
Sessions
$register
Authentication
Provider
$unregister
Authentication
Provider
$update
Sessions
get
Sessions
Prompt
is
Access
Allowed
login
Prompt
request
New
Session
select
Session
set
Trusted
Extension
And
Account
Preference
Theia TypeDoc
Loading...