2022-07-24 08:36:17 -07:00
|
|
|
import { ICredentialType, INodeProperties } from 'n8n-workflow';
|
2022-01-08 01:53:10 -08:00
|
|
|
|
|
|
|
export class MicrosoftGraphSecurityOAuth2Api implements ICredentialType {
|
|
|
|
name = 'microsoftGraphSecurityOAuth2Api';
|
2022-12-02 12:54:28 -08:00
|
|
|
|
2022-01-08 01:53:10 -08:00
|
|
|
displayName = 'Microsoft Graph Security OAuth2 API';
|
2022-12-02 12:54:28 -08:00
|
|
|
|
2022-07-24 08:36:17 -07:00
|
|
|
extends = ['microsoftOAuth2Api'];
|
2022-12-02 12:54:28 -08:00
|
|
|
|
2022-01-08 01:53:10 -08:00
|
|
|
documentationUrl = 'microsoft';
|
2022-12-02 12:54:28 -08:00
|
|
|
|
2022-01-08 01:53:10 -08:00
|
|
|
properties: INodeProperties[] = [
|
|
|
|
{
|
|
|
|
displayName: 'Scope',
|
|
|
|
name: 'scope',
|
|
|
|
type: 'hidden',
|
|
|
|
default: 'SecurityEvents.ReadWrite.All',
|
|
|
|
},
|
|
|
|
];
|
|
|
|
}
|