Skip to content

Commit

Permalink
Added validateToken service
Browse files Browse the repository at this point in the history
  • Loading branch information
camba1 committed Jun 3, 2020
1 parent 1277521 commit 810223e
Show file tree
Hide file tree
Showing 3 changed files with 42 additions and 19 deletions.
43 changes: 24 additions & 19 deletions user/proto/user.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

17 changes: 17 additions & 0 deletions user/proto/user.pb.micro.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions user/proto/user.proto
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ service userSrv {
rpc AfterUpdateUser(user) returns (AfterFuncErr) {}
rpc AfterDeleteUser(user) returns (AfterFuncErr) {}
rpc Auth(user) returns (Token) {}
rpc ValidateToken(Token) returns (Token) {}
}


Expand Down

0 comments on commit 810223e

Please sign in to comment.