mirror of
https://github.com/onepanelio/onepanel.git
synced 2025-10-05 13:46:51 +08:00
18 lines
365 B
Protocol Buffer
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 ;
|
|
} |