chore: auto-generate protobuf files [skip ci]
This commit is contained in:
@@ -84,6 +84,7 @@ func (x *Verify2FaRequest) GetTelegramCode() string {
|
|||||||
type Verify2FaResponse struct {
|
type Verify2FaResponse struct {
|
||||||
state protoimpl.MessageState `protogen:"open.v1"`
|
state protoimpl.MessageState `protogen:"open.v1"`
|
||||||
AccessToken string `protobuf:"bytes,1,opt,name=access_token,json=accessToken,proto3" json:"access_token,omitempty"`
|
AccessToken string `protobuf:"bytes,1,opt,name=access_token,json=accessToken,proto3" json:"access_token,omitempty"`
|
||||||
|
RefreshToken string `protobuf:"bytes,2,opt,name=refresh_token,json=refreshToken,proto3" json:"refresh_token,omitempty"`
|
||||||
Status string `protobuf:"bytes,3,opt,name=status,proto3" json:"status,omitempty"`
|
Status string `protobuf:"bytes,3,opt,name=status,proto3" json:"status,omitempty"`
|
||||||
Message string `protobuf:"bytes,4,opt,name=message,proto3" json:"message,omitempty"`
|
Message string `protobuf:"bytes,4,opt,name=message,proto3" json:"message,omitempty"`
|
||||||
ReserveCodes []string `protobuf:"bytes,5,rep,name=reserve_codes,json=reserveCodes,proto3" json:"reserve_codes,omitempty"`
|
ReserveCodes []string `protobuf:"bytes,5,rep,name=reserve_codes,json=reserveCodes,proto3" json:"reserve_codes,omitempty"`
|
||||||
@@ -128,6 +129,13 @@ func (x *Verify2FaResponse) GetAccessToken() string {
|
|||||||
return ""
|
return ""
|
||||||
}
|
}
|
||||||
|
|
||||||
|
func (x *Verify2FaResponse) GetRefreshToken() string {
|
||||||
|
if x != nil {
|
||||||
|
return x.RefreshToken
|
||||||
|
}
|
||||||
|
return ""
|
||||||
|
}
|
||||||
|
|
||||||
func (x *Verify2FaResponse) GetStatus() string {
|
func (x *Verify2FaResponse) GetStatus() string {
|
||||||
if x != nil {
|
if x != nil {
|
||||||
return x.Status
|
return x.Status
|
||||||
@@ -961,9 +969,10 @@ const file_sso_twofa_proto_rawDesc = "" +
|
|||||||
"\rtelegram_code\x18\x03 \x01(\tH\x01R\ftelegramCode\x88\x01\x01B\f\n" +
|
"\rtelegram_code\x18\x03 \x01(\tH\x01R\ftelegramCode\x88\x01\x01B\f\n" +
|
||||||
"\n" +
|
"\n" +
|
||||||
"_totp_codeB\x10\n" +
|
"_totp_codeB\x10\n" +
|
||||||
"\x0e_telegram_code\"\x8d\x01\n" +
|
"\x0e_telegram_code\"\xb2\x01\n" +
|
||||||
"\x11Verify2FaResponse\x12!\n" +
|
"\x11Verify2FaResponse\x12!\n" +
|
||||||
"\faccess_token\x18\x01 \x01(\tR\vaccessToken\x12\x16\n" +
|
"\faccess_token\x18\x01 \x01(\tR\vaccessToken\x12#\n" +
|
||||||
|
"\rrefresh_token\x18\x02 \x01(\tR\frefreshToken\x12\x16\n" +
|
||||||
"\x06status\x18\x03 \x01(\tR\x06status\x12\x18\n" +
|
"\x06status\x18\x03 \x01(\tR\x06status\x12\x18\n" +
|
||||||
"\amessage\x18\x04 \x01(\tR\amessage\x12#\n" +
|
"\amessage\x18\x04 \x01(\tR\amessage\x12#\n" +
|
||||||
"\rreserve_codes\x18\x05 \x03(\tR\freserveCodes\"?\n" +
|
"\rreserve_codes\x18\x05 \x03(\tR\freserveCodes\"?\n" +
|
||||||
|
|||||||
@@ -19,6 +19,7 @@ export interface Verify2FaRequest {
|
|||||||
|
|
||||||
export interface Verify2FaResponse {
|
export interface Verify2FaResponse {
|
||||||
accessToken: string;
|
accessToken: string;
|
||||||
|
refreshToken: string;
|
||||||
status: string;
|
status: string;
|
||||||
message: string;
|
message: string;
|
||||||
reserveCodes: string[];
|
reserveCodes: string[];
|
||||||
|
|||||||
Reference in New Issue
Block a user