UNPKG

@humandialog/auth.svelte

Version:

Svelte package to deal with ObjectReef OAuth 2 Identity Provider

29 lines (28 loc) 669 B
export declare enum Mode { Remote = 0, Local = 1, Disabled = 2 } export declare class Local_user { username: string; role: string; groupId: number; uid: number; } export declare class Configuration { mode: Mode; iss: string; client_id: string; client_secret: string; scope: string; local_api: string; local_users: Local_user[]; api_version: string; tenant: string; groups_only: boolean; ask_organization_name: boolean; let_choose_group_first: boolean; refresh_token_persistent: boolean; terms_and_conditions_href: string; privacy_policy_href: string; }