UNPKG

n8n-nodes-refresh-token-auth

Version:
16 lines (15 loc) 811 B
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>; }