syntax = "proto3";

package exa.auth_pb;

import "buf/validate/validate.proto";
import "exa/codeium_common_pb/codeium_common.proto";

message GetUserJwtRequest {
  .exa.codeium_common_pb.Metadata metadata = 1;
}

message GetUserJwtResponse {
  string user_jwt = 1;
  string custom_api_server_url = 2;
}

service AuthService {
  rpc GetUserJwt (.exa.auth_pb.GetUserJwtRequest) returns (.exa.auth_pb.GetUserJwtResponse);
}
