You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
496 B
19 lines
496 B
// +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"]; |
|
} |
|
|
|
|