mirror of
https://github.com/Buriburizaem0n/admin-frontend-domain.git
synced 2026-02-04 12:40:08 +00:00
update oauth2 (#84)
* update oauth2 * i18n * fix validation * chore: auto-fix linting and formatting issues --------- Co-authored-by: uubulb <uubulb@users.noreply.github.com>
This commit is contained in:
756
src/types/api.ts
756
src/types/api.ts
File diff suppressed because it is too large
Load Diff
@@ -3,6 +3,6 @@ import { ModelProfile } from "@/types"
|
||||
export interface AuthContextProps {
|
||||
profile: ModelProfile | undefined
|
||||
login: (username: string, password: string) => void
|
||||
loginOauth2: (provider: string, state: string, code: string) => void
|
||||
loginOauth2: () => void
|
||||
logout: () => void
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user