chore: auto-generate protobuf files [skip ci]
This commit is contained in:
@@ -916,6 +916,8 @@ func (x *TerminateSessionResponse) GetMessage() string {
|
|||||||
type GenerateOauthCodeRequest struct {
|
type GenerateOauthCodeRequest struct {
|
||||||
state protoimpl.MessageState `protogen:"open.v1"`
|
state protoimpl.MessageState `protogen:"open.v1"`
|
||||||
UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
|
UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
|
||||||
|
ClientId string `protobuf:"bytes,2,opt,name=client_id,json=clientId,proto3" json:"client_id,omitempty"`
|
||||||
|
RedirectUri string `protobuf:"bytes,3,opt,name=redirect_uri,json=redirectUri,proto3" json:"redirect_uri,omitempty"`
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
sizeCache protoimpl.SizeCache
|
sizeCache protoimpl.SizeCache
|
||||||
}
|
}
|
||||||
@@ -957,6 +959,20 @@ func (x *GenerateOauthCodeRequest) GetUserId() string {
|
|||||||
return ""
|
return ""
|
||||||
}
|
}
|
||||||
|
|
||||||
|
func (x *GenerateOauthCodeRequest) GetClientId() string {
|
||||||
|
if x != nil {
|
||||||
|
return x.ClientId
|
||||||
|
}
|
||||||
|
return ""
|
||||||
|
}
|
||||||
|
|
||||||
|
func (x *GenerateOauthCodeRequest) GetRedirectUri() string {
|
||||||
|
if x != nil {
|
||||||
|
return x.RedirectUri
|
||||||
|
}
|
||||||
|
return ""
|
||||||
|
}
|
||||||
|
|
||||||
type GenerateOauthCodeResponse struct {
|
type GenerateOauthCodeResponse struct {
|
||||||
state protoimpl.MessageState `protogen:"open.v1"`
|
state protoimpl.MessageState `protogen:"open.v1"`
|
||||||
Code string `protobuf:"bytes,1,opt,name=code,proto3" json:"code,omitempty"`
|
Code string `protobuf:"bytes,1,opt,name=code,proto3" json:"code,omitempty"`
|
||||||
@@ -1948,9 +1964,11 @@ const file_sso_auth_proto_rawDesc = "" +
|
|||||||
"targetHash\"N\n" +
|
"targetHash\"N\n" +
|
||||||
"\x18TerminateSessionResponse\x12\x18\n" +
|
"\x18TerminateSessionResponse\x12\x18\n" +
|
||||||
"\asuccess\x18\x01 \x01(\bR\asuccess\x12\x18\n" +
|
"\asuccess\x18\x01 \x01(\bR\asuccess\x12\x18\n" +
|
||||||
"\amessage\x18\x02 \x01(\tR\amessage\"3\n" +
|
"\amessage\x18\x02 \x01(\tR\amessage\"s\n" +
|
||||||
"\x18GenerateOauthCodeRequest\x12\x17\n" +
|
"\x18GenerateOauthCodeRequest\x12\x17\n" +
|
||||||
"\auser_id\x18\x01 \x01(\tR\x06userId\"/\n" +
|
"\auser_id\x18\x01 \x01(\tR\x06userId\x12\x1b\n" +
|
||||||
|
"\tclient_id\x18\x02 \x01(\tR\bclientId\x12!\n" +
|
||||||
|
"\fredirect_uri\x18\x03 \x01(\tR\vredirectUri\"/\n" +
|
||||||
"\x19GenerateOauthCodeResponse\x12\x12\n" +
|
"\x19GenerateOauthCodeResponse\x12\x12\n" +
|
||||||
"\x04code\x18\x01 \x01(\tR\x04code\"p\n" +
|
"\x04code\x18\x01 \x01(\tR\x04code\"p\n" +
|
||||||
"\x18ExchangeOauthCodeRequest\x12\x12\n" +
|
"\x18ExchangeOauthCodeRequest\x12\x12\n" +
|
||||||
|
|||||||
@@ -108,6 +108,8 @@ export interface TerminateSessionResponse {
|
|||||||
|
|
||||||
export interface GenerateOauthCodeRequest {
|
export interface GenerateOauthCodeRequest {
|
||||||
userId: string;
|
userId: string;
|
||||||
|
clientId: string;
|
||||||
|
redirectUri: string;
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface GenerateOauthCodeResponse {
|
export interface GenerateOauthCodeResponse {
|
||||||
|
|||||||
Reference in New Issue
Block a user