Files
onepanel/api/auth.proto
2020-03-10 16:21:50 -07:00

18 lines
365 B
Protocol Buffer

syntax = "proto3";
package api;
import "google/api/annotations.proto";
import "google/protobuf/empty.proto";
service AuthService {
rpc IsValidToken(google.protobuf.Empty) returns (IsValidTokenResponse) {
option (google.api.http) = {
get: "/apis/v1beta1/auth/token"
};
}
}
message IsValidTokenResponse {
bool valid = 1 ;
}