Endpoint- /strength
Input format:
{
"password":password
}
Response format:
{
'checked_string': text,
'breach_status': status,
'potential_issues': []
}Endpoint- /adduser
Input format:
{
"username":username,
"password":password
}
Response format:
{"message":"user already exists"}
{"message":"Account Successfully created"}Endpoint- /login
Input format:
{
"username":username,
"password":password
}
Response format:
{"message": "Login successful"}
{"message": "Incorrect Password"}
{"message": "User does not exist"}Endpoint- /faceauth
Input format:
{
"image":[]
}
Responseformat:
{"message": "Face Authenticated"}
{"message": "Face Not Authenticated"}Endpoint- /save
Input format:
{
"username":username,
"password":password,
"reference":reference
}
Response format:
{"message": f"Password for {reference} Updated Successfully"}
{"message": "Password Added Successfully"}Endpoint- /savedpassword
Input format:
{
"username":""
}
Response format:
{
reference:password
}