Interface: ApiConfig
Defined in: api/ApiConfig.ts:4
Configuration for the Medrunner API.
Properties
accessToken?
optional
accessToken:string
Defined in: api/ApiConfig.ts:14
Your API token retrieved after logging in. If none is provided, the refresh token will be used to retrieve an access token.
baseUrl?
optional
baseUrl:string
Defined in: api/ApiConfig.ts:8
The base URL of the API - defaults to https://api.medrunner.space
cookieAuth?
optional
cookieAuth:boolean
Defined in: api/ApiConfig.ts:26
Use cookie base auth instead of tokens - defaults to false
refreshToken?
optional
refreshToken:string
Defined in: api/ApiConfig.ts:21
Your refresh token, used to obtain new API tokens. If none is provided, authenticated requests will not be possible when the accessToken expires. If no access token is provided either, only unauthenticated requests are possible.