GODT-1924: gRPC identity validation with tokens.

This commit is contained in:
Xavier Michelon
2022-10-05 20:26:28 +02:00
parent 1854256a93
commit 58ba3b012e
16 changed files with 1857 additions and 1252 deletions

View File

@ -25,8 +25,8 @@ import (
// config is a structure containing the service configuration data that are exchanged by the gRPC server and client.
type config struct {
Port int `json:"port"`
Cert string `json:"cert"` // coming soon
Token string `json:"token"` // coming soon
Cert string `json:"cert"`
Token string `json:"token"`
}
// save saves a gRPC service configuration to file.