add resource
This commit is contained in:
@@ -12,6 +12,27 @@ export class GwezzOceanengineOAuth2Api implements ICredentialType {
|
||||
documentationUrl = 'https://gitea.gwezz.com/n8n-nodes/n8n-nodes-gwezz-oceanengine/wiki';
|
||||
|
||||
properties: INodeProperties[] = [
|
||||
{
|
||||
displayName: 'APP_ID',
|
||||
name: 'appId',
|
||||
type: 'string',
|
||||
default: '',
|
||||
},
|
||||
{
|
||||
displayName: 'Secret',
|
||||
name: 'secret',
|
||||
type: 'string',
|
||||
typeOptions: {
|
||||
password: true,
|
||||
},
|
||||
default: '',
|
||||
},
|
||||
{
|
||||
displayName: 'Redirect URI',
|
||||
name: 'redirectUri',
|
||||
type: 'hidden',
|
||||
default: '={{$oauth2.redirectUrl}}',
|
||||
},
|
||||
{
|
||||
displayName: 'Grant Type',
|
||||
name: 'grantType',
|
||||
@@ -22,13 +43,13 @@ export class GwezzOceanengineOAuth2Api implements ICredentialType {
|
||||
displayName: 'Authorization URL',
|
||||
name: 'authUrl',
|
||||
type: 'hidden',
|
||||
default: 'https://api.example.com/oauth/authorize',
|
||||
default: 'https://ad.oceanengine.com/openapi/audit/oauth.html',
|
||||
},
|
||||
{
|
||||
displayName: 'Access Token URL',
|
||||
name: 'accessTokenUrl',
|
||||
type: 'hidden',
|
||||
default: 'https://api.example.com/oauth/token',
|
||||
default: 'https://ad.oceanengine.com/open_api/oauth2/access_token/',
|
||||
},
|
||||
{
|
||||
displayName: 'Auth URI Query Parameters',
|
||||
|
||||
Reference in New Issue
Block a user