Files
openbilibili/app/service/main/identify/model/model.proto

20 lines
496 B
Protocol Buffer
Raw Normal View History

2019-04-22 20:46:32 +08:00
// +bili:type=model
syntax = "proto3";
package passport.service.identify;
import "github.com/gogo/protobuf/gogoproto/gogo.proto";
option go_package = "model";
// IdentifyInfo identify info
message IdentifyInfo {
// user mid
int64 mid = 1 [(gogoproto.jsontag) = "mid"];
// cookie csrf
// when token reqest this field is empty
string csrf = 2 [(gogoproto.jsontag) = "csrfToken"];
// expire time(unix timestamp)
int32 expires = 3 [(gogoproto.jsontag) = "expires"];
}