Constructors
constructor
- new Composio(apiKey?, baseUrl?): Composio
Parameters
Optional apiKey: stringOptional baseUrl: string
Properties
Private apiKey
apiKey: string
Private baseUrl
baseUrl: string
config
config: OpenAPIConfig
Private http
http: AxiosInstance
Methods
Private getApiUrlBase
- getApiUrlBase(): string
Returns string
Static generateAuthKey
- generateAuthKey(baseUrl?): Promise<string>
Returns Promise<string>
Static validateAuthSession
- validateAuthSession(key, code, baseUrl?): Promise<string>
Parameters
- key: string
- code: string
Optional baseUrl: string
Returns Promise<string>