-
Notifications
You must be signed in to change notification settings - Fork 180
/
cells-auth.validator.pb.go
168 lines (164 loc) · 4.21 KB
/
cells-auth.validator.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
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
// Code generated by protoc-gen-gogo. DO NOT EDIT.
// source: cells-auth.proto
package auth
import (
fmt "fmt"
math "math"
proto "google.golang.org/protobuf/proto"
github_com_mwitkow_go_proto_validators "github.com/mwitkow/go-proto-validators"
)
// Reference imports to suppress errors if they are not otherwise used.
var _ = proto.Marshal
var _ = fmt.Errorf
var _ = math.Inf
func (this *Token) Validate() error {
return nil
}
func (this *RevokeTokenRequest) Validate() error {
if this.Token != nil {
if err := github_com_mwitkow_go_proto_validators.CallValidatorIfExists(this.Token); err != nil {
return github_com_mwitkow_go_proto_validators.FieldError("Token", err)
}
}
return nil
}
func (this *RevokeTokenResponse) Validate() error {
return nil
}
func (this *PruneTokensRequest) Validate() error {
return nil
}
func (this *PruneTokensResponse) Validate() error {
return nil
}
func (this *ID) Validate() error {
return nil
}
func (this *GetLoginRequest) Validate() error {
return nil
}
func (this *GetLoginResponse) Validate() error {
return nil
}
func (this *CreateLoginRequest) Validate() error {
return nil
}
func (this *CreateLoginResponse) Validate() error {
if this.Login != nil {
if err := github_com_mwitkow_go_proto_validators.CallValidatorIfExists(this.Login); err != nil {
return github_com_mwitkow_go_proto_validators.FieldError("Login", err)
}
}
return nil
}
func (this *AcceptLoginRequest) Validate() error {
return nil
}
func (this *AcceptLoginResponse) Validate() error {
return nil
}
func (this *GetConsentRequest) Validate() error {
return nil
}
func (this *GetConsentResponse) Validate() error {
return nil
}
func (this *CreateConsentRequest) Validate() error {
return nil
}
func (this *CreateConsentResponse) Validate() error {
if this.Consent != nil {
if err := github_com_mwitkow_go_proto_validators.CallValidatorIfExists(this.Consent); err != nil {
return github_com_mwitkow_go_proto_validators.FieldError("Consent", err)
}
}
return nil
}
func (this *AcceptConsentRequest) Validate() error {
// Validation of proto3 map<> fields is unsupported.
// Validation of proto3 map<> fields is unsupported.
return nil
}
func (this *AcceptConsentResponse) Validate() error {
return nil
}
func (this *CreateLogoutRequest) Validate() error {
return nil
}
func (this *CreateLogoutResponse) Validate() error {
if this.Logout != nil {
if err := github_com_mwitkow_go_proto_validators.CallValidatorIfExists(this.Logout); err != nil {
return github_com_mwitkow_go_proto_validators.FieldError("Logout", err)
}
}
return nil
}
func (this *AcceptLogoutRequest) Validate() error {
return nil
}
func (this *AcceptLogoutResponse) Validate() error {
return nil
}
func (this *CreateAuthCodeRequest) Validate() error {
if this.Consent != nil {
if err := github_com_mwitkow_go_proto_validators.CallValidatorIfExists(this.Consent); err != nil {
return github_com_mwitkow_go_proto_validators.FieldError("Consent", err)
}
}
return nil
}
func (this *CreateAuthCodeResponse) Validate() error {
return nil
}
func (this *VerifyTokenRequest) Validate() error {
return nil
}
func (this *VerifyTokenResponse) Validate() error {
return nil
}
func (this *ExchangeRequest) Validate() error {
return nil
}
func (this *ExchangeResponse) Validate() error {
return nil
}
func (this *PasswordCredentialsTokenRequest) Validate() error {
return nil
}
func (this *PasswordCredentialsTokenResponse) Validate() error {
return nil
}
func (this *RefreshTokenRequest) Validate() error {
return nil
}
func (this *RefreshTokenResponse) Validate() error {
return nil
}
func (this *PersonalAccessToken) Validate() error {
return nil
}
func (this *PatGenerateRequest) Validate() error {
return nil
}
func (this *PatGenerateResponse) Validate() error {
return nil
}
func (this *PatListRequest) Validate() error {
return nil
}
func (this *PatListResponse) Validate() error {
for _, item := range this.Tokens {
if item != nil {
if err := github_com_mwitkow_go_proto_validators.CallValidatorIfExists(item); err != nil {
return github_com_mwitkow_go_proto_validators.FieldError("Tokens", err)
}
}
}
return nil
}
func (this *PatRevokeRequest) Validate() error {
return nil
}
func (this *PatRevokeResponse) Validate() error {
return nil
}