Files
admin-frontend-domain/src/types/authContext.ts
T
UUBulbanduubulb 5d8a0404b7 update oauth2 (#84)
* update oauth2

* i18n

* fix validation

* chore: auto-fix linting and formatting issues

---------

Co-authored-by: uubulb <uubulb@users.noreply.github.com>
2024-12-31 23:11:41 +08:00

9 lines
223 B
TypeScript

import { ModelProfile } from "@/types"
export interface AuthContextProps {
profile: ModelProfile | undefined
login: (username: string, password: string) => void
loginOauth2: () => void
logout: () => void
}