2019-04-22 02:59:20 +00:00

20 lines
496 B
Protocol Buffer

// +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"];
}