Credentials
Represents connection credentials Usually it is a login and a password pair Passwords are stored in the secured credentials storage See also: https://datagrok.ai/help/govern/security
Extends
Constructors
new Credentials()
new Credentials(
dart
):Credentials
Parameters
Parameter | Type |
---|---|
dart | any |
Returns
Overrides
Source
Properties
Property | Modifier | Type | Description | Inherited from |
---|---|---|---|---|
dart | public | any | - | Entity .dart |
parameters | public | any | Represents credentials parameters that are hidden from other users and when they are used real values of them will be replaced by values from openParameters. Parameters can be filled with key-value entries that are suitable for the entity that owns that Credentials. | - |
Accessors
author
get
author():User
Who created entity *
Returns
Source
createdOn
get
createdOn():Dayjs
Time when entity was created *
Returns
Dayjs
Source
friendlyName
get
friendlyName():string
Entity friendly name
set
friendlyName(x
):void
Parameters
Parameter | Type |
---|---|
x | string |
Returns
string
Source
id
get
id():string
Entity ID (GUID)
set
id(x
):void
Parameters
Parameter | Type |
---|---|
x | string |
Returns
string
Source
name
get
name():string
Entity short name
set
name(x
):void
Parameters
Parameter | Type |
---|---|
x | string |
Returns
string
Source
nqName
get
nqName():string
Entity full-qualified name
Returns
string
Source
openParameters
get
openParameters():Record
<string
,string
>
Represents opened credential parameters. They will be showed, for example, in the connection edit form. They are updated when parameters are changed and instance is saved. See also CredentialsDataSource.
Returns
Record
<string
, string
>
Source
path
get
path():string
Entity path
Returns
string
Source
updatedOn
get
updatedOn():null
|Dayjs
Time when entity was updated *
Returns
null
| Dayjs
Source
Methods
getProperties()
getProperties():
Promise
<object
>
Gets entity properties
Returns
Promise
<object
>
Inherited from
Source
hasTag()
hasTag(
tag
):boolean
Parameters
Parameter | Type |
---|---|
tag | string |
Returns
boolean
Inherited from
Source
newId()
newId():
void
Generates new id for this entity.
Returns
void
Inherited from
Source
setProperties()
setProperties(
props
):Promise
<any
>
Sets entity properties
Parameters
Parameter | Type |
---|---|
props | object |
Returns
Promise
<any
>
Inherited from
Source
tag()
tag(
tag
):boolean
Adds a specified tag
Parameters
Parameter | Type |
---|---|
tag | string |
Returns
boolean
Inherited from
Source
toString()
toString():
string
Returns a string representing the object
Returns
string
Inherited from
Source
unTag()
unTag(
tag
):boolean
Removes a specified tag
Parameters
Parameter | Type |
---|---|
tag | string |
Returns
boolean