Optional
options: MiroOptionsOptional
httpOptional
loggerReturns an instance of the highlevel Miro API for the given user id
Exchanges the authorization code for an access token by calling the token endpoint It will store the token information in storage for later reuse
Parse request to extract authorization code and get access token
Checks if the given user id already has token stored
Private
refreshExchanges the authorization code for an access token by calling the token endpoint It will store the token information in storage for later reuse
Initializes the Miro API with the given client id and client secret All options are optional and will fallback to environment variables clientId: MIRO_CLIENT_ID clientSecret: MIRO_CLIENT_SECRET redirectUrl: MIRO_REDIRECT_URL logger: MIRO_DEBUG