first commit
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
export interface PireonConfig {
|
||||
/** e.g. https://oauth.pireon.dev */
|
||||
baseUrl: string;
|
||||
/** Seconds a resolved token is trusted before asking Pireon again. */
|
||||
sessionTtlSeconds: number;
|
||||
requestTimeoutMs: number;
|
||||
/** OAuth client of task-stream in Pireon (Authorization Code + PKCE / password grant). */
|
||||
clientId?: string;
|
||||
/** Kept server-side: browsers sign in through /api/auth/token. */
|
||||
clientSecret?: string;
|
||||
scopes: string[];
|
||||
passwordGrant: boolean;
|
||||
}
|
||||
|
||||
export const PIREON_CONFIG = Symbol('PIREON_CONFIG');
|
||||
Reference in New Issue
Block a user