paperless-ngx/src-ui/src/app/data/user-profile.ts
Moritz Pflanzer c508be6ecd
Feature: OIDC & social authentication (#5190)
---------

Co-authored-by: Moritz Pflanzer <moritz@chickadee-engineering.com>
Co-authored-by: shamoon <4887959+shamoon@users.noreply.github.com>
2024-02-08 16:15:38 +00:00

21 lines
374 B
TypeScript

export interface SocialAccount {
id: number
provider: string
name: string
}
export interface SocialAccountProvider {
name: string
login_url: string
}
export interface PaperlessUserProfile {
email?: string
password?: string
first_name?: string
last_name?: string
auth_token?: string
social_accounts?: SocialAccount[]
has_usable_password?: boolean
}