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