n8n/packages/nodes-base/credentials/AzureStorageOAuth2Api.credentials.ts
Antonio Piazza b7c6d54523
feat(Microsoft Teams Node): Add support for government cloud tenants (#17297)
Co-authored-by: cubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@users.noreply.github.com>
Co-authored-by: RomanDavydchuk <roman.d@radency.com>
Co-authored-by: RomanDavydchuk <roman.davydchuk@n8n.io>
2026-01-22 09:10:52 +00:00

39 lines
831 B
TypeScript

import type { ICredentialType, INodeProperties } from 'n8n-workflow';
export class AzureStorageOAuth2Api implements ICredentialType {
name = 'azureStorageOAuth2Api';
displayName = 'Azure Storage OAuth2 API';
extends = ['microsoftOAuth2Api'];
documentationUrl = 'azurestorage';
properties: INodeProperties[] = [
{
displayName: 'Account',
name: 'account',
type: 'string',
default: '',
},
{
displayName: 'Base URL',
name: 'baseUrl',
type: 'hidden',
default: '=https://{{ $self["account"] }}.blob.core.windows.net',
},
{
displayName: 'Scope',
name: 'scope',
type: 'hidden',
default: 'https://storage.azure.com/.default',
},
{
displayName: 'Microsoft Graph API Base URL',
name: 'graphApiBaseUrl',
type: 'hidden',
default: 'https://graph.microsoft.com',
},
];
}