oauth2 on fastapi
This commit is contained in:
@@ -23,13 +23,24 @@ export type ServerResponse = {
|
||||
status:string
|
||||
}
|
||||
|
||||
export type ServerResponseToken = {
|
||||
status:string,
|
||||
access_token?:string
|
||||
}
|
||||
|
||||
export type LoginResponse = {
|
||||
status?:string,
|
||||
access_token:string,
|
||||
token_type:string
|
||||
}
|
||||
|
||||
export type ServerStatusResponse = {
|
||||
status:string,
|
||||
loggined:boolean
|
||||
}
|
||||
|
||||
export type PasswordSend = {
|
||||
password:string
|
||||
password:string,
|
||||
}
|
||||
|
||||
export type ChangePassword = {
|
||||
|
||||
Reference in New Issue
Block a user