Preparing search index...
The search index is not available
jsforce
jsforce
registry/file
FileRegistry
Class FileRegistry
Hierarchy (
view full
)
BaseRegistry
FileRegistry
Index
Constructors
constructor
Properties
_config
File
Path
_registry
Config
Methods
_find
Client
Name
_get
Clients
_get
Connections
_save
Config
get
Client
Config
get
Client
Names
get
Connection
get
Connection
Config
get
Connection
Names
register
Client
Config
remove
Connection
Config
save
Connection
Config
set
Default
Connection
Constructors
constructor
new
File
Registry
(
__namedParameters
)
:
FileRegistry
Parameters
__namedParameters
:
{
configFilePath
?:
string
;
}
Optional
config
File
Path
?:
string
Returns
FileRegistry
Properties
_config
File
Path
_config
File
Path
:
string
_registry
Config
_registry
Config
:
RegistryConfig
= {}
Methods
_find
Client
Name
_find
Client
Name
(
__namedParameters
)
:
null
|
string
Parameters
__namedParameters
:
ClientConfig
Returns
null
|
string
_get
Clients
_get
Clients
(
)
:
{
[
name
:
string
]
:
ClientConfig
;
}
Returns
{
[
name
:
string
]
:
ClientConfig
;
}
[
name
:
string
]:
ClientConfig
_get
Connections
_get
Connections
(
)
:
{
[
name
:
string
]
:
PersistConnectionConfig
;
}
Returns
{
[
name
:
string
]
:
PersistConnectionConfig
;
}
[
name
:
string
]:
PersistConnectionConfig
_save
Config
_save
Config
(
)
:
void
Returns
void
get
Client
Config
get
Client
Config
(
name
)
:
Promise
<
{
clientId
?:
string
;
clientSecret
?:
string
;
loginUrl
?:
string
;
redirectUri
?:
string
;
}
>
Parameters
name
:
string
Returns
Promise
<
{
clientId
?:
string
;
clientSecret
?:
string
;
loginUrl
?:
string
;
redirectUri
?:
string
;
}
>
get
Client
Names
get
Client
Names
(
)
:
Promise
<
string
[]
>
Returns
Promise
<
string
[]
>
get
Connection
get
Connection
<
S
>
(
name
)
:
Promise
<
null
|
Connection
<
S
>
>
Type Parameters
S
extends
Schema
=
Schema
Parameters
name
:
string
Returns
Promise
<
null
|
Connection
<
S
>
>
get
Connection
Config
get
Connection
Config
(
name
?
)
:
Promise
<
null
|
{
accessToken
?:
string
;
instanceUrl
?:
string
;
}
|
{
accessToken
?:
string
;
instanceUrl
?:
string
;
oauth2
:
{
clientId
?:
string
;
clientSecret
?:
string
;
loginUrl
?:
string
;
redirectUri
?:
string
;
}
;
}
>
Parameters
Optional
name
:
string
Returns
Promise
<
null
|
{
accessToken
?:
string
;
instanceUrl
?:
string
;
}
|
{
accessToken
?:
string
;
instanceUrl
?:
string
;
oauth2
:
{
clientId
?:
string
;
clientSecret
?:
string
;
loginUrl
?:
string
;
redirectUri
?:
string
;
}
;
}
>
get
Connection
Names
get
Connection
Names
(
)
:
Promise
<
string
[]
>
Returns
Promise
<
string
[]
>
register
Client
Config
register
Client
Config
(
name
,
clientConfig
)
:
Promise
<
void
>
Parameters
name
:
string
clientConfig
:
ClientConfig
Returns
Promise
<
void
>
remove
Connection
Config
remove
Connection
Config
(
name
)
:
Promise
<
void
>
Parameters
name
:
string
Returns
Promise
<
void
>
save
Connection
Config
save
Connection
Config
(
name
,
connConfig
)
:
Promise
<
void
>
Parameters
name
:
string
connConfig
:
ConnectionConfig
Returns
Promise
<
void
>
set
Default
Connection
set
Default
Connection
(
name
)
:
Promise
<
void
>
Parameters
name
:
string
Returns
Promise
<
void
>
Settings
Member Visibility
Inherited
External
Theme
OS
Light
Dark
On This Page
constructor
_config
File
Path
_registry
Config
_find
Client
Name
_get
Clients
_get
Connections
_save
Config
get
Client
Config
get
Client
Names
get
Connection
get
Connection
Config
get
Connection
Names
register
Client
Config
remove
Connection
Config
save
Connection
Config
set
Default
Connection
jsforce
Loading...