export class OauthConfig { authorizeUrl: string; clientId: string; clientSecret: string; scope: string; state: string; redirectUri: string; identityType: string; enableNoticeMode: boolean; simpleLoginUri: string; constructor( options: { authorizeUrl?: string; clientId?: string; clientSecret?: string; scope?: string; state?: string; redirectUri?: string; identityType?: string; enableNoticeMode?: boolean; simpleLoginUri?: string; } = {} ) { this.authorizeUrl = options.authorizeUrl || ""; this.clientId = options.clientId || ""; this.clientSecret = options.clientSecret || ""; this.scope = options.scope || ""; this.state = options.state || ""; this.redirectUri = options.redirectUri || ""; this.identityType = options.identityType || ""; this.enableNoticeMode = !!options.enableNoticeMode; this.simpleLoginUri = options.simpleLoginUri || ""; } }