-
- Downloads
Add VerifyPassword to API
It takes in an email and plain text password to verify. If it fails to find a password stored for email, it returns not_found. If it finds the password hash stored but that hash doesn't match the password passed via the API, it returns verified = false, else it returns verified = true.
Co-authored-by:
Alban Seurat <alban.seurat@me.com>
Showing
- api/api.pb.go 145 additions, 54 deletionsapi/api.pb.go
- api/api.proto 12 additions, 0 deletionsapi/api.proto
- examples/grpc-client/README.md 2 additions, 1 deletionexamples/grpc-client/README.md
- examples/grpc-client/client.go 33 additions, 0 deletionsexamples/grpc-client/client.go
- server/api.go 31 additions, 0 deletionsserver/api.go
- server/api_test.go 51 additions, 2 deletionsserver/api_test.go
Loading
Please register or sign in to comment