mirror of
https://github.com/Buriburizaem0n/admin-frontend-domain.git
synced 2026-02-04 12:40:08 +00:00
feat: oauth2 登录
This commit is contained in:
1440
src/types/api.ts
1440
src/types/api.ts
File diff suppressed because it is too large
Load Diff
@@ -3,5 +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
|
||||
logout: () => void
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user