n8n-nodes-refresh-token-auth
Version:
n8n community node with automatic refresh token support
16 lines (15 loc) • 811 B
TypeScript
import { ICredentialTestRequest, ICredentialType, INodeProperties, ICredentialDataDecryptedObject, IHttpRequestHelper, IHttpRequestOptions, Icon, IDataObject, IAuthenticateGeneric } from 'n8n-workflow';
export declare class RefreshTokenAuth implements ICredentialType {
private static instance;
constructor();
static enableAuthenticateFunc(): void;
name: string;
displayName: string;
icon: Icon;
documentationUrl: string;
properties: INodeProperties[];
authenticate: IAuthenticateGeneric;
authenticateFunc(credentials: ICredentialDataDecryptedObject, requestOptions: IHttpRequestOptions): Promise<IHttpRequestOptions>;
test: ICredentialTestRequest;
preAuthentication(this: IHttpRequestHelper, credentials: ICredentialDataDecryptedObject): Promise<IDataObject>;
}