deno.land / x / gesso@v0.1.2 / src / Configuration.ts

Configuration.ts
نووسراو ببینە
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
export class Configuration { // The base domain of your Canvas, ex. https://csufullerton.instructure.com public domain: string; // The API domain, ex. https://csufullerton.instructure.com/api/v1 public tokens: Tokens | undefined; public apiKey: string | undefined;
constructor( config: { domain: string; tokens?: { accessToken: string; refreshToken: string }; apiKey?: string; }, ) { this.domain = config.domain; this.tokens = config.tokens; this.apiKey = config.apiKey; }}
export type Tokens = { accessToken: string; refreshToken: string;};
gesso

Version Info

Tagged at
a year ago