Page Menu
Home
Sealhub
Search
Configure Global Search
Log In
Files
F7859877
ExampleCredentials.credentials.ts
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
588 B
Referenced Files
None
Subscribers
None
ExampleCredentials.credentials.ts
View Options
import
{
ICredentialType
,
NodePropertyTypes
,
}
from
'n8n-workflow'
;
export
class
ExampleCredentials
implements
ICredentialType
{
name
=
'exampleCredentials'
;
displayName
=
'Example Credentials'
;
properties
=
[
// The credentials to get from user and save encrypted.
// Properties can be defined exactly in the same way
// as node properties.
{
displayName
:
'User'
,
name
:
'user'
,
type
:
'string'
as
NodePropertyTypes
,
default
:
''
,
},
{
displayName
:
'Access Token'
,
name
:
'accessToken'
,
type
:
'string'
as
NodePropertyTypes
,
default
:
''
,
},
];
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Aug 13, 17:08 (1 d, 2 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
870876
Default Alt Text
ExampleCredentials.credentials.ts (588 B)
Attached To
Mode
rNPN n8n-phabricator-node
Attached
Detach File
Event Timeline
Log In to Comment