Skip to content
This repository has been archived by the owner on Aug 16, 2023. It is now read-only.

how to initialise ActionsSdkClient() with access_token #7

Open
rawatravi opened this issue Jun 23, 2021 · 1 comment
Open

how to initialise ActionsSdkClient() with access_token #7

rawatravi opened this issue Jun 23, 2021 · 1 comment

Comments

@rawatravi
Copy link

is there any way to initialise ActionsSdkClient like this?.
const actionsSdkClient = new ActionsSdkClient({access_token:"##########################"});

@Fleker
Copy link
Member

Fleker commented Jun 23, 2021

You cannot provide solely the access_token. The ActionsSdkClient can take an optional options object that accepts several client fields that you might get from authenticating a client. There is a Creating the Client Instance guide that goes into a bit of detail about each field.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants