Skip to content

Commit

Permalink
added id_token validator code
Browse files Browse the repository at this point in the history
Signed-off-by: Abdul-Az <aazeez@progress.com>
  • Loading branch information
iamazzeez committed Aug 9, 2021
1 parent 38b2ab3 commit 13fbb0f
Show file tree
Hide file tree
Showing 9 changed files with 385 additions and 414 deletions.
310 changes: 310 additions & 0 deletions api/interservice/id_token/id_token.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 api/interservice/id_token/id_token.proto
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
syntax = "proto3";

package chef.automate.domain.id_token;
option go_package = "github.com/chef/automate/api/interservice/id_token";

message IdTokenReq {
// id_token
string token = 1;
}

message IdTokenResp {
bool exist = 1;
}

service ValidateIdTokenService {
rpc ValidateIdToken(IdTokenReq) returns (IdTokenResp) {}
}
Loading

0 comments on commit 13fbb0f

Please sign in to comment.