-
Notifications
You must be signed in to change notification settings - Fork 19
/
ntlogin.pb.go
101 lines (84 loc) · 2.87 KB
/
ntlogin.pb.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
// Code generated by protoc-gen-golite. DO NOT EDIT.
// source: pb/login/ntlogin.proto
package login
import (
proto "github.com/RomiChan/protobuf/proto"
)
type SsoNTLoginEncryptedData struct {
Sign []byte `protobuf:"bytes,1,opt"`
GcmCalc []byte `protobuf:"bytes,3,opt"`
Type int32 `protobuf:"varint,4,opt"`
}
type SsoNTLoginBase struct {
Header *SsoNTLoginHeader `protobuf:"bytes,1,opt"`
Body []byte `protobuf:"bytes,2,opt"`
}
type SsoNTLoginHeader struct {
Uin *SsoNTLoginUin `protobuf:"bytes,1,opt"`
System *SsoNTLoginSystem `protobuf:"bytes,2,opt"`
Version *SsoNTLoginVersion `protobuf:"bytes,3,opt"`
Error *SsoNTLoginError `protobuf:"bytes,4,opt"`
Cookie *SsoNTLoginCookie `protobuf:"bytes,5,opt"`
_ [0]func()
}
type SsoNTLoginResponse struct {
Credentials *SsoNTLoginCredentials `protobuf:"bytes,1,opt"`
Captcha *SsoNTLoginCaptchaUrl `protobuf:"bytes,2,opt"`
Unusual *SsoNTLoginUnusual `protobuf:"bytes,3,opt"`
Uid *SsoNTLoginUid `protobuf:"bytes,4,opt"`
_ [0]func()
}
type SsoNTLoginEasyLogin struct {
TempPassword []byte `protobuf:"bytes,1,opt"`
Captcha *SsoNTLoginCaptchaSubmit `protobuf:"bytes,2,opt"`
}
type SsoNTLoginCaptchaSubmit struct {
Ticket string `protobuf:"bytes,1,opt"`
RandStr string `protobuf:"bytes,2,opt"`
Aid string `protobuf:"bytes,3,opt"`
_ [0]func()
}
type SsoNTLoginCaptchaUrl struct {
Url string `protobuf:"bytes,3,opt"`
_ [0]func()
}
type SsoNTLoginCookie struct {
Cookie proto.Option[string] `protobuf:"bytes,1,opt"`
_ [0]func()
}
type SsoNTLoginCredentials struct {
TempPassword []byte `protobuf:"bytes,3,opt"`
Tgt []byte `protobuf:"bytes,4,opt"`
D2 []byte `protobuf:"bytes,5,opt"`
D2Key []byte `protobuf:"bytes,6,opt"`
}
type SsoNTLoginError struct {
ErrorCode uint32 `protobuf:"varint,1,opt"`
Tag string `protobuf:"bytes,2,opt"`
Message string `protobuf:"bytes,3,opt"`
NewDeviceVerifyUrl proto.Option[string] `protobuf:"bytes,5,opt"`
_ [0]func()
}
type SsoNTLoginSystem struct {
OS proto.Option[string] `protobuf:"bytes,1,opt"`
DeviceName proto.Option[string] `protobuf:"bytes,2,opt"`
Type int32 `protobuf:"varint,3,opt"`
Guid []byte `protobuf:"bytes,4,opt"`
}
type SsoNTLoginUid struct {
Uid string `protobuf:"bytes,2,opt"`
_ [0]func()
}
type SsoNTLoginUin struct {
Uin proto.Option[string] `protobuf:"bytes,1,opt"`
_ [0]func()
}
type SsoNTLoginUnusual struct {
Sig []byte `protobuf:"bytes,2,opt"`
}
type SsoNTLoginVersion struct {
KernelVersion proto.Option[string] `protobuf:"bytes,1,opt"`
AppId int32 `protobuf:"varint,2,opt"`
PackageName proto.Option[string] `protobuf:"bytes,3,opt"`
_ [0]func()
}