n8n/packages/nodes-base/credentials/MicrosoftExcelOAuth2Api.credentials.ts

18 lines
540 B
TypeScript
Raw Normal View History

import { ICredentialType, INodeProperties } from 'n8n-workflow';
2020-03-15 16:51:31 -07:00
export class MicrosoftExcelOAuth2Api implements ICredentialType {
name = 'microsoftExcelOAuth2Api';
extends = ['microsoftOAuth2Api'];
displayName = 'Microsoft Excel OAuth2 API';
documentationUrl = 'microsoft';
properties: INodeProperties[] = [
2020-03-15 16:51:31 -07:00
//https://docs.microsoft.com/en-us/azure/active-directory/develop/v2-permissions-and-consent
{
displayName: 'Scope',
name: 'scope',
type: 'hidden',
2020-03-15 16:51:31 -07:00
default: 'openid offline_access Files.ReadWrite',
},
];
}