2020-03-23 15:56:02 +00:00
|
|
|
// Code generated by protoc-gen-go. DO NOT EDIT.
|
|
|
|
// source: auth.proto
|
|
|
|
|
|
|
|
package grpc
|
|
|
|
|
|
|
|
import (
|
|
|
|
context "context"
|
2020-06-17 06:06:40 +00:00
|
|
|
fmt "fmt"
|
2020-03-23 15:56:02 +00:00
|
|
|
_ "github.com/caos/zitadel/internal/protoc/protoc-gen-authoption/authoption"
|
|
|
|
_ "github.com/envoyproxy/protoc-gen-validate/validate"
|
|
|
|
proto "github.com/golang/protobuf/proto"
|
|
|
|
empty "github.com/golang/protobuf/ptypes/empty"
|
|
|
|
_struct "github.com/golang/protobuf/ptypes/struct"
|
|
|
|
timestamp "github.com/golang/protobuf/ptypes/timestamp"
|
|
|
|
_ "github.com/grpc-ecosystem/grpc-gateway/protoc-gen-swagger/options"
|
|
|
|
_ "google.golang.org/genproto/googleapis/api/annotations"
|
|
|
|
grpc "google.golang.org/grpc"
|
|
|
|
codes "google.golang.org/grpc/codes"
|
|
|
|
status "google.golang.org/grpc/status"
|
2020-06-17 06:06:40 +00:00
|
|
|
math "math"
|
2020-03-23 15:56:02 +00:00
|
|
|
)
|
|
|
|
|
2020-06-17 06:06:40 +00:00
|
|
|
// Reference imports to suppress errors if they are not otherwise used.
|
|
|
|
var _ = proto.Marshal
|
|
|
|
var _ = fmt.Errorf
|
|
|
|
var _ = math.Inf
|
2020-03-23 15:56:02 +00:00
|
|
|
|
2020-06-17 06:06:40 +00:00
|
|
|
// This is a compile-time assertion to ensure that this generated file
|
|
|
|
// is compatible with the proto package it is being compiled against.
|
|
|
|
// A compilation error at this line likely means your copy of the
|
|
|
|
// proto package needs to be updated.
|
|
|
|
const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
|
2020-03-23 15:56:02 +00:00
|
|
|
|
|
|
|
type UserSessionState int32
|
|
|
|
|
|
|
|
const (
|
|
|
|
UserSessionState_USERSESSIONSTATE_UNSPECIFIED UserSessionState = 0
|
|
|
|
UserSessionState_USERSESSIONSTATE_ACTIVE UserSessionState = 1
|
|
|
|
UserSessionState_USERSESSIONSTATE_TERMINATED UserSessionState = 2
|
|
|
|
)
|
|
|
|
|
2020-06-17 06:06:40 +00:00
|
|
|
var UserSessionState_name = map[int32]string{
|
|
|
|
0: "USERSESSIONSTATE_UNSPECIFIED",
|
|
|
|
1: "USERSESSIONSTATE_ACTIVE",
|
|
|
|
2: "USERSESSIONSTATE_TERMINATED",
|
2020-06-05 05:50:04 +00:00
|
|
|
}
|
|
|
|
|
2020-06-17 06:06:40 +00:00
|
|
|
var UserSessionState_value = map[string]int32{
|
|
|
|
"USERSESSIONSTATE_UNSPECIFIED": 0,
|
|
|
|
"USERSESSIONSTATE_ACTIVE": 1,
|
|
|
|
"USERSESSIONSTATE_TERMINATED": 2,
|
2020-06-16 09:40:18 +00:00
|
|
|
}
|
|
|
|
|
2020-06-17 06:06:40 +00:00
|
|
|
func (x UserSessionState) String() string {
|
|
|
|
return proto.EnumName(UserSessionState_name, int32(x))
|
2020-03-23 15:56:02 +00:00
|
|
|
}
|
|
|
|
|
2020-03-31 09:07:48 +00:00
|
|
|
func (UserSessionState) EnumDescriptor() ([]byte, []int) {
|
2020-06-17 06:06:40 +00:00
|
|
|
return fileDescriptor_8bbd6f3875b0e874, []int{0}
|
2020-03-23 15:56:02 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
type OIDCResponseType int32
|
|
|
|
|
|
|
|
const (
|
|
|
|
OIDCResponseType_OIDCRESPONSETYPE_CODE OIDCResponseType = 0
|
|
|
|
OIDCResponseType_OIDCRESPONSETYPE_ID_TOKEN OIDCResponseType = 1
|
|
|
|
OIDCResponseType_OIDCRESPONSETYPE_ID_TOKEN_TOKEN OIDCResponseType = 2
|
|
|
|
)
|
|
|
|
|
2020-06-17 06:06:40 +00:00
|
|
|
var OIDCResponseType_name = map[int32]string{
|
|
|
|
0: "OIDCRESPONSETYPE_CODE",
|
|
|
|
1: "OIDCRESPONSETYPE_ID_TOKEN",
|
|
|
|
2: "OIDCRESPONSETYPE_ID_TOKEN_TOKEN",
|
2020-06-16 09:40:18 +00:00
|
|
|
}
|
|
|
|
|
2020-06-17 06:06:40 +00:00
|
|
|
var OIDCResponseType_value = map[string]int32{
|
|
|
|
"OIDCRESPONSETYPE_CODE": 0,
|
|
|
|
"OIDCRESPONSETYPE_ID_TOKEN": 1,
|
|
|
|
"OIDCRESPONSETYPE_ID_TOKEN_TOKEN": 2,
|
2020-06-16 09:40:18 +00:00
|
|
|
}
|
|
|
|
|
2020-06-17 06:06:40 +00:00
|
|
|
func (x OIDCResponseType) String() string {
|
|
|
|
return proto.EnumName(OIDCResponseType_name, int32(x))
|
2020-06-05 05:50:04 +00:00
|
|
|
}
|
|
|
|
|
2020-03-31 09:07:48 +00:00
|
|
|
func (OIDCResponseType) EnumDescriptor() ([]byte, []int) {
|
2020-06-17 06:06:40 +00:00
|
|
|
return fileDescriptor_8bbd6f3875b0e874, []int{1}
|
2020-03-23 15:56:02 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
type UserState int32
|
|
|
|
|
|
|
|
const (
|
|
|
|
UserState_USERSTATE_UNSPECIEFIED UserState = 0
|
|
|
|
UserState_USERSTATE_ACTIVE UserState = 1
|
|
|
|
UserState_USERSTATE_INACTIVE UserState = 2
|
|
|
|
UserState_USERSTATE_DELETED UserState = 3
|
|
|
|
UserState_USERSTATE_LOCKED UserState = 4
|
|
|
|
UserState_USERSTATE_SUSPEND UserState = 5
|
|
|
|
UserState_USERSTATE_INITIAL UserState = 6
|
|
|
|
)
|
|
|
|
|
2020-06-17 06:06:40 +00:00
|
|
|
var UserState_name = map[int32]string{
|
|
|
|
0: "USERSTATE_UNSPECIEFIED",
|
|
|
|
1: "USERSTATE_ACTIVE",
|
|
|
|
2: "USERSTATE_INACTIVE",
|
|
|
|
3: "USERSTATE_DELETED",
|
|
|
|
4: "USERSTATE_LOCKED",
|
|
|
|
5: "USERSTATE_SUSPEND",
|
|
|
|
6: "USERSTATE_INITIAL",
|
2020-06-16 09:40:18 +00:00
|
|
|
}
|
|
|
|
|
2020-06-17 06:06:40 +00:00
|
|
|
var UserState_value = map[string]int32{
|
|
|
|
"USERSTATE_UNSPECIEFIED": 0,
|
|
|
|
"USERSTATE_ACTIVE": 1,
|
|
|
|
"USERSTATE_INACTIVE": 2,
|
|
|
|
"USERSTATE_DELETED": 3,
|
|
|
|
"USERSTATE_LOCKED": 4,
|
|
|
|
"USERSTATE_SUSPEND": 5,
|
|
|
|
"USERSTATE_INITIAL": 6,
|
2020-06-16 09:40:18 +00:00
|
|
|
}
|
|
|
|
|
2020-06-17 06:06:40 +00:00
|
|
|
func (x UserState) String() string {
|
|
|
|
return proto.EnumName(UserState_name, int32(x))
|
2020-06-16 09:40:18 +00:00
|
|
|
}
|
|
|
|
|
2020-03-23 15:56:02 +00:00
|
|
|
func (UserState) EnumDescriptor() ([]byte, []int) {
|
2020-06-17 06:06:40 +00:00
|
|
|
return fileDescriptor_8bbd6f3875b0e874, []int{2}
|
2020-03-23 15:56:02 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
type Gender int32
|
|
|
|
|
|
|
|
const (
|
|
|
|
Gender_GENDER_UNSPECIFIED Gender = 0
|
|
|
|
Gender_GENDER_FEMALE Gender = 1
|
|
|
|
Gender_GENDER_MALE Gender = 2
|
|
|
|
Gender_GENDER_DIVERSE Gender = 3
|
|
|
|
)
|
|
|
|
|
2020-06-17 06:06:40 +00:00
|
|
|
var Gender_name = map[int32]string{
|
|
|
|
0: "GENDER_UNSPECIFIED",
|
|
|
|
1: "GENDER_FEMALE",
|
|
|
|
2: "GENDER_MALE",
|
|
|
|
3: "GENDER_DIVERSE",
|
2020-06-05 05:50:04 +00:00
|
|
|
}
|
|
|
|
|
2020-06-17 06:06:40 +00:00
|
|
|
var Gender_value = map[string]int32{
|
|
|
|
"GENDER_UNSPECIFIED": 0,
|
|
|
|
"GENDER_FEMALE": 1,
|
|
|
|
"GENDER_MALE": 2,
|
|
|
|
"GENDER_DIVERSE": 3,
|
2020-06-16 09:40:18 +00:00
|
|
|
}
|
|
|
|
|
2020-06-17 06:06:40 +00:00
|
|
|
func (x Gender) String() string {
|
|
|
|
return proto.EnumName(Gender_name, int32(x))
|
2020-06-16 09:40:18 +00:00
|
|
|
}
|
|
|
|
|
2020-03-31 09:07:48 +00:00
|
|
|
func (Gender) EnumDescriptor() ([]byte, []int) {
|
2020-06-17 06:06:40 +00:00
|
|
|
return fileDescriptor_8bbd6f3875b0e874, []int{3}
|
2020-03-23 15:56:02 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
type MfaType int32
|
|
|
|
|
|
|
|
const (
|
|
|
|
MfaType_MFATYPE_UNSPECIFIED MfaType = 0
|
|
|
|
MfaType_MFATYPE_SMS MfaType = 1
|
|
|
|
MfaType_MFATYPE_OTP MfaType = 2
|
|
|
|
)
|
|
|
|
|
2020-06-17 06:06:40 +00:00
|
|
|
var MfaType_name = map[int32]string{
|
|
|
|
0: "MFATYPE_UNSPECIFIED",
|
|
|
|
1: "MFATYPE_SMS",
|
|
|
|
2: "MFATYPE_OTP",
|
2020-03-23 15:56:02 +00:00
|
|
|
}
|
|
|
|
|
2020-06-17 06:06:40 +00:00
|
|
|
var MfaType_value = map[string]int32{
|
|
|
|
"MFATYPE_UNSPECIFIED": 0,
|
|
|
|
"MFATYPE_SMS": 1,
|
|
|
|
"MFATYPE_OTP": 2,
|
2020-06-16 09:40:18 +00:00
|
|
|
}
|
|
|
|
|
2020-06-17 06:06:40 +00:00
|
|
|
func (x MfaType) String() string {
|
|
|
|
return proto.EnumName(MfaType_name, int32(x))
|
2020-06-16 09:40:18 +00:00
|
|
|
}
|
|
|
|
|
2020-03-23 15:56:02 +00:00
|
|
|
func (MfaType) EnumDescriptor() ([]byte, []int) {
|
2020-06-17 06:06:40 +00:00
|
|
|
return fileDescriptor_8bbd6f3875b0e874, []int{4}
|
2020-03-23 15:56:02 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
type MFAState int32
|
|
|
|
|
|
|
|
const (
|
|
|
|
MFAState_MFASTATE_UNSPECIFIED MFAState = 0
|
|
|
|
MFAState_MFASTATE_NOT_READY MFAState = 1
|
|
|
|
MFAState_MFASTATE_READY MFAState = 2
|
|
|
|
MFAState_MFASTATE_REMOVED MFAState = 3
|
|
|
|
)
|
|
|
|
|
2020-06-17 06:06:40 +00:00
|
|
|
var MFAState_name = map[int32]string{
|
|
|
|
0: "MFASTATE_UNSPECIFIED",
|
|
|
|
1: "MFASTATE_NOT_READY",
|
|
|
|
2: "MFASTATE_READY",
|
|
|
|
3: "MFASTATE_REMOVED",
|
2020-06-16 09:40:18 +00:00
|
|
|
}
|
|
|
|
|
2020-06-17 06:06:40 +00:00
|
|
|
var MFAState_value = map[string]int32{
|
|
|
|
"MFASTATE_UNSPECIFIED": 0,
|
|
|
|
"MFASTATE_NOT_READY": 1,
|
|
|
|
"MFASTATE_READY": 2,
|
|
|
|
"MFASTATE_REMOVED": 3,
|
2020-06-16 09:40:18 +00:00
|
|
|
}
|
|
|
|
|
2020-06-17 06:06:40 +00:00
|
|
|
func (x MFAState) String() string {
|
|
|
|
return proto.EnumName(MFAState_name, int32(x))
|
2020-03-23 15:56:02 +00:00
|
|
|
}
|
|
|
|
|
2020-03-31 09:07:48 +00:00
|
|
|
func (MFAState) EnumDescriptor() ([]byte, []int) {
|
2020-06-17 06:06:40 +00:00
|
|
|
return fileDescriptor_8bbd6f3875b0e874, []int{5}
|
2020-06-05 05:50:04 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
type UserGrantSearchKey int32
|
|
|
|
|
|
|
|
const (
|
|
|
|
UserGrantSearchKey_UserGrantSearchKey_UNKNOWN UserGrantSearchKey = 0
|
|
|
|
UserGrantSearchKey_UserGrantSearchKey_ORG_ID UserGrantSearchKey = 1
|
|
|
|
UserGrantSearchKey_UserGrantSearchKey_PROJECT_ID UserGrantSearchKey = 2
|
|
|
|
)
|
|
|
|
|
2020-06-17 06:06:40 +00:00
|
|
|
var UserGrantSearchKey_name = map[int32]string{
|
|
|
|
0: "UserGrantSearchKey_UNKNOWN",
|
|
|
|
1: "UserGrantSearchKey_ORG_ID",
|
|
|
|
2: "UserGrantSearchKey_PROJECT_ID",
|
2020-06-05 05:50:04 +00:00
|
|
|
}
|
|
|
|
|
2020-06-17 06:06:40 +00:00
|
|
|
var UserGrantSearchKey_value = map[string]int32{
|
|
|
|
"UserGrantSearchKey_UNKNOWN": 0,
|
|
|
|
"UserGrantSearchKey_ORG_ID": 1,
|
|
|
|
"UserGrantSearchKey_PROJECT_ID": 2,
|
2020-06-16 09:40:18 +00:00
|
|
|
}
|
|
|
|
|
2020-06-17 06:06:40 +00:00
|
|
|
func (x UserGrantSearchKey) String() string {
|
|
|
|
return proto.EnumName(UserGrantSearchKey_name, int32(x))
|
2020-06-16 09:40:18 +00:00
|
|
|
}
|
|
|
|
|
2020-06-05 05:50:04 +00:00
|
|
|
func (UserGrantSearchKey) EnumDescriptor() ([]byte, []int) {
|
2020-06-17 06:06:40 +00:00
|
|
|
return fileDescriptor_8bbd6f3875b0e874, []int{6}
|
2020-03-23 15:56:02 +00:00
|
|
|
}
|
|
|
|
|
2020-03-31 09:07:48 +00:00
|
|
|
type MyProjectOrgSearchKey int32
|
2020-03-23 15:56:02 +00:00
|
|
|
|
|
|
|
const (
|
2020-03-31 09:07:48 +00:00
|
|
|
MyProjectOrgSearchKey_MYPROJECTORGSEARCHKEY_UNSPECIFIED MyProjectOrgSearchKey = 0
|
|
|
|
MyProjectOrgSearchKey_MYPROJECTORGSEARCHKEY_ORG_NAME MyProjectOrgSearchKey = 1
|
2020-03-23 15:56:02 +00:00
|
|
|
)
|
|
|
|
|
2020-06-17 06:06:40 +00:00
|
|
|
var MyProjectOrgSearchKey_name = map[int32]string{
|
|
|
|
0: "MYPROJECTORGSEARCHKEY_UNSPECIFIED",
|
|
|
|
1: "MYPROJECTORGSEARCHKEY_ORG_NAME",
|
2020-06-16 09:40:18 +00:00
|
|
|
}
|
|
|
|
|
2020-06-17 06:06:40 +00:00
|
|
|
var MyProjectOrgSearchKey_value = map[string]int32{
|
|
|
|
"MYPROJECTORGSEARCHKEY_UNSPECIFIED": 0,
|
|
|
|
"MYPROJECTORGSEARCHKEY_ORG_NAME": 1,
|
2020-06-16 09:40:18 +00:00
|
|
|
}
|
|
|
|
|
2020-06-17 06:06:40 +00:00
|
|
|
func (x MyProjectOrgSearchKey) String() string {
|
|
|
|
return proto.EnumName(MyProjectOrgSearchKey_name, int32(x))
|
2020-03-23 15:56:02 +00:00
|
|
|
}
|
|
|
|
|
2020-03-31 09:07:48 +00:00
|
|
|
func (MyProjectOrgSearchKey) EnumDescriptor() ([]byte, []int) {
|
2020-06-17 06:06:40 +00:00
|
|
|
return fileDescriptor_8bbd6f3875b0e874, []int{7}
|
2020-03-23 15:56:02 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
type SearchMethod int32
|
|
|
|
|
|
|
|
const (
|
2020-06-05 05:50:04 +00:00
|
|
|
SearchMethod_SEARCHMETHOD_EQUALS SearchMethod = 0
|
|
|
|
SearchMethod_SEARCHMETHOD_STARTS_WITH SearchMethod = 1
|
|
|
|
SearchMethod_SEARCHMETHOD_CONTAINS SearchMethod = 2
|
|
|
|
SearchMethod_SEARCHMETHOD_EQUALS_IGNORE_CASE SearchMethod = 3
|
|
|
|
SearchMethod_SEARCHMETHOD_STARTS_WITH_IGNORE_CASE SearchMethod = 4
|
|
|
|
SearchMethod_SEARCHMETHOD_CONTAINS_IGNORE_CASE SearchMethod = 5
|
2020-03-23 15:56:02 +00:00
|
|
|
)
|
|
|
|
|
2020-06-17 06:06:40 +00:00
|
|
|
var SearchMethod_name = map[int32]string{
|
|
|
|
0: "SEARCHMETHOD_EQUALS",
|
|
|
|
1: "SEARCHMETHOD_STARTS_WITH",
|
|
|
|
2: "SEARCHMETHOD_CONTAINS",
|
|
|
|
3: "SEARCHMETHOD_EQUALS_IGNORE_CASE",
|
|
|
|
4: "SEARCHMETHOD_STARTS_WITH_IGNORE_CASE",
|
|
|
|
5: "SEARCHMETHOD_CONTAINS_IGNORE_CASE",
|
|
|
|
}
|
2020-03-23 15:56:02 +00:00
|
|
|
|
2020-06-17 06:06:40 +00:00
|
|
|
var SearchMethod_value = map[string]int32{
|
|
|
|
"SEARCHMETHOD_EQUALS": 0,
|
|
|
|
"SEARCHMETHOD_STARTS_WITH": 1,
|
|
|
|
"SEARCHMETHOD_CONTAINS": 2,
|
|
|
|
"SEARCHMETHOD_EQUALS_IGNORE_CASE": 3,
|
|
|
|
"SEARCHMETHOD_STARTS_WITH_IGNORE_CASE": 4,
|
|
|
|
"SEARCHMETHOD_CONTAINS_IGNORE_CASE": 5,
|
2020-03-23 15:56:02 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
func (x SearchMethod) String() string {
|
2020-06-17 06:06:40 +00:00
|
|
|
return proto.EnumName(SearchMethod_name, int32(x))
|
2020-03-23 15:56:02 +00:00
|
|
|
}
|
|
|
|
|
2020-06-17 06:06:40 +00:00
|
|
|
func (SearchMethod) EnumDescriptor() ([]byte, []int) {
|
|
|
|
return fileDescriptor_8bbd6f3875b0e874, []int{8}
|
2020-03-23 15:56:02 +00:00
|
|
|
}
|
|
|
|
|
2020-06-17 06:06:40 +00:00
|
|
|
type UserSessionViews struct {
|
|
|
|
UserSessions []*UserSessionView `protobuf:"bytes,1,rep,name=user_sessions,json=userSessions,proto3" json:"user_sessions,omitempty"`
|
|
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
|
|
XXX_unrecognized []byte `json:"-"`
|
|
|
|
XXX_sizecache int32 `json:"-"`
|
2020-03-23 15:56:02 +00:00
|
|
|
}
|
|
|
|
|
2020-06-17 06:06:40 +00:00
|
|
|
func (m *UserSessionViews) Reset() { *m = UserSessionViews{} }
|
|
|
|
func (m *UserSessionViews) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*UserSessionViews) ProtoMessage() {}
|
|
|
|
func (*UserSessionViews) Descriptor() ([]byte, []int) {
|
|
|
|
return fileDescriptor_8bbd6f3875b0e874, []int{0}
|
2020-03-23 15:56:02 +00:00
|
|
|
}
|
|
|
|
|
2020-06-17 06:06:40 +00:00
|
|
|
func (m *UserSessionViews) XXX_Unmarshal(b []byte) error {
|
|
|
|
return xxx_messageInfo_UserSessionViews.Unmarshal(m, b)
|
2020-03-23 15:56:02 +00:00
|
|
|
}
|
2020-06-17 06:06:40 +00:00
|
|
|
func (m *UserSessionViews) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
return xxx_messageInfo_UserSessionViews.Marshal(b, m, deterministic)
|
2020-03-23 15:56:02 +00:00
|
|
|
}
|
2020-06-17 06:06:40 +00:00
|
|
|
func (m *UserSessionViews) XXX_Merge(src proto.Message) {
|
|
|
|
xxx_messageInfo_UserSessionViews.Merge(m, src)
|
2020-03-23 15:56:02 +00:00
|
|
|
}
|
2020-06-17 06:06:40 +00:00
|
|
|
func (m *UserSessionViews) XXX_Size() int {
|
|
|
|
return xxx_messageInfo_UserSessionViews.Size(m)
|
2020-03-23 15:56:02 +00:00
|
|
|
}
|
2020-06-17 06:06:40 +00:00
|
|
|
func (m *UserSessionViews) XXX_DiscardUnknown() {
|
|
|
|
xxx_messageInfo_UserSessionViews.DiscardUnknown(m)
|
2020-03-23 15:56:02 +00:00
|
|
|
}
|
|
|
|
|
2020-06-17 06:06:40 +00:00
|
|
|
var xxx_messageInfo_UserSessionViews proto.InternalMessageInfo
|
2020-03-23 15:56:02 +00:00
|
|
|
|
2020-06-17 06:06:40 +00:00
|
|
|
func (m *UserSessionViews) GetUserSessions() []*UserSessionView {
|
|
|
|
if m != nil {
|
|
|
|
return m.UserSessions
|
2020-03-31 09:07:48 +00:00
|
|
|
}
|
|
|
|
return nil
|
2020-03-23 15:56:02 +00:00
|
|
|
}
|
|
|
|
|
2020-03-31 09:07:48 +00:00
|
|
|
type UserSessionView struct {
|
2020-06-17 06:06:40 +00:00
|
|
|
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
|
|
|
|
AgentId string `protobuf:"bytes,2,opt,name=agent_id,json=agentId,proto3" json:"agent_id,omitempty"`
|
|
|
|
AuthState UserSessionState `protobuf:"varint,3,opt,name=auth_state,json=authState,proto3,enum=caos.zitadel.auth.api.v1.UserSessionState" json:"auth_state,omitempty"`
|
|
|
|
UserId string `protobuf:"bytes,4,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
|
|
|
|
UserName string `protobuf:"bytes,5,opt,name=user_name,json=userName,proto3" json:"user_name,omitempty"`
|
|
|
|
Sequence uint64 `protobuf:"varint,6,opt,name=sequence,proto3" json:"sequence,omitempty"`
|
|
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
|
|
XXX_unrecognized []byte `json:"-"`
|
|
|
|
XXX_sizecache int32 `json:"-"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *UserSessionView) Reset() { *m = UserSessionView{} }
|
|
|
|
func (m *UserSessionView) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*UserSessionView) ProtoMessage() {}
|
|
|
|
func (*UserSessionView) Descriptor() ([]byte, []int) {
|
|
|
|
return fileDescriptor_8bbd6f3875b0e874, []int{1}
|
2020-03-23 15:56:02 +00:00
|
|
|
}
|
2020-06-16 09:40:18 +00:00
|
|
|
|
2020-06-17 06:06:40 +00:00
|
|
|
func (m *UserSessionView) XXX_Unmarshal(b []byte) error {
|
|
|
|
return xxx_messageInfo_UserSessionView.Unmarshal(m, b)
|
2020-04-07 11:23:04 +00:00
|
|
|
}
|
2020-06-17 06:06:40 +00:00
|
|
|
func (m *UserSessionView) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
return xxx_messageInfo_UserSessionView.Marshal(b, m, deterministic)
|
2020-06-09 07:22:37 +00:00
|
|
|
}
|
2020-06-17 06:06:40 +00:00
|
|
|
func (m *UserSessionView) XXX_Merge(src proto.Message) {
|
|
|
|
xxx_messageInfo_UserSessionView.Merge(m, src)
|
2020-06-05 05:50:04 +00:00
|
|
|
}
|
2020-06-17 06:06:40 +00:00
|
|
|
func (m *UserSessionView) XXX_Size() int {
|
|
|
|
return xxx_messageInfo_UserSessionView.Size(m)
|
|
|
|
}
|
|
|
|
func (m *UserSessionView) XXX_DiscardUnknown() {
|
|
|
|
xxx_messageInfo_UserSessionView.DiscardUnknown(m)
|
2020-06-16 09:40:18 +00:00
|
|
|
}
|
2020-06-09 07:22:37 +00:00
|
|
|
|
2020-06-17 06:06:40 +00:00
|
|
|
var xxx_messageInfo_UserSessionView proto.InternalMessageInfo
|
|
|
|
|
|
|
|
func (m *UserSessionView) GetId() string {
|
|
|
|
if m != nil {
|
|
|
|
return m.Id
|
2020-03-23 15:56:02 +00:00
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
2020-06-17 06:06:40 +00:00
|
|
|
func (m *UserSessionView) GetAgentId() string {
|
|
|
|
if m != nil {
|
|
|
|
return m.AgentId
|
2020-03-23 15:56:02 +00:00
|
|
|
}
|
2020-03-31 09:07:48 +00:00
|
|
|
return ""
|
2020-03-23 15:56:02 +00:00
|
|
|
}
|
|
|
|
|
2020-06-17 06:06:40 +00:00
|
|
|
func (m *UserSessionView) GetAuthState() UserSessionState {
|
|
|
|
if m != nil {
|
|
|
|
return m.AuthState
|
2020-03-23 15:56:02 +00:00
|
|
|
}
|
2020-03-31 09:07:48 +00:00
|
|
|
return UserSessionState_USERSESSIONSTATE_UNSPECIFIED
|
2020-03-23 15:56:02 +00:00
|
|
|
}
|
|
|
|
|
2020-06-17 06:06:40 +00:00
|
|
|
func (m *UserSessionView) GetUserId() string {
|
|
|
|
if m != nil {
|
|
|
|
return m.UserId
|
2020-03-31 09:07:48 +00:00
|
|
|
}
|
|
|
|
return ""
|
2020-03-23 15:56:02 +00:00
|
|
|
}
|
|
|
|
|
2020-06-17 06:06:40 +00:00
|
|
|
func (m *UserSessionView) GetUserName() string {
|
|
|
|
if m != nil {
|
|
|
|
return m.UserName
|
2020-03-31 09:07:48 +00:00
|
|
|
}
|
|
|
|
return ""
|
2020-03-23 15:56:02 +00:00
|
|
|
}
|
|
|
|
|
2020-06-17 06:06:40 +00:00
|
|
|
func (m *UserSessionView) GetSequence() uint64 {
|
|
|
|
if m != nil {
|
|
|
|
return m.Sequence
|
2020-03-31 09:07:48 +00:00
|
|
|
}
|
2020-04-07 11:23:04 +00:00
|
|
|
return 0
|
2020-03-23 15:56:02 +00:00
|
|
|
}
|
|
|
|
|
2020-03-31 09:07:48 +00:00
|
|
|
type User struct {
|
|
|
|
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
|
2020-06-09 07:22:37 +00:00
|
|
|
State UserState `protobuf:"varint,2,opt,name=state,proto3,enum=caos.zitadel.auth.api.v1.UserState" json:"state,omitempty"`
|
2020-03-31 09:07:48 +00:00
|
|
|
CreationDate *timestamp.Timestamp `protobuf:"bytes,3,opt,name=creation_date,json=creationDate,proto3" json:"creation_date,omitempty"`
|
|
|
|
ActivationDate *timestamp.Timestamp `protobuf:"bytes,4,opt,name=activation_date,json=activationDate,proto3" json:"activation_date,omitempty"`
|
|
|
|
ChangeDate *timestamp.Timestamp `protobuf:"bytes,5,opt,name=change_date,json=changeDate,proto3" json:"change_date,omitempty"`
|
|
|
|
LastLogin *timestamp.Timestamp `protobuf:"bytes,6,opt,name=last_login,json=lastLogin,proto3" json:"last_login,omitempty"`
|
|
|
|
PasswordChanged *timestamp.Timestamp `protobuf:"bytes,7,opt,name=password_changed,json=passwordChanged,proto3" json:"password_changed,omitempty"`
|
|
|
|
UserName string `protobuf:"bytes,8,opt,name=user_name,json=userName,proto3" json:"user_name,omitempty"`
|
|
|
|
FirstName string `protobuf:"bytes,9,opt,name=first_name,json=firstName,proto3" json:"first_name,omitempty"`
|
|
|
|
LastName string `protobuf:"bytes,10,opt,name=last_name,json=lastName,proto3" json:"last_name,omitempty"`
|
|
|
|
NickName string `protobuf:"bytes,11,opt,name=nick_name,json=nickName,proto3" json:"nick_name,omitempty"`
|
|
|
|
DisplayName string `protobuf:"bytes,12,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
|
|
|
|
PreferredLanguage string `protobuf:"bytes,13,opt,name=preferred_language,json=preferredLanguage,proto3" json:"preferred_language,omitempty"`
|
2020-06-09 07:22:37 +00:00
|
|
|
Gender Gender `protobuf:"varint,14,opt,name=gender,proto3,enum=caos.zitadel.auth.api.v1.Gender" json:"gender,omitempty"`
|
2020-03-31 09:07:48 +00:00
|
|
|
Email string `protobuf:"bytes,15,opt,name=email,proto3" json:"email,omitempty"`
|
|
|
|
IsEmailVerified bool `protobuf:"varint,16,opt,name=is_email_verified,json=isEmailVerified,proto3" json:"is_email_verified,omitempty"`
|
|
|
|
Phone string `protobuf:"bytes,17,opt,name=phone,proto3" json:"phone,omitempty"`
|
|
|
|
IsPhoneVerified bool `protobuf:"varint,18,opt,name=is_phone_verified,json=isPhoneVerified,proto3" json:"is_phone_verified,omitempty"`
|
|
|
|
Country string `protobuf:"bytes,19,opt,name=country,proto3" json:"country,omitempty"`
|
|
|
|
Locality string `protobuf:"bytes,20,opt,name=locality,proto3" json:"locality,omitempty"`
|
|
|
|
PostalCode string `protobuf:"bytes,21,opt,name=postal_code,json=postalCode,proto3" json:"postal_code,omitempty"`
|
|
|
|
Region string `protobuf:"bytes,22,opt,name=region,proto3" json:"region,omitempty"`
|
|
|
|
StreetAddress string `protobuf:"bytes,23,opt,name=street_address,json=streetAddress,proto3" json:"street_address,omitempty"`
|
|
|
|
PasswordChangeRequired bool `protobuf:"varint,24,opt,name=password_change_required,json=passwordChangeRequired,proto3" json:"password_change_required,omitempty"`
|
2020-04-07 11:23:04 +00:00
|
|
|
Sequence uint64 `protobuf:"varint,25,opt,name=sequence,proto3" json:"sequence,omitempty"`
|
2020-06-17 05:25:04 +00:00
|
|
|
LoginNames []string `protobuf:"bytes,26,rep,name=login_names,json=loginNames,proto3" json:"login_names,omitempty"`
|
|
|
|
PreferredLoginName string `protobuf:"bytes,27,opt,name=preferred_login_name,json=preferredLoginName,proto3" json:"preferred_login_name,omitempty"`
|
2020-06-17 06:06:40 +00:00
|
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
|
|
XXX_unrecognized []byte `json:"-"`
|
|
|
|
XXX_sizecache int32 `json:"-"`
|
2020-03-23 15:56:02 +00:00
|
|
|
}
|
2020-03-31 09:07:48 +00:00
|
|
|
|
2020-06-17 06:06:40 +00:00
|
|
|
func (m *User) Reset() { *m = User{} }
|
|
|
|
func (m *User) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*User) ProtoMessage() {}
|
|
|
|
func (*User) Descriptor() ([]byte, []int) {
|
|
|
|
return fileDescriptor_8bbd6f3875b0e874, []int{2}
|
2020-03-23 15:56:02 +00:00
|
|
|
}
|
2020-03-31 09:07:48 +00:00
|
|
|
|
2020-06-17 06:06:40 +00:00
|
|
|
func (m *User) XXX_Unmarshal(b []byte) error {
|
|
|
|
return xxx_messageInfo_User.Unmarshal(m, b)
|
2020-04-07 11:23:04 +00:00
|
|
|
}
|
2020-06-17 06:06:40 +00:00
|
|
|
func (m *User) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
return xxx_messageInfo_User.Marshal(b, m, deterministic)
|
2020-06-09 07:22:37 +00:00
|
|
|
}
|
2020-06-17 06:06:40 +00:00
|
|
|
func (m *User) XXX_Merge(src proto.Message) {
|
|
|
|
xxx_messageInfo_User.Merge(m, src)
|
|
|
|
}
|
|
|
|
func (m *User) XXX_Size() int {
|
|
|
|
return xxx_messageInfo_User.Size(m)
|
|
|
|
}
|
|
|
|
func (m *User) XXX_DiscardUnknown() {
|
|
|
|
xxx_messageInfo_User.DiscardUnknown(m)
|
2020-06-16 09:40:18 +00:00
|
|
|
}
|
2020-03-23 15:56:02 +00:00
|
|
|
|
2020-06-17 06:06:40 +00:00
|
|
|
var xxx_messageInfo_User proto.InternalMessageInfo
|
|
|
|
|
|
|
|
func (m *User) GetId() string {
|
|
|
|
if m != nil {
|
|
|
|
return m.Id
|
2020-03-31 09:07:48 +00:00
|
|
|
}
|
|
|
|
return ""
|
2020-03-23 15:56:02 +00:00
|
|
|
}
|
|
|
|
|
2020-06-17 06:06:40 +00:00
|
|
|
func (m *User) GetState() UserState {
|
|
|
|
if m != nil {
|
|
|
|
return m.State
|
2020-03-31 09:07:48 +00:00
|
|
|
}
|
|
|
|
return UserState_USERSTATE_UNSPECIEFIED
|
2020-03-23 15:56:02 +00:00
|
|
|
}
|
|
|
|
|
2020-06-17 06:06:40 +00:00
|
|
|
func (m *User) GetCreationDate() *timestamp.Timestamp {
|
|
|
|
if m != nil {
|
|
|
|
return m.CreationDate
|
2020-03-23 15:56:02 +00:00
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2020-06-17 06:06:40 +00:00
|
|
|
func (m *User) GetActivationDate() *timestamp.Timestamp {
|
|
|
|
if m != nil {
|
|
|
|
return m.ActivationDate
|
2020-03-31 09:07:48 +00:00
|
|
|
}
|
|
|
|
return nil
|
2020-03-23 15:56:02 +00:00
|
|
|
}
|
|
|
|
|
2020-06-17 06:06:40 +00:00
|
|
|
func (m *User) GetChangeDate() *timestamp.Timestamp {
|
|
|
|
if m != nil {
|
|
|
|
return m.ChangeDate
|
2020-03-31 09:07:48 +00:00
|
|
|
}
|
|
|
|
return nil
|
2020-03-23 15:56:02 +00:00
|
|
|
}
|
|
|
|
|
2020-06-17 06:06:40 +00:00
|
|
|
func (m *User) GetLastLogin() *timestamp.Timestamp {
|
|
|
|
if m != nil {
|
|
|
|
return m.LastLogin
|
2020-03-31 09:07:48 +00:00
|
|
|
}
|
|
|
|
return nil
|
2020-03-23 15:56:02 +00:00
|
|
|
}
|
|
|
|
|
2020-06-17 06:06:40 +00:00
|
|
|
func (m *User) GetPasswordChanged() *timestamp.Timestamp {
|
|
|
|
if m != nil {
|
|
|
|
return m.PasswordChanged
|
2020-03-31 09:07:48 +00:00
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
2020-03-23 15:56:02 +00:00
|
|
|
|
2020-06-17 06:06:40 +00:00
|
|
|
func (m *User) GetUserName() string {
|
|
|
|
if m != nil {
|
|
|
|
return m.UserName
|
2020-03-23 15:56:02 +00:00
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
2020-06-17 06:06:40 +00:00
|
|
|
func (m *User) GetFirstName() string {
|
|
|
|
if m != nil {
|
|
|
|
return m.FirstName
|
2020-03-23 15:56:02 +00:00
|
|
|
}
|
2020-03-31 09:07:48 +00:00
|
|
|
return ""
|
2020-03-23 15:56:02 +00:00
|
|
|
}
|
|
|
|
|
2020-06-17 06:06:40 +00:00
|
|
|
func (m *User) GetLastName() string {
|
|
|
|
if m != nil {
|
|
|
|
return m.LastName
|
2020-03-23 15:56:02 +00:00
|
|
|
}
|
2020-03-31 09:07:48 +00:00
|
|
|
return ""
|
2020-03-23 15:56:02 +00:00
|
|
|
}
|
|
|
|
|
2020-06-17 06:06:40 +00:00
|
|
|
func (m *User) GetNickName() string {
|
|
|
|
if m != nil {
|
|
|
|
return m.NickName
|
2020-03-23 15:56:02 +00:00
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
2020-06-17 06:06:40 +00:00
|
|
|
func (m *User) GetDisplayName() string {
|
|
|
|
if m != nil {
|
|
|
|
return m.DisplayName
|
2020-03-23 15:56:02 +00:00
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
2020-06-17 06:06:40 +00:00
|
|
|
func (m *User) GetPreferredLanguage() string {
|
|
|
|
if m != nil {
|
|
|
|
return m.PreferredLanguage
|
2020-03-23 15:56:02 +00:00
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
2020-06-17 06:06:40 +00:00
|
|
|
func (m *User) GetGender() Gender {
|
|
|
|
if m != nil {
|
|
|
|
return m.Gender
|
2020-03-23 15:56:02 +00:00
|
|
|
}
|
2020-03-31 09:07:48 +00:00
|
|
|
return Gender_GENDER_UNSPECIFIED
|
2020-03-23 15:56:02 +00:00
|
|
|
}
|
|
|
|
|
2020-06-17 06:06:40 +00:00
|
|
|
func (m *User) GetEmail() string {
|
|
|
|
if m != nil {
|
|
|
|
return m.Email
|
2020-03-23 15:56:02 +00:00
|
|
|
}
|
2020-03-31 09:07:48 +00:00
|
|
|
return ""
|
2020-03-23 15:56:02 +00:00
|
|
|
}
|
|
|
|
|
2020-06-17 06:06:40 +00:00
|
|
|
func (m *User) GetIsEmailVerified() bool {
|
|
|
|
if m != nil {
|
|
|
|
return m.IsEmailVerified
|
2020-03-23 15:56:02 +00:00
|
|
|
}
|
2020-03-31 09:07:48 +00:00
|
|
|
return false
|
2020-03-23 15:56:02 +00:00
|
|
|
}
|
|
|
|
|
2020-06-17 06:06:40 +00:00
|
|
|
func (m *User) GetPhone() string {
|
|
|
|
if m != nil {
|
|
|
|
return m.Phone
|
2020-03-23 15:56:02 +00:00
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
2020-06-17 06:06:40 +00:00
|
|
|
func (m *User) GetIsPhoneVerified() bool {
|
|
|
|
if m != nil {
|
|
|
|
return m.IsPhoneVerified
|
2020-03-23 15:56:02 +00:00
|
|
|
}
|
2020-03-31 09:07:48 +00:00
|
|
|
return false
|
2020-03-23 15:56:02 +00:00
|
|
|
}
|
|
|
|
|
2020-06-17 06:06:40 +00:00
|
|
|
func (m *User) GetCountry() string {
|
|
|
|
if m != nil {
|
|
|
|
return m.Country
|
2020-03-31 09:07:48 +00:00
|
|
|
}
|
|
|
|
return ""
|
2020-03-23 15:56:02 +00:00
|
|
|
}
|
|
|
|
|
2020-06-17 06:06:40 +00:00
|
|
|
func (m *User) GetLocality() string {
|
|
|
|
if m != nil {
|
|
|
|
return m.Locality
|
2020-03-31 09:07:48 +00:00
|
|
|
}
|
|
|
|
return ""
|
2020-03-23 15:56:02 +00:00
|
|
|
}
|
|
|
|
|
2020-06-17 06:06:40 +00:00
|
|
|
func (m *User) GetPostalCode() string {
|
|
|
|
if m != nil {
|
|
|
|
return m.PostalCode
|
2020-03-23 15:56:02 +00:00
|
|
|
}
|
2020-03-31 09:07:48 +00:00
|
|
|
return ""
|
2020-03-23 15:56:02 +00:00
|
|
|
}
|
|
|
|
|
2020-06-17 06:06:40 +00:00
|
|
|
func (m *User) GetRegion() string {
|
|
|
|
if m != nil {
|
|
|
|
return m.Region
|
2020-03-23 15:56:02 +00:00
|
|
|
}
|
2020-03-31 09:07:48 +00:00
|
|
|
return ""
|
2020-03-23 15:56:02 +00:00
|
|
|
}
|
|
|
|
|
2020-06-17 06:06:40 +00:00
|
|
|
func (m *User) GetStreetAddress() string {
|
|
|
|
if m != nil {
|
|
|
|
return m.StreetAddress
|
2020-03-23 15:56:02 +00:00
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
2020-06-17 06:06:40 +00:00
|
|
|
func (m *User) GetPasswordChangeRequired() bool {
|
|
|
|
if m != nil {
|
|
|
|
return m.PasswordChangeRequired
|
2020-03-23 15:56:02 +00:00
|
|
|
}
|
2020-03-31 09:07:48 +00:00
|
|
|
return false
|
2020-03-23 15:56:02 +00:00
|
|
|
}
|
|
|
|
|
2020-06-17 06:06:40 +00:00
|
|
|
func (m *User) GetSequence() uint64 {
|
|
|
|
if m != nil {
|
|
|
|
return m.Sequence
|
2020-03-31 09:07:48 +00:00
|
|
|
}
|
2020-04-07 11:23:04 +00:00
|
|
|
return 0
|
2020-03-23 15:56:02 +00:00
|
|
|
}
|
2020-03-31 09:07:48 +00:00
|
|
|
|
2020-06-17 06:06:40 +00:00
|
|
|
func (m *User) GetLoginNames() []string {
|
|
|
|
if m != nil {
|
|
|
|
return m.LoginNames
|
2020-06-17 05:25:04 +00:00
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2020-06-17 06:06:40 +00:00
|
|
|
func (m *User) GetPreferredLoginName() string {
|
|
|
|
if m != nil {
|
|
|
|
return m.PreferredLoginName
|
2020-06-17 05:25:04 +00:00
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
2020-04-07 11:23:04 +00:00
|
|
|
type UserProfile struct {
|
2020-06-17 06:06:40 +00:00
|
|
|
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
|
|
|
|
UserName string `protobuf:"bytes,2,opt,name=user_name,json=userName,proto3" json:"user_name,omitempty"`
|
|
|
|
FirstName string `protobuf:"bytes,3,opt,name=first_name,json=firstName,proto3" json:"first_name,omitempty"`
|
|
|
|
LastName string `protobuf:"bytes,4,opt,name=last_name,json=lastName,proto3" json:"last_name,omitempty"`
|
|
|
|
NickName string `protobuf:"bytes,5,opt,name=nick_name,json=nickName,proto3" json:"nick_name,omitempty"`
|
|
|
|
DisplayName string `protobuf:"bytes,6,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
|
|
|
|
PreferredLanguage string `protobuf:"bytes,7,opt,name=preferred_language,json=preferredLanguage,proto3" json:"preferred_language,omitempty"`
|
|
|
|
Gender Gender `protobuf:"varint,8,opt,name=gender,proto3,enum=caos.zitadel.auth.api.v1.Gender" json:"gender,omitempty"`
|
|
|
|
Sequence uint64 `protobuf:"varint,9,opt,name=sequence,proto3" json:"sequence,omitempty"`
|
|
|
|
CreationDate *timestamp.Timestamp `protobuf:"bytes,10,opt,name=creation_date,json=creationDate,proto3" json:"creation_date,omitempty"`
|
|
|
|
ChangeDate *timestamp.Timestamp `protobuf:"bytes,11,opt,name=change_date,json=changeDate,proto3" json:"change_date,omitempty"`
|
|
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
|
|
XXX_unrecognized []byte `json:"-"`
|
|
|
|
XXX_sizecache int32 `json:"-"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *UserProfile) Reset() { *m = UserProfile{} }
|
|
|
|
func (m *UserProfile) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*UserProfile) ProtoMessage() {}
|
|
|
|
func (*UserProfile) Descriptor() ([]byte, []int) {
|
|
|
|
return fileDescriptor_8bbd6f3875b0e874, []int{3}
|
2020-04-07 11:23:04 +00:00
|
|
|
}
|
2020-06-16 09:40:18 +00:00
|
|
|
|
2020-06-17 06:06:40 +00:00
|
|
|
func (m *UserProfile) XXX_Unmarshal(b []byte) error {
|
|
|
|
return xxx_messageInfo_UserProfile.Unmarshal(m, b)
|
2020-03-31 09:07:48 +00:00
|
|
|
}
|
2020-06-17 06:06:40 +00:00
|
|
|
func (m *UserProfile) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
return xxx_messageInfo_UserProfile.Marshal(b, m, deterministic)
|
2020-06-09 07:22:37 +00:00
|
|
|
}
|
2020-06-17 06:06:40 +00:00
|
|
|
func (m *UserProfile) XXX_Merge(src proto.Message) {
|
|
|
|
xxx_messageInfo_UserProfile.Merge(m, src)
|
2020-06-05 05:50:04 +00:00
|
|
|
}
|
2020-06-17 06:06:40 +00:00
|
|
|
func (m *UserProfile) XXX_Size() int {
|
|
|
|
return xxx_messageInfo_UserProfile.Size(m)
|
2020-06-16 09:40:18 +00:00
|
|
|
}
|
2020-06-17 06:06:40 +00:00
|
|
|
func (m *UserProfile) XXX_DiscardUnknown() {
|
|
|
|
xxx_messageInfo_UserProfile.DiscardUnknown(m)
|
|
|
|
}
|
|
|
|
|
|
|
|
var xxx_messageInfo_UserProfile proto.InternalMessageInfo
|
2020-06-09 07:22:37 +00:00
|
|
|
|
2020-06-17 06:06:40 +00:00
|
|
|
func (m *UserProfile) GetId() string {
|
|
|
|
if m != nil {
|
|
|
|
return m.Id
|
2020-03-23 15:56:02 +00:00
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
2020-06-17 06:06:40 +00:00
|
|
|
func (m *UserProfile) GetUserName() string {
|
|
|
|
if m != nil {
|
|
|
|
return m.UserName
|
2020-03-23 15:56:02 +00:00
|
|
|
}
|
2020-03-31 09:07:48 +00:00
|
|
|
return ""
|
2020-03-23 15:56:02 +00:00
|
|
|
}
|
|
|
|
|
2020-06-17 06:06:40 +00:00
|
|
|
func (m *UserProfile) GetFirstName() string {
|
|
|
|
if m != nil {
|
|
|
|
return m.FirstName
|
2020-03-23 15:56:02 +00:00
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
2020-06-17 06:06:40 +00:00
|
|
|
func (m *UserProfile) GetLastName() string {
|
|
|
|
if m != nil {
|
|
|
|
return m.LastName
|
2020-03-23 15:56:02 +00:00
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
2020-06-17 06:06:40 +00:00
|
|
|
func (m *UserProfile) GetNickName() string {
|
|
|
|
if m != nil {
|
|
|
|
return m.NickName
|
2020-03-23 15:56:02 +00:00
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
2020-06-17 06:06:40 +00:00
|
|
|
func (m *UserProfile) GetDisplayName() string {
|
|
|
|
if m != nil {
|
|
|
|
return m.DisplayName
|
2020-03-23 15:56:02 +00:00
|
|
|
}
|
2020-03-31 09:07:48 +00:00
|
|
|
return ""
|
2020-03-23 15:56:02 +00:00
|
|
|
}
|
|
|
|
|
2020-06-17 06:06:40 +00:00
|
|
|
func (m *UserProfile) GetPreferredLanguage() string {
|
|
|
|
if m != nil {
|
|
|
|
return m.PreferredLanguage
|
2020-03-23 15:56:02 +00:00
|
|
|
}
|
2020-03-31 09:07:48 +00:00
|
|
|
return ""
|
2020-03-23 15:56:02 +00:00
|
|
|
}
|
|
|
|
|
2020-06-17 06:06:40 +00:00
|
|
|
func (m *UserProfile) GetGender() Gender {
|
|
|
|
if m != nil {
|
|
|
|
return m.Gender
|
2020-03-23 15:56:02 +00:00
|
|
|
}
|
2020-03-31 09:07:48 +00:00
|
|
|
return Gender_GENDER_UNSPECIFIED
|
2020-03-23 15:56:02 +00:00
|
|
|
}
|
|
|
|
|
2020-06-17 06:06:40 +00:00
|
|
|
func (m *UserProfile) GetSequence() uint64 {
|
|
|
|
if m != nil {
|
|
|
|
return m.Sequence
|
2020-03-23 15:56:02 +00:00
|
|
|
}
|
2020-04-07 11:23:04 +00:00
|
|
|
return 0
|
2020-03-23 15:56:02 +00:00
|
|
|
}
|
|
|
|
|
2020-06-17 06:06:40 +00:00
|
|
|
func (m *UserProfile) GetCreationDate() *timestamp.Timestamp {
|
|
|
|
if m != nil {
|
|
|
|
return m.CreationDate
|
2020-05-18 10:06:36 +00:00
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2020-06-17 06:06:40 +00:00
|
|
|
func (m *UserProfile) GetChangeDate() *timestamp.Timestamp {
|
|
|
|
if m != nil {
|
|
|
|
return m.ChangeDate
|
2020-05-18 10:06:36 +00:00
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2020-06-17 05:25:04 +00:00
|
|
|
type UserProfileView struct {
|
2020-06-17 06:06:40 +00:00
|
|
|
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
|
|
|
|
UserName string `protobuf:"bytes,2,opt,name=user_name,json=userName,proto3" json:"user_name,omitempty"`
|
|
|
|
FirstName string `protobuf:"bytes,3,opt,name=first_name,json=firstName,proto3" json:"first_name,omitempty"`
|
|
|
|
LastName string `protobuf:"bytes,4,opt,name=last_name,json=lastName,proto3" json:"last_name,omitempty"`
|
|
|
|
NickName string `protobuf:"bytes,5,opt,name=nick_name,json=nickName,proto3" json:"nick_name,omitempty"`
|
|
|
|
DisplayName string `protobuf:"bytes,6,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
|
|
|
|
PreferredLanguage string `protobuf:"bytes,7,opt,name=preferred_language,json=preferredLanguage,proto3" json:"preferred_language,omitempty"`
|
|
|
|
Gender Gender `protobuf:"varint,8,opt,name=gender,proto3,enum=caos.zitadel.auth.api.v1.Gender" json:"gender,omitempty"`
|
|
|
|
Sequence uint64 `protobuf:"varint,9,opt,name=sequence,proto3" json:"sequence,omitempty"`
|
|
|
|
CreationDate *timestamp.Timestamp `protobuf:"bytes,10,opt,name=creation_date,json=creationDate,proto3" json:"creation_date,omitempty"`
|
|
|
|
ChangeDate *timestamp.Timestamp `protobuf:"bytes,11,opt,name=change_date,json=changeDate,proto3" json:"change_date,omitempty"`
|
|
|
|
LoginNames []string `protobuf:"bytes,12,rep,name=login_names,json=loginNames,proto3" json:"login_names,omitempty"`
|
|
|
|
PreferredLoginName string `protobuf:"bytes,13,opt,name=preferred_login_name,json=preferredLoginName,proto3" json:"preferred_login_name,omitempty"`
|
|
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
|
|
XXX_unrecognized []byte `json:"-"`
|
|
|
|
XXX_sizecache int32 `json:"-"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *UserProfileView) Reset() { *m = UserProfileView{} }
|
|
|
|
func (m *UserProfileView) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*UserProfileView) ProtoMessage() {}
|
|
|
|
func (*UserProfileView) Descriptor() ([]byte, []int) {
|
|
|
|
return fileDescriptor_8bbd6f3875b0e874, []int{4}
|
2020-06-17 05:25:04 +00:00
|
|
|
}
|
|
|
|
|
2020-06-17 06:06:40 +00:00
|
|
|
func (m *UserProfileView) XXX_Unmarshal(b []byte) error {
|
|
|
|
return xxx_messageInfo_UserProfileView.Unmarshal(m, b)
|
2020-06-17 05:25:04 +00:00
|
|
|
}
|
2020-06-17 06:06:40 +00:00
|
|
|
func (m *UserProfileView) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
return xxx_messageInfo_UserProfileView.Marshal(b, m, deterministic)
|
2020-06-17 05:25:04 +00:00
|
|
|
}
|
2020-06-17 06:06:40 +00:00
|
|
|
func (m *UserProfileView) XXX_Merge(src proto.Message) {
|
|
|
|
xxx_messageInfo_UserProfileView.Merge(m, src)
|
2020-06-17 05:25:04 +00:00
|
|
|
}
|
2020-06-17 06:06:40 +00:00
|
|
|
func (m *UserProfileView) XXX_Size() int {
|
|
|
|
return xxx_messageInfo_UserProfileView.Size(m)
|
2020-06-17 05:25:04 +00:00
|
|
|
}
|
2020-06-17 06:06:40 +00:00
|
|
|
func (m *UserProfileView) XXX_DiscardUnknown() {
|
|
|
|
xxx_messageInfo_UserProfileView.DiscardUnknown(m)
|
|
|
|
}
|
|
|
|
|
|
|
|
var xxx_messageInfo_UserProfileView proto.InternalMessageInfo
|
2020-06-17 05:25:04 +00:00
|
|
|
|
2020-06-17 06:06:40 +00:00
|
|
|
func (m *UserProfileView) GetId() string {
|
|
|
|
if m != nil {
|
|
|
|
return m.Id
|
2020-06-17 05:25:04 +00:00
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
2020-06-17 06:06:40 +00:00
|
|
|
func (m *UserProfileView) GetUserName() string {
|
|
|
|
if m != nil {
|
|
|
|
return m.UserName
|
2020-06-17 05:25:04 +00:00
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
2020-06-17 06:06:40 +00:00
|
|
|
func (m *UserProfileView) GetFirstName() string {
|
|
|
|
if m != nil {
|
|
|
|
return m.FirstName
|
2020-06-17 05:25:04 +00:00
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
2020-06-17 06:06:40 +00:00
|
|
|
func (m *UserProfileView) GetLastName() string {
|
|
|
|
if m != nil {
|
|
|
|
return m.LastName
|
2020-06-17 05:25:04 +00:00
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
2020-06-17 06:06:40 +00:00
|
|
|
func (m *UserProfileView) GetNickName() string {
|
|
|
|
if m != nil {
|
|
|
|
return m.NickName
|
2020-06-17 05:25:04 +00:00
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
2020-06-17 06:06:40 +00:00
|
|
|
func (m *UserProfileView) GetDisplayName() string {
|
|
|
|
if m != nil {
|
|
|
|
return m.DisplayName
|
2020-06-17 05:25:04 +00:00
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
2020-06-17 06:06:40 +00:00
|
|
|
func (m *UserProfileView) GetPreferredLanguage() string {
|
|
|
|
if m != nil {
|
|
|
|
return m.PreferredLanguage
|
2020-06-17 05:25:04 +00:00
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
2020-06-17 06:06:40 +00:00
|
|
|
func (m *UserProfileView) GetGender() Gender {
|
|
|
|
if m != nil {
|
|
|
|
return m.Gender
|
2020-06-17 05:25:04 +00:00
|
|
|
}
|
|
|
|
return Gender_GENDER_UNSPECIFIED
|
|
|
|
}
|
|
|
|
|
2020-06-17 06:06:40 +00:00
|
|
|
func (m *UserProfileView) GetSequence() uint64 {
|
|
|
|
if m != nil {
|
|
|
|
return m.Sequence
|
2020-06-17 05:25:04 +00:00
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
2020-06-17 06:06:40 +00:00
|
|
|
func (m *UserProfileView) GetCreationDate() *timestamp.Timestamp {
|
|
|
|
if m != nil {
|
|
|
|
return m.CreationDate
|
2020-06-17 05:25:04 +00:00
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2020-06-17 06:06:40 +00:00
|
|
|
func (m *UserProfileView) GetChangeDate() *timestamp.Timestamp {
|
|
|
|
if m != nil {
|
|
|
|
return m.ChangeDate
|
2020-06-17 05:25:04 +00:00
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2020-06-17 06:06:40 +00:00
|
|
|
func (m *UserProfileView) GetLoginNames() []string {
|
|
|
|
if m != nil {
|
|
|
|
return m.LoginNames
|
2020-06-17 05:25:04 +00:00
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2020-06-17 06:06:40 +00:00
|
|
|
func (m *UserProfileView) GetPreferredLoginName() string {
|
|
|
|
if m != nil {
|
|
|
|
return m.PreferredLoginName
|
2020-06-17 05:25:04 +00:00
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
2020-04-07 11:23:04 +00:00
|
|
|
type UpdateUserProfileRequest struct {
|
2020-06-17 06:06:40 +00:00
|
|
|
FirstName string `protobuf:"bytes,1,opt,name=first_name,json=firstName,proto3" json:"first_name,omitempty"`
|
|
|
|
LastName string `protobuf:"bytes,2,opt,name=last_name,json=lastName,proto3" json:"last_name,omitempty"`
|
|
|
|
NickName string `protobuf:"bytes,3,opt,name=nick_name,json=nickName,proto3" json:"nick_name,omitempty"`
|
|
|
|
PreferredLanguage string `protobuf:"bytes,4,opt,name=preferred_language,json=preferredLanguage,proto3" json:"preferred_language,omitempty"`
|
|
|
|
Gender Gender `protobuf:"varint,5,opt,name=gender,proto3,enum=caos.zitadel.auth.api.v1.Gender" json:"gender,omitempty"`
|
|
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
|
|
XXX_unrecognized []byte `json:"-"`
|
|
|
|
XXX_sizecache int32 `json:"-"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *UpdateUserProfileRequest) Reset() { *m = UpdateUserProfileRequest{} }
|
|
|
|
func (m *UpdateUserProfileRequest) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*UpdateUserProfileRequest) ProtoMessage() {}
|
|
|
|
func (*UpdateUserProfileRequest) Descriptor() ([]byte, []int) {
|
|
|
|
return fileDescriptor_8bbd6f3875b0e874, []int{5}
|
2020-03-31 09:07:48 +00:00
|
|
|
}
|
2020-06-16 09:40:18 +00:00
|
|
|
|
2020-06-17 06:06:40 +00:00
|
|
|
func (m *UpdateUserProfileRequest) XXX_Unmarshal(b []byte) error {
|
|
|
|
return xxx_messageInfo_UpdateUserProfileRequest.Unmarshal(m, b)
|
2020-04-07 11:23:04 +00:00
|
|
|
}
|
2020-06-17 06:06:40 +00:00
|
|
|
func (m *UpdateUserProfileRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
return xxx_messageInfo_UpdateUserProfileRequest.Marshal(b, m, deterministic)
|
2020-06-05 05:50:04 +00:00
|
|
|
}
|
2020-06-17 06:06:40 +00:00
|
|
|
func (m *UpdateUserProfileRequest) XXX_Merge(src proto.Message) {
|
|
|
|
xxx_messageInfo_UpdateUserProfileRequest.Merge(m, src)
|
2020-06-09 07:22:37 +00:00
|
|
|
}
|
2020-06-17 06:06:40 +00:00
|
|
|
func (m *UpdateUserProfileRequest) XXX_Size() int {
|
|
|
|
return xxx_messageInfo_UpdateUserProfileRequest.Size(m)
|
2020-06-16 09:40:18 +00:00
|
|
|
}
|
2020-06-17 06:06:40 +00:00
|
|
|
func (m *UpdateUserProfileRequest) XXX_DiscardUnknown() {
|
|
|
|
xxx_messageInfo_UpdateUserProfileRequest.DiscardUnknown(m)
|
2020-03-23 15:56:02 +00:00
|
|
|
}
|
|
|
|
|
2020-06-17 06:06:40 +00:00
|
|
|
var xxx_messageInfo_UpdateUserProfileRequest proto.InternalMessageInfo
|
|
|
|
|
|
|
|
func (m *UpdateUserProfileRequest) GetFirstName() string {
|
|
|
|
if m != nil {
|
|
|
|
return m.FirstName
|
2020-03-23 15:56:02 +00:00
|
|
|
}
|
2020-03-31 09:07:48 +00:00
|
|
|
return ""
|
2020-03-23 15:56:02 +00:00
|
|
|
}
|
|
|
|
|
2020-06-17 06:06:40 +00:00
|
|
|
func (m *UpdateUserProfileRequest) GetLastName() string {
|
|
|
|
if m != nil {
|
|
|
|
return m.LastName
|
2020-03-23 15:56:02 +00:00
|
|
|
}
|
2020-03-31 09:07:48 +00:00
|
|
|
return ""
|
2020-03-23 15:56:02 +00:00
|
|
|
}
|
|
|
|
|
2020-06-17 06:06:40 +00:00
|
|
|
func (m *UpdateUserProfileRequest) GetNickName() string {
|
|
|
|
if m != nil {
|
|
|
|
return m.NickName
|
2020-03-23 15:56:02 +00:00
|
|
|
}
|
2020-03-31 09:07:48 +00:00
|
|
|
return ""
|
2020-03-23 15:56:02 +00:00
|
|
|
}
|
|
|
|
|
2020-06-17 06:06:40 +00:00
|
|
|
func (m *UpdateUserProfileRequest) GetPreferredLanguage() string {
|
|
|
|
if m != nil {
|
|
|
|
return m.PreferredLanguage
|
2020-03-23 15:56:02 +00:00
|
|
|
}
|
2020-03-31 09:07:48 +00:00
|
|
|
return ""
|
2020-03-23 15:56:02 +00:00
|
|
|
}
|
|
|
|
|
2020-06-17 06:06:40 +00:00
|
|
|
func (m *UpdateUserProfileRequest) GetGender() Gender {
|
|
|
|
if m != nil {
|
|
|
|
return m.Gender
|
2020-03-23 15:56:02 +00:00
|
|
|
}
|
2020-03-31 09:07:48 +00:00
|
|
|
return Gender_GENDER_UNSPECIFIED
|
2020-03-23 15:56:02 +00:00
|
|
|
}
|
|
|
|
|
2020-03-31 09:07:48 +00:00
|
|
|
type UserEmail struct {
|
2020-06-17 06:06:40 +00:00
|
|
|
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
|
|
|
|
Email string `protobuf:"bytes,2,opt,name=email,proto3" json:"email,omitempty"`
|
|
|
|
IsEmailVerified bool `protobuf:"varint,3,opt,name=isEmailVerified,proto3" json:"isEmailVerified,omitempty"`
|
|
|
|
Sequence uint64 `protobuf:"varint,4,opt,name=sequence,proto3" json:"sequence,omitempty"`
|
|
|
|
CreationDate *timestamp.Timestamp `protobuf:"bytes,5,opt,name=creation_date,json=creationDate,proto3" json:"creation_date,omitempty"`
|
|
|
|
ChangeDate *timestamp.Timestamp `protobuf:"bytes,6,opt,name=change_date,json=changeDate,proto3" json:"change_date,omitempty"`
|
|
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
|
|
XXX_unrecognized []byte `json:"-"`
|
|
|
|
XXX_sizecache int32 `json:"-"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *UserEmail) Reset() { *m = UserEmail{} }
|
|
|
|
func (m *UserEmail) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*UserEmail) ProtoMessage() {}
|
|
|
|
func (*UserEmail) Descriptor() ([]byte, []int) {
|
|
|
|
return fileDescriptor_8bbd6f3875b0e874, []int{6}
|
2020-06-05 05:50:04 +00:00
|
|
|
}
|
2020-06-16 09:40:18 +00:00
|
|
|
|
2020-06-17 06:06:40 +00:00
|
|
|
func (m *UserEmail) XXX_Unmarshal(b []byte) error {
|
|
|
|
return xxx_messageInfo_UserEmail.Unmarshal(m, b)
|
2020-06-05 05:50:04 +00:00
|
|
|
}
|
2020-06-17 06:06:40 +00:00
|
|
|
func (m *UserEmail) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
return xxx_messageInfo_UserEmail.Marshal(b, m, deterministic)
|
2020-06-05 05:50:04 +00:00
|
|
|
}
|
2020-06-17 06:06:40 +00:00
|
|
|
func (m *UserEmail) XXX_Merge(src proto.Message) {
|
|
|
|
xxx_messageInfo_UserEmail.Merge(m, src)
|
2020-06-09 07:22:37 +00:00
|
|
|
}
|
2020-06-17 06:06:40 +00:00
|
|
|
func (m *UserEmail) XXX_Size() int {
|
|
|
|
return xxx_messageInfo_UserEmail.Size(m)
|
2020-06-16 09:40:18 +00:00
|
|
|
}
|
2020-06-17 06:06:40 +00:00
|
|
|
func (m *UserEmail) XXX_DiscardUnknown() {
|
|
|
|
xxx_messageInfo_UserEmail.DiscardUnknown(m)
|
|
|
|
}
|
|
|
|
|
|
|
|
var xxx_messageInfo_UserEmail proto.InternalMessageInfo
|
2020-06-05 05:50:04 +00:00
|
|
|
|
2020-06-17 06:06:40 +00:00
|
|
|
func (m *UserEmail) GetId() string {
|
|
|
|
if m != nil {
|
|
|
|
return m.Id
|
2020-06-05 05:50:04 +00:00
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
2020-06-17 06:06:40 +00:00
|
|
|
func (m *UserEmail) GetEmail() string {
|
|
|
|
if m != nil {
|
|
|
|
return m.Email
|
2020-06-05 05:50:04 +00:00
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
2020-06-17 06:06:40 +00:00
|
|
|
func (m *UserEmail) GetIsEmailVerified() bool {
|
|
|
|
if m != nil {
|
|
|
|
return m.IsEmailVerified
|
2020-06-05 05:50:04 +00:00
|
|
|
}
|
|
|
|
return false
|
|
|
|
}
|
|
|
|
|
2020-06-17 06:06:40 +00:00
|
|
|
func (m *UserEmail) GetSequence() uint64 {
|
|
|
|
if m != nil {
|
|
|
|
return m.Sequence
|
2020-06-05 05:50:04 +00:00
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
2020-06-17 06:06:40 +00:00
|
|
|
func (m *UserEmail) GetCreationDate() *timestamp.Timestamp {
|
|
|
|
if m != nil {
|
|
|
|
return m.CreationDate
|
2020-06-05 05:50:04 +00:00
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2020-06-17 06:06:40 +00:00
|
|
|
func (m *UserEmail) GetChangeDate() *timestamp.Timestamp {
|
|
|
|
if m != nil {
|
|
|
|
return m.ChangeDate
|
2020-06-05 05:50:04 +00:00
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2020-06-17 05:25:04 +00:00
|
|
|
type UserEmailView struct {
|
2020-06-17 06:06:40 +00:00
|
|
|
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
|
|
|
|
Email string `protobuf:"bytes,2,opt,name=email,proto3" json:"email,omitempty"`
|
|
|
|
IsEmailVerified bool `protobuf:"varint,3,opt,name=isEmailVerified,proto3" json:"isEmailVerified,omitempty"`
|
|
|
|
Sequence uint64 `protobuf:"varint,4,opt,name=sequence,proto3" json:"sequence,omitempty"`
|
|
|
|
CreationDate *timestamp.Timestamp `protobuf:"bytes,5,opt,name=creation_date,json=creationDate,proto3" json:"creation_date,omitempty"`
|
|
|
|
ChangeDate *timestamp.Timestamp `protobuf:"bytes,6,opt,name=change_date,json=changeDate,proto3" json:"change_date,omitempty"`
|
|
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
|
|
XXX_unrecognized []byte `json:"-"`
|
|
|
|
XXX_sizecache int32 `json:"-"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *UserEmailView) Reset() { *m = UserEmailView{} }
|
|
|
|
func (m *UserEmailView) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*UserEmailView) ProtoMessage() {}
|
|
|
|
func (*UserEmailView) Descriptor() ([]byte, []int) {
|
|
|
|
return fileDescriptor_8bbd6f3875b0e874, []int{7}
|
2020-06-17 05:25:04 +00:00
|
|
|
}
|
|
|
|
|
2020-06-17 06:06:40 +00:00
|
|
|
func (m *UserEmailView) XXX_Unmarshal(b []byte) error {
|
|
|
|
return xxx_messageInfo_UserEmailView.Unmarshal(m, b)
|
2020-06-17 05:25:04 +00:00
|
|
|
}
|
2020-06-17 06:06:40 +00:00
|
|
|
func (m *UserEmailView) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
return xxx_messageInfo_UserEmailView.Marshal(b, m, deterministic)
|
2020-06-17 05:25:04 +00:00
|
|
|
}
|
2020-06-17 06:06:40 +00:00
|
|
|
func (m *UserEmailView) XXX_Merge(src proto.Message) {
|
|
|
|
xxx_messageInfo_UserEmailView.Merge(m, src)
|
2020-06-17 05:25:04 +00:00
|
|
|
}
|
2020-06-17 06:06:40 +00:00
|
|
|
func (m *UserEmailView) XXX_Size() int {
|
|
|
|
return xxx_messageInfo_UserEmailView.Size(m)
|
|
|
|
}
|
|
|
|
func (m *UserEmailView) XXX_DiscardUnknown() {
|
|
|
|
xxx_messageInfo_UserEmailView.DiscardUnknown(m)
|
2020-06-17 05:25:04 +00:00
|
|
|
}
|
|
|
|
|
2020-06-17 06:06:40 +00:00
|
|
|
var xxx_messageInfo_UserEmailView proto.InternalMessageInfo
|
|
|
|
|
|
|
|
func (m *UserEmailView) GetId() string {
|
|
|
|
if m != nil {
|
|
|
|
return m.Id
|
2020-06-17 05:25:04 +00:00
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
2020-06-17 06:06:40 +00:00
|
|
|
func (m *UserEmailView) GetEmail() string {
|
|
|
|
if m != nil {
|
|
|
|
return m.Email
|
2020-06-17 05:25:04 +00:00
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
2020-06-17 06:06:40 +00:00
|
|
|
func (m *UserEmailView) GetIsEmailVerified() bool {
|
|
|
|
if m != nil {
|
|
|
|
return m.IsEmailVerified
|
2020-06-17 05:25:04 +00:00
|
|
|
}
|
|
|
|
return false
|
|
|
|
}
|
|
|
|
|
2020-06-17 06:06:40 +00:00
|
|
|
func (m *UserEmailView) GetSequence() uint64 {
|
|
|
|
if m != nil {
|
|
|
|
return m.Sequence
|
2020-06-17 05:25:04 +00:00
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
2020-06-17 06:06:40 +00:00
|
|
|
func (m *UserEmailView) GetCreationDate() *timestamp.Timestamp {
|
|
|
|
if m != nil {
|
|
|
|
return m.CreationDate
|
2020-06-17 05:25:04 +00:00
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2020-06-17 06:06:40 +00:00
|
|
|
func (m *UserEmailView) GetChangeDate() *timestamp.Timestamp {
|
|
|
|
if m != nil {
|
|
|
|
return m.ChangeDate
|
2020-06-17 05:25:04 +00:00
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2020-06-05 05:50:04 +00:00
|
|
|
type VerifyMyUserEmailRequest struct {
|
2020-06-17 06:06:40 +00:00
|
|
|
Code string `protobuf:"bytes,1,opt,name=code,proto3" json:"code,omitempty"`
|
|
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
|
|
XXX_unrecognized []byte `json:"-"`
|
|
|
|
XXX_sizecache int32 `json:"-"`
|
2020-06-05 05:50:04 +00:00
|
|
|
}
|
|
|
|
|
2020-06-17 06:06:40 +00:00
|
|
|
func (m *VerifyMyUserEmailRequest) Reset() { *m = VerifyMyUserEmailRequest{} }
|
|
|
|
func (m *VerifyMyUserEmailRequest) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*VerifyMyUserEmailRequest) ProtoMessage() {}
|
|
|
|
func (*VerifyMyUserEmailRequest) Descriptor() ([]byte, []int) {
|
|
|
|
return fileDescriptor_8bbd6f3875b0e874, []int{8}
|
2020-06-09 07:22:37 +00:00
|
|
|
}
|
2020-06-16 09:40:18 +00:00
|
|
|
|
2020-06-17 06:06:40 +00:00
|
|
|
func (m *VerifyMyUserEmailRequest) XXX_Unmarshal(b []byte) error {
|
|
|
|
return xxx_messageInfo_VerifyMyUserEmailRequest.Unmarshal(m, b)
|
2020-06-05 05:50:04 +00:00
|
|
|
}
|
2020-06-17 06:06:40 +00:00
|
|
|
func (m *VerifyMyUserEmailRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
return xxx_messageInfo_VerifyMyUserEmailRequest.Marshal(b, m, deterministic)
|
2020-06-09 07:22:37 +00:00
|
|
|
}
|
2020-06-17 06:06:40 +00:00
|
|
|
func (m *VerifyMyUserEmailRequest) XXX_Merge(src proto.Message) {
|
|
|
|
xxx_messageInfo_VerifyMyUserEmailRequest.Merge(m, src)
|
|
|
|
}
|
|
|
|
func (m *VerifyMyUserEmailRequest) XXX_Size() int {
|
|
|
|
return xxx_messageInfo_VerifyMyUserEmailRequest.Size(m)
|
|
|
|
}
|
|
|
|
func (m *VerifyMyUserEmailRequest) XXX_DiscardUnknown() {
|
|
|
|
xxx_messageInfo_VerifyMyUserEmailRequest.DiscardUnknown(m)
|
2020-06-16 09:40:18 +00:00
|
|
|
}
|
2020-06-05 05:50:04 +00:00
|
|
|
|
2020-06-17 06:06:40 +00:00
|
|
|
var xxx_messageInfo_VerifyMyUserEmailRequest proto.InternalMessageInfo
|
|
|
|
|
|
|
|
func (m *VerifyMyUserEmailRequest) GetCode() string {
|
|
|
|
if m != nil {
|
|
|
|
return m.Code
|
2020-06-05 05:50:04 +00:00
|
|
|
}
|
|
|
|
return ""
|
2020-03-23 15:56:02 +00:00
|
|
|
}
|
|
|
|
|
2020-06-05 05:50:04 +00:00
|
|
|
type VerifyUserEmailRequest struct {
|
2020-06-17 06:06:40 +00:00
|
|
|
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
|
|
|
|
Code string `protobuf:"bytes,2,opt,name=code,proto3" json:"code,omitempty"`
|
|
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
|
|
XXX_unrecognized []byte `json:"-"`
|
|
|
|
XXX_sizecache int32 `json:"-"`
|
2020-03-23 15:56:02 +00:00
|
|
|
}
|
2020-06-05 05:50:04 +00:00
|
|
|
|
2020-06-17 06:06:40 +00:00
|
|
|
func (m *VerifyUserEmailRequest) Reset() { *m = VerifyUserEmailRequest{} }
|
|
|
|
func (m *VerifyUserEmailRequest) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*VerifyUserEmailRequest) ProtoMessage() {}
|
|
|
|
func (*VerifyUserEmailRequest) Descriptor() ([]byte, []int) {
|
|
|
|
return fileDescriptor_8bbd6f3875b0e874, []int{9}
|
2020-06-09 07:22:37 +00:00
|
|
|
}
|
2020-06-16 09:40:18 +00:00
|
|
|
|
2020-06-17 06:06:40 +00:00
|
|
|
func (m *VerifyUserEmailRequest) XXX_Unmarshal(b []byte) error {
|
|
|
|
return xxx_messageInfo_VerifyUserEmailRequest.Unmarshal(m, b)
|
2020-06-09 07:22:37 +00:00
|
|
|
}
|
2020-06-17 06:06:40 +00:00
|
|
|
func (m *VerifyUserEmailRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
return xxx_messageInfo_VerifyUserEmailRequest.Marshal(b, m, deterministic)
|
2020-03-23 15:56:02 +00:00
|
|
|
}
|
2020-06-17 06:06:40 +00:00
|
|
|
func (m *VerifyUserEmailRequest) XXX_Merge(src proto.Message) {
|
|
|
|
xxx_messageInfo_VerifyUserEmailRequest.Merge(m, src)
|
|
|
|
}
|
|
|
|
func (m *VerifyUserEmailRequest) XXX_Size() int {
|
|
|
|
return xxx_messageInfo_VerifyUserEmailRequest.Size(m)
|
|
|
|
}
|
|
|
|
func (m *VerifyUserEmailRequest) XXX_DiscardUnknown() {
|
|
|
|
xxx_messageInfo_VerifyUserEmailRequest.DiscardUnknown(m)
|
2020-06-16 09:40:18 +00:00
|
|
|
}
|
2020-06-09 07:22:37 +00:00
|
|
|
|
2020-06-17 06:06:40 +00:00
|
|
|
var xxx_messageInfo_VerifyUserEmailRequest proto.InternalMessageInfo
|
|
|
|
|
|
|
|
func (m *VerifyUserEmailRequest) GetId() string {
|
|
|
|
if m != nil {
|
|
|
|
return m.Id
|
2020-06-05 05:50:04 +00:00
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
2020-06-17 06:06:40 +00:00
|
|
|
func (m *VerifyUserEmailRequest) GetCode() string {
|
|
|
|
if m != nil {
|
|
|
|
return m.Code
|
2020-06-05 05:50:04 +00:00
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
|
|
|
type UpdateUserEmailRequest struct {
|
2020-06-17 06:06:40 +00:00
|
|
|
Email string `protobuf:"bytes,1,opt,name=email,proto3" json:"email,omitempty"`
|
|
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
|
|
XXX_unrecognized []byte `json:"-"`
|
|
|
|
XXX_sizecache int32 `json:"-"`
|
2020-06-05 05:50:04 +00:00
|
|
|
}
|
|
|
|
|
2020-06-17 06:06:40 +00:00
|
|
|
func (m *UpdateUserEmailRequest) Reset() { *m = UpdateUserEmailRequest{} }
|
|
|
|
func (m *UpdateUserEmailRequest) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*UpdateUserEmailRequest) ProtoMessage() {}
|
|
|
|
func (*UpdateUserEmailRequest) Descriptor() ([]byte, []int) {
|
|
|
|
return fileDescriptor_8bbd6f3875b0e874, []int{10}
|
2020-06-09 07:22:37 +00:00
|
|
|
}
|
2020-06-16 09:40:18 +00:00
|
|
|
|
2020-06-17 06:06:40 +00:00
|
|
|
func (m *UpdateUserEmailRequest) XXX_Unmarshal(b []byte) error {
|
|
|
|
return xxx_messageInfo_UpdateUserEmailRequest.Unmarshal(m, b)
|
2020-06-05 05:50:04 +00:00
|
|
|
}
|
2020-06-17 06:06:40 +00:00
|
|
|
func (m *UpdateUserEmailRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
return xxx_messageInfo_UpdateUserEmailRequest.Marshal(b, m, deterministic)
|
2020-06-09 07:22:37 +00:00
|
|
|
}
|
2020-06-17 06:06:40 +00:00
|
|
|
func (m *UpdateUserEmailRequest) XXX_Merge(src proto.Message) {
|
|
|
|
xxx_messageInfo_UpdateUserEmailRequest.Merge(m, src)
|
|
|
|
}
|
|
|
|
func (m *UpdateUserEmailRequest) XXX_Size() int {
|
|
|
|
return xxx_messageInfo_UpdateUserEmailRequest.Size(m)
|
|
|
|
}
|
|
|
|
func (m *UpdateUserEmailRequest) XXX_DiscardUnknown() {
|
|
|
|
xxx_messageInfo_UpdateUserEmailRequest.DiscardUnknown(m)
|
2020-06-16 09:40:18 +00:00
|
|
|
}
|
2020-06-05 05:50:04 +00:00
|
|
|
|
2020-06-17 06:06:40 +00:00
|
|
|
var xxx_messageInfo_UpdateUserEmailRequest proto.InternalMessageInfo
|
|
|
|
|
|
|
|
func (m *UpdateUserEmailRequest) GetEmail() string {
|
|
|
|
if m != nil {
|
|
|
|
return m.Email
|
2020-06-05 05:50:04 +00:00
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
|
|
|
type UserPhone struct {
|
2020-06-17 06:06:40 +00:00
|
|
|
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
|
|
|
|
Phone string `protobuf:"bytes,2,opt,name=phone,proto3" json:"phone,omitempty"`
|
|
|
|
IsPhoneVerified bool `protobuf:"varint,3,opt,name=is_phone_verified,json=isPhoneVerified,proto3" json:"is_phone_verified,omitempty"`
|
|
|
|
Sequence uint64 `protobuf:"varint,4,opt,name=sequence,proto3" json:"sequence,omitempty"`
|
|
|
|
CreationDate *timestamp.Timestamp `protobuf:"bytes,5,opt,name=creation_date,json=creationDate,proto3" json:"creation_date,omitempty"`
|
|
|
|
ChangeDate *timestamp.Timestamp `protobuf:"bytes,6,opt,name=change_date,json=changeDate,proto3" json:"change_date,omitempty"`
|
|
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
|
|
XXX_unrecognized []byte `json:"-"`
|
|
|
|
XXX_sizecache int32 `json:"-"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *UserPhone) Reset() { *m = UserPhone{} }
|
|
|
|
func (m *UserPhone) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*UserPhone) ProtoMessage() {}
|
|
|
|
func (*UserPhone) Descriptor() ([]byte, []int) {
|
|
|
|
return fileDescriptor_8bbd6f3875b0e874, []int{11}
|
2020-06-05 05:50:04 +00:00
|
|
|
}
|
2020-06-16 09:40:18 +00:00
|
|
|
|
2020-06-17 06:06:40 +00:00
|
|
|
func (m *UserPhone) XXX_Unmarshal(b []byte) error {
|
|
|
|
return xxx_messageInfo_UserPhone.Unmarshal(m, b)
|
2020-06-05 05:50:04 +00:00
|
|
|
}
|
2020-06-17 06:06:40 +00:00
|
|
|
func (m *UserPhone) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
return xxx_messageInfo_UserPhone.Marshal(b, m, deterministic)
|
2020-06-09 07:22:37 +00:00
|
|
|
}
|
2020-06-17 06:06:40 +00:00
|
|
|
func (m *UserPhone) XXX_Merge(src proto.Message) {
|
|
|
|
xxx_messageInfo_UserPhone.Merge(m, src)
|
2020-06-05 05:50:04 +00:00
|
|
|
}
|
2020-06-17 06:06:40 +00:00
|
|
|
func (m *UserPhone) XXX_Size() int {
|
|
|
|
return xxx_messageInfo_UserPhone.Size(m)
|
2020-06-16 09:40:18 +00:00
|
|
|
}
|
2020-06-17 06:06:40 +00:00
|
|
|
func (m *UserPhone) XXX_DiscardUnknown() {
|
|
|
|
xxx_messageInfo_UserPhone.DiscardUnknown(m)
|
|
|
|
}
|
|
|
|
|
|
|
|
var xxx_messageInfo_UserPhone proto.InternalMessageInfo
|
2020-06-09 07:22:37 +00:00
|
|
|
|
2020-06-17 06:06:40 +00:00
|
|
|
func (m *UserPhone) GetId() string {
|
|
|
|
if m != nil {
|
|
|
|
return m.Id
|
2020-03-23 15:56:02 +00:00
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
2020-06-17 06:06:40 +00:00
|
|
|
func (m *UserPhone) GetPhone() string {
|
|
|
|
if m != nil {
|
|
|
|
return m.Phone
|
2020-03-23 15:56:02 +00:00
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
2020-06-17 06:06:40 +00:00
|
|
|
func (m *UserPhone) GetIsPhoneVerified() bool {
|
|
|
|
if m != nil {
|
|
|
|
return m.IsPhoneVerified
|
2020-03-23 15:56:02 +00:00
|
|
|
}
|
2020-03-31 09:07:48 +00:00
|
|
|
return false
|
2020-03-23 15:56:02 +00:00
|
|
|
}
|
|
|
|
|
2020-06-17 06:06:40 +00:00
|
|
|
func (m *UserPhone) GetSequence() uint64 {
|
|
|
|
if m != nil {
|
|
|
|
return m.Sequence
|
2020-03-23 15:56:02 +00:00
|
|
|
}
|
2020-04-07 11:23:04 +00:00
|
|
|
return 0
|
2020-03-23 15:56:02 +00:00
|
|
|
}
|
|
|
|
|
2020-06-17 06:06:40 +00:00
|
|
|
func (m *UserPhone) GetCreationDate() *timestamp.Timestamp {
|
|
|
|
if m != nil {
|
|
|
|
return m.CreationDate
|
2020-05-18 10:06:36 +00:00
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2020-06-17 06:06:40 +00:00
|
|
|
func (m *UserPhone) GetChangeDate() *timestamp.Timestamp {
|
|
|
|
if m != nil {
|
|
|
|
return m.ChangeDate
|
2020-05-18 10:06:36 +00:00
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2020-06-17 05:25:04 +00:00
|
|
|
type UserPhoneView struct {
|
2020-06-17 06:06:40 +00:00
|
|
|
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
|
|
|
|
Phone string `protobuf:"bytes,2,opt,name=phone,proto3" json:"phone,omitempty"`
|
|
|
|
IsPhoneVerified bool `protobuf:"varint,3,opt,name=is_phone_verified,json=isPhoneVerified,proto3" json:"is_phone_verified,omitempty"`
|
|
|
|
Sequence uint64 `protobuf:"varint,4,opt,name=sequence,proto3" json:"sequence,omitempty"`
|
|
|
|
CreationDate *timestamp.Timestamp `protobuf:"bytes,5,opt,name=creation_date,json=creationDate,proto3" json:"creation_date,omitempty"`
|
|
|
|
ChangeDate *timestamp.Timestamp `protobuf:"bytes,6,opt,name=change_date,json=changeDate,proto3" json:"change_date,omitempty"`
|
|
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
|
|
XXX_unrecognized []byte `json:"-"`
|
|
|
|
XXX_sizecache int32 `json:"-"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *UserPhoneView) Reset() { *m = UserPhoneView{} }
|
|
|
|
func (m *UserPhoneView) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*UserPhoneView) ProtoMessage() {}
|
|
|
|
func (*UserPhoneView) Descriptor() ([]byte, []int) {
|
|
|
|
return fileDescriptor_8bbd6f3875b0e874, []int{12}
|
2020-06-17 05:25:04 +00:00
|
|
|
}
|
|
|
|
|
2020-06-17 06:06:40 +00:00
|
|
|
func (m *UserPhoneView) XXX_Unmarshal(b []byte) error {
|
|
|
|
return xxx_messageInfo_UserPhoneView.Unmarshal(m, b)
|
2020-06-17 05:25:04 +00:00
|
|
|
}
|
2020-06-17 06:06:40 +00:00
|
|
|
func (m *UserPhoneView) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
return xxx_messageInfo_UserPhoneView.Marshal(b, m, deterministic)
|
2020-06-17 05:25:04 +00:00
|
|
|
}
|
2020-06-17 06:06:40 +00:00
|
|
|
func (m *UserPhoneView) XXX_Merge(src proto.Message) {
|
|
|
|
xxx_messageInfo_UserPhoneView.Merge(m, src)
|
2020-06-17 05:25:04 +00:00
|
|
|
}
|
2020-06-17 06:06:40 +00:00
|
|
|
func (m *UserPhoneView) XXX_Size() int {
|
|
|
|
return xxx_messageInfo_UserPhoneView.Size(m)
|
2020-06-17 05:25:04 +00:00
|
|
|
}
|
2020-06-17 06:06:40 +00:00
|
|
|
func (m *UserPhoneView) XXX_DiscardUnknown() {
|
|
|
|
xxx_messageInfo_UserPhoneView.DiscardUnknown(m)
|
|
|
|
}
|
|
|
|
|
|
|
|
var xxx_messageInfo_UserPhoneView proto.InternalMessageInfo
|
2020-06-17 05:25:04 +00:00
|
|
|
|
2020-06-17 06:06:40 +00:00
|
|
|
func (m *UserPhoneView) GetId() string {
|
|
|
|
if m != nil {
|
|
|
|
return m.Id
|
2020-06-17 05:25:04 +00:00
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
2020-06-17 06:06:40 +00:00
|
|
|
func (m *UserPhoneView) GetPhone() string {
|
|
|
|
if m != nil {
|
|
|
|
return m.Phone
|
2020-06-17 05:25:04 +00:00
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
2020-06-17 06:06:40 +00:00
|
|
|
func (m *UserPhoneView) GetIsPhoneVerified() bool {
|
|
|
|
if m != nil {
|
|
|
|
return m.IsPhoneVerified
|
2020-06-17 05:25:04 +00:00
|
|
|
}
|
|
|
|
return false
|
|
|
|
}
|
|
|
|
|
2020-06-17 06:06:40 +00:00
|
|
|
func (m *UserPhoneView) GetSequence() uint64 {
|
|
|
|
if m != nil {
|
|
|
|
return m.Sequence
|
2020-06-17 05:25:04 +00:00
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
2020-06-17 06:06:40 +00:00
|
|
|
func (m *UserPhoneView) GetCreationDate() *timestamp.Timestamp {
|
|
|
|
if m != nil {
|
|
|
|
return m.CreationDate
|
2020-06-17 05:25:04 +00:00
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2020-06-17 06:06:40 +00:00
|
|
|
func (m *UserPhoneView) GetChangeDate() *timestamp.Timestamp {
|
|
|
|
if m != nil {
|
|
|
|
return m.ChangeDate
|
2020-06-17 05:25:04 +00:00
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2020-06-05 05:50:04 +00:00
|
|
|
type UpdateUserPhoneRequest struct {
|
2020-06-17 06:06:40 +00:00
|
|
|
Phone string `protobuf:"bytes,1,opt,name=phone,proto3" json:"phone,omitempty"`
|
|
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
|
|
XXX_unrecognized []byte `json:"-"`
|
|
|
|
XXX_sizecache int32 `json:"-"`
|
2020-03-23 15:56:02 +00:00
|
|
|
}
|
|
|
|
|
2020-06-17 06:06:40 +00:00
|
|
|
func (m *UpdateUserPhoneRequest) Reset() { *m = UpdateUserPhoneRequest{} }
|
|
|
|
func (m *UpdateUserPhoneRequest) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*UpdateUserPhoneRequest) ProtoMessage() {}
|
|
|
|
func (*UpdateUserPhoneRequest) Descriptor() ([]byte, []int) {
|
|
|
|
return fileDescriptor_8bbd6f3875b0e874, []int{13}
|
2020-04-07 11:23:04 +00:00
|
|
|
}
|
2020-06-16 09:40:18 +00:00
|
|
|
|
2020-06-17 06:06:40 +00:00
|
|
|
func (m *UpdateUserPhoneRequest) XXX_Unmarshal(b []byte) error {
|
|
|
|
return xxx_messageInfo_UpdateUserPhoneRequest.Unmarshal(m, b)
|
2020-06-09 07:22:37 +00:00
|
|
|
}
|
2020-06-17 06:06:40 +00:00
|
|
|
func (m *UpdateUserPhoneRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
return xxx_messageInfo_UpdateUserPhoneRequest.Marshal(b, m, deterministic)
|
2020-06-09 07:22:37 +00:00
|
|
|
}
|
2020-06-17 06:06:40 +00:00
|
|
|
func (m *UpdateUserPhoneRequest) XXX_Merge(src proto.Message) {
|
|
|
|
xxx_messageInfo_UpdateUserPhoneRequest.Merge(m, src)
|
|
|
|
}
|
|
|
|
func (m *UpdateUserPhoneRequest) XXX_Size() int {
|
|
|
|
return xxx_messageInfo_UpdateUserPhoneRequest.Size(m)
|
2020-06-16 09:40:18 +00:00
|
|
|
}
|
2020-06-17 06:06:40 +00:00
|
|
|
func (m *UpdateUserPhoneRequest) XXX_DiscardUnknown() {
|
|
|
|
xxx_messageInfo_UpdateUserPhoneRequest.DiscardUnknown(m)
|
|
|
|
}
|
|
|
|
|
|
|
|
var xxx_messageInfo_UpdateUserPhoneRequest proto.InternalMessageInfo
|
2020-06-05 05:50:04 +00:00
|
|
|
|
2020-06-17 06:06:40 +00:00
|
|
|
func (m *UpdateUserPhoneRequest) GetPhone() string {
|
|
|
|
if m != nil {
|
|
|
|
return m.Phone
|
2020-06-05 05:50:04 +00:00
|
|
|
}
|
|
|
|
return ""
|
2020-04-07 11:23:04 +00:00
|
|
|
}
|
2020-06-05 05:50:04 +00:00
|
|
|
|
|
|
|
type VerifyUserPhoneRequest struct {
|
2020-06-17 06:06:40 +00:00
|
|
|
Code string `protobuf:"bytes,1,opt,name=code,proto3" json:"code,omitempty"`
|
|
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
|
|
XXX_unrecognized []byte `json:"-"`
|
|
|
|
XXX_sizecache int32 `json:"-"`
|
2020-06-05 05:50:04 +00:00
|
|
|
}
|
|
|
|
|
2020-06-17 06:06:40 +00:00
|
|
|
func (m *VerifyUserPhoneRequest) Reset() { *m = VerifyUserPhoneRequest{} }
|
|
|
|
func (m *VerifyUserPhoneRequest) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*VerifyUserPhoneRequest) ProtoMessage() {}
|
|
|
|
func (*VerifyUserPhoneRequest) Descriptor() ([]byte, []int) {
|
|
|
|
return fileDescriptor_8bbd6f3875b0e874, []int{14}
|
2020-06-09 07:22:37 +00:00
|
|
|
}
|
2020-06-16 09:40:18 +00:00
|
|
|
|
2020-06-17 06:06:40 +00:00
|
|
|
func (m *VerifyUserPhoneRequest) XXX_Unmarshal(b []byte) error {
|
|
|
|
return xxx_messageInfo_VerifyUserPhoneRequest.Unmarshal(m, b)
|
2020-06-09 07:22:37 +00:00
|
|
|
}
|
2020-06-17 06:06:40 +00:00
|
|
|
func (m *VerifyUserPhoneRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
return xxx_messageInfo_VerifyUserPhoneRequest.Marshal(b, m, deterministic)
|
2020-06-05 05:50:04 +00:00
|
|
|
}
|
2020-06-17 06:06:40 +00:00
|
|
|
func (m *VerifyUserPhoneRequest) XXX_Merge(src proto.Message) {
|
|
|
|
xxx_messageInfo_VerifyUserPhoneRequest.Merge(m, src)
|
|
|
|
}
|
|
|
|
func (m *VerifyUserPhoneRequest) XXX_Size() int {
|
|
|
|
return xxx_messageInfo_VerifyUserPhoneRequest.Size(m)
|
2020-06-16 09:40:18 +00:00
|
|
|
}
|
2020-06-17 06:06:40 +00:00
|
|
|
func (m *VerifyUserPhoneRequest) XXX_DiscardUnknown() {
|
|
|
|
xxx_messageInfo_VerifyUserPhoneRequest.DiscardUnknown(m)
|
|
|
|
}
|
|
|
|
|
|
|
|
var xxx_messageInfo_VerifyUserPhoneRequest proto.InternalMessageInfo
|
2020-06-09 07:22:37 +00:00
|
|
|
|
2020-06-17 06:06:40 +00:00
|
|
|
func (m *VerifyUserPhoneRequest) GetCode() string {
|
|
|
|
if m != nil {
|
|
|
|
return m.Code
|
2020-03-23 15:56:02 +00:00
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
2020-06-05 05:50:04 +00:00
|
|
|
type UserAddress struct {
|
2020-06-17 06:06:40 +00:00
|
|
|
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
|
|
|
|
Country string `protobuf:"bytes,2,opt,name=country,proto3" json:"country,omitempty"`
|
|
|
|
Locality string `protobuf:"bytes,3,opt,name=locality,proto3" json:"locality,omitempty"`
|
|
|
|
PostalCode string `protobuf:"bytes,4,opt,name=postal_code,json=postalCode,proto3" json:"postal_code,omitempty"`
|
|
|
|
Region string `protobuf:"bytes,5,opt,name=region,proto3" json:"region,omitempty"`
|
|
|
|
StreetAddress string `protobuf:"bytes,6,opt,name=street_address,json=streetAddress,proto3" json:"street_address,omitempty"`
|
|
|
|
Sequence uint64 `protobuf:"varint,7,opt,name=sequence,proto3" json:"sequence,omitempty"`
|
|
|
|
CreationDate *timestamp.Timestamp `protobuf:"bytes,8,opt,name=creation_date,json=creationDate,proto3" json:"creation_date,omitempty"`
|
|
|
|
ChangeDate *timestamp.Timestamp `protobuf:"bytes,9,opt,name=change_date,json=changeDate,proto3" json:"change_date,omitempty"`
|
|
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
|
|
XXX_unrecognized []byte `json:"-"`
|
|
|
|
XXX_sizecache int32 `json:"-"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *UserAddress) Reset() { *m = UserAddress{} }
|
|
|
|
func (m *UserAddress) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*UserAddress) ProtoMessage() {}
|
|
|
|
func (*UserAddress) Descriptor() ([]byte, []int) {
|
|
|
|
return fileDescriptor_8bbd6f3875b0e874, []int{15}
|
2020-03-23 15:56:02 +00:00
|
|
|
}
|
2020-06-16 09:40:18 +00:00
|
|
|
|
2020-06-17 06:06:40 +00:00
|
|
|
func (m *UserAddress) XXX_Unmarshal(b []byte) error {
|
|
|
|
return xxx_messageInfo_UserAddress.Unmarshal(m, b)
|
2020-03-23 15:56:02 +00:00
|
|
|
}
|
2020-06-17 06:06:40 +00:00
|
|
|
func (m *UserAddress) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
return xxx_messageInfo_UserAddress.Marshal(b, m, deterministic)
|
2020-03-31 09:07:48 +00:00
|
|
|
}
|
2020-06-17 06:06:40 +00:00
|
|
|
func (m *UserAddress) XXX_Merge(src proto.Message) {
|
|
|
|
xxx_messageInfo_UserAddress.Merge(m, src)
|
2020-06-09 07:22:37 +00:00
|
|
|
}
|
2020-06-17 06:06:40 +00:00
|
|
|
func (m *UserAddress) XXX_Size() int {
|
|
|
|
return xxx_messageInfo_UserAddress.Size(m)
|
|
|
|
}
|
|
|
|
func (m *UserAddress) XXX_DiscardUnknown() {
|
|
|
|
xxx_messageInfo_UserAddress.DiscardUnknown(m)
|
2020-06-16 09:40:18 +00:00
|
|
|
}
|
2020-06-05 05:50:04 +00:00
|
|
|
|
2020-06-17 06:06:40 +00:00
|
|
|
var xxx_messageInfo_UserAddress proto.InternalMessageInfo
|
|
|
|
|
|
|
|
func (m *UserAddress) GetId() string {
|
|
|
|
if m != nil {
|
|
|
|
return m.Id
|
2020-06-05 05:50:04 +00:00
|
|
|
}
|
|
|
|
return ""
|
2020-04-07 11:23:04 +00:00
|
|
|
}
|
2020-06-05 05:50:04 +00:00
|
|
|
|
2020-06-17 06:06:40 +00:00
|
|
|
func (m *UserAddress) GetCountry() string {
|
|
|
|
if m != nil {
|
|
|
|
return m.Country
|
2020-06-05 05:50:04 +00:00
|
|
|
}
|
|
|
|
return ""
|
2020-04-07 11:23:04 +00:00
|
|
|
}
|
|
|
|
|
2020-06-17 06:06:40 +00:00
|
|
|
func (m *UserAddress) GetLocality() string {
|
|
|
|
if m != nil {
|
|
|
|
return m.Locality
|
2020-06-05 05:50:04 +00:00
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
2020-03-23 15:56:02 +00:00
|
|
|
|
2020-06-17 06:06:40 +00:00
|
|
|
func (m *UserAddress) GetPostalCode() string {
|
|
|
|
if m != nil {
|
|
|
|
return m.PostalCode
|
2020-03-23 15:56:02 +00:00
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
2020-06-17 06:06:40 +00:00
|
|
|
func (m *UserAddress) GetRegion() string {
|
|
|
|
if m != nil {
|
|
|
|
return m.Region
|
2020-03-23 15:56:02 +00:00
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
2020-06-17 06:06:40 +00:00
|
|
|
func (m *UserAddress) GetStreetAddress() string {
|
|
|
|
if m != nil {
|
|
|
|
return m.StreetAddress
|
2020-06-05 05:50:04 +00:00
|
|
|
}
|
|
|
|
return ""
|
2020-03-23 15:56:02 +00:00
|
|
|
}
|
|
|
|
|
2020-06-17 06:06:40 +00:00
|
|
|
func (m *UserAddress) GetSequence() uint64 {
|
|
|
|
if m != nil {
|
|
|
|
return m.Sequence
|
2020-06-05 05:50:04 +00:00
|
|
|
}
|
|
|
|
return 0
|
2020-03-23 15:56:02 +00:00
|
|
|
}
|
2020-03-31 09:07:48 +00:00
|
|
|
|
2020-06-17 06:06:40 +00:00
|
|
|
func (m *UserAddress) GetCreationDate() *timestamp.Timestamp {
|
|
|
|
if m != nil {
|
|
|
|
return m.CreationDate
|
2020-06-05 05:50:04 +00:00
|
|
|
}
|
|
|
|
return nil
|
2020-03-23 15:56:02 +00:00
|
|
|
}
|
2020-06-05 05:50:04 +00:00
|
|
|
|
2020-06-17 06:06:40 +00:00
|
|
|
func (m *UserAddress) GetChangeDate() *timestamp.Timestamp {
|
|
|
|
if m != nil {
|
|
|
|
return m.ChangeDate
|
2020-06-05 05:50:04 +00:00
|
|
|
}
|
|
|
|
return nil
|
2020-03-23 15:56:02 +00:00
|
|
|
}
|
2020-06-05 05:50:04 +00:00
|
|
|
|
2020-06-17 05:25:04 +00:00
|
|
|
type UserAddressView struct {
|
2020-06-17 06:06:40 +00:00
|
|
|
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
|
|
|
|
Country string `protobuf:"bytes,2,opt,name=country,proto3" json:"country,omitempty"`
|
|
|
|
Locality string `protobuf:"bytes,3,opt,name=locality,proto3" json:"locality,omitempty"`
|
|
|
|
PostalCode string `protobuf:"bytes,4,opt,name=postal_code,json=postalCode,proto3" json:"postal_code,omitempty"`
|
|
|
|
Region string `protobuf:"bytes,5,opt,name=region,proto3" json:"region,omitempty"`
|
|
|
|
StreetAddress string `protobuf:"bytes,6,opt,name=street_address,json=streetAddress,proto3" json:"street_address,omitempty"`
|
|
|
|
Sequence uint64 `protobuf:"varint,7,opt,name=sequence,proto3" json:"sequence,omitempty"`
|
|
|
|
CreationDate *timestamp.Timestamp `protobuf:"bytes,8,opt,name=creation_date,json=creationDate,proto3" json:"creation_date,omitempty"`
|
|
|
|
ChangeDate *timestamp.Timestamp `protobuf:"bytes,9,opt,name=change_date,json=changeDate,proto3" json:"change_date,omitempty"`
|
|
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
|
|
XXX_unrecognized []byte `json:"-"`
|
|
|
|
XXX_sizecache int32 `json:"-"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *UserAddressView) Reset() { *m = UserAddressView{} }
|
|
|
|
func (m *UserAddressView) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*UserAddressView) ProtoMessage() {}
|
|
|
|
func (*UserAddressView) Descriptor() ([]byte, []int) {
|
|
|
|
return fileDescriptor_8bbd6f3875b0e874, []int{16}
|
2020-06-17 05:25:04 +00:00
|
|
|
}
|
|
|
|
|
2020-06-17 06:06:40 +00:00
|
|
|
func (m *UserAddressView) XXX_Unmarshal(b []byte) error {
|
|
|
|
return xxx_messageInfo_UserAddressView.Unmarshal(m, b)
|
2020-06-17 05:25:04 +00:00
|
|
|
}
|
2020-06-17 06:06:40 +00:00
|
|
|
func (m *UserAddressView) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
return xxx_messageInfo_UserAddressView.Marshal(b, m, deterministic)
|
2020-06-17 05:25:04 +00:00
|
|
|
}
|
2020-06-17 06:06:40 +00:00
|
|
|
func (m *UserAddressView) XXX_Merge(src proto.Message) {
|
|
|
|
xxx_messageInfo_UserAddressView.Merge(m, src)
|
2020-06-17 05:25:04 +00:00
|
|
|
}
|
2020-06-17 06:06:40 +00:00
|
|
|
func (m *UserAddressView) XXX_Size() int {
|
|
|
|
return xxx_messageInfo_UserAddressView.Size(m)
|
|
|
|
}
|
|
|
|
func (m *UserAddressView) XXX_DiscardUnknown() {
|
|
|
|
xxx_messageInfo_UserAddressView.DiscardUnknown(m)
|
2020-06-17 05:25:04 +00:00
|
|
|
}
|
|
|
|
|
2020-06-17 06:06:40 +00:00
|
|
|
var xxx_messageInfo_UserAddressView proto.InternalMessageInfo
|
|
|
|
|
|
|
|
func (m *UserAddressView) GetId() string {
|
|
|
|
if m != nil {
|
|
|
|
return m.Id
|
2020-06-17 05:25:04 +00:00
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
2020-06-17 06:06:40 +00:00
|
|
|
func (m *UserAddressView) GetCountry() string {
|
|
|
|
if m != nil {
|
|
|
|
return m.Country
|
2020-06-17 05:25:04 +00:00
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
2020-06-17 06:06:40 +00:00
|
|
|
func (m *UserAddressView) GetLocality() string {
|
|
|
|
if m != nil {
|
|
|
|
return m.Locality
|
2020-06-17 05:25:04 +00:00
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
2020-06-17 06:06:40 +00:00
|
|
|
func (m *UserAddressView) GetPostalCode() string {
|
|
|
|
if m != nil {
|
|
|
|
return m.PostalCode
|
2020-06-17 05:25:04 +00:00
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
2020-06-17 06:06:40 +00:00
|
|
|
func (m *UserAddressView) GetRegion() string {
|
|
|
|
if m != nil {
|
|
|
|
return m.Region
|
2020-06-17 05:25:04 +00:00
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
2020-06-17 06:06:40 +00:00
|
|
|
func (m *UserAddressView) GetStreetAddress() string {
|
|
|
|
if m != nil {
|
|
|
|
return m.StreetAddress
|
2020-06-17 05:25:04 +00:00
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
2020-06-17 06:06:40 +00:00
|
|
|
func (m *UserAddressView) GetSequence() uint64 {
|
|
|
|
if m != nil {
|
|
|
|
return m.Sequence
|
2020-06-17 05:25:04 +00:00
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
2020-06-17 06:06:40 +00:00
|
|
|
func (m *UserAddressView) GetCreationDate() *timestamp.Timestamp {
|
|
|
|
if m != nil {
|
|
|
|
return m.CreationDate
|
2020-06-17 05:25:04 +00:00
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2020-06-17 06:06:40 +00:00
|
|
|
func (m *UserAddressView) GetChangeDate() *timestamp.Timestamp {
|
|
|
|
if m != nil {
|
|
|
|
return m.ChangeDate
|
2020-06-17 05:25:04 +00:00
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2020-06-05 05:50:04 +00:00
|
|
|
type UpdateUserAddressRequest struct {
|
2020-06-17 06:06:40 +00:00
|
|
|
Country string `protobuf:"bytes,1,opt,name=country,proto3" json:"country,omitempty"`
|
|
|
|
Locality string `protobuf:"bytes,2,opt,name=locality,proto3" json:"locality,omitempty"`
|
|
|
|
PostalCode string `protobuf:"bytes,3,opt,name=postal_code,json=postalCode,proto3" json:"postal_code,omitempty"`
|
|
|
|
Region string `protobuf:"bytes,4,opt,name=region,proto3" json:"region,omitempty"`
|
|
|
|
StreetAddress string `protobuf:"bytes,5,opt,name=street_address,json=streetAddress,proto3" json:"street_address,omitempty"`
|
|
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
|
|
XXX_unrecognized []byte `json:"-"`
|
|
|
|
XXX_sizecache int32 `json:"-"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *UpdateUserAddressRequest) Reset() { *m = UpdateUserAddressRequest{} }
|
|
|
|
func (m *UpdateUserAddressRequest) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*UpdateUserAddressRequest) ProtoMessage() {}
|
|
|
|
func (*UpdateUserAddressRequest) Descriptor() ([]byte, []int) {
|
|
|
|
return fileDescriptor_8bbd6f3875b0e874, []int{17}
|
2020-04-07 11:23:04 +00:00
|
|
|
}
|
2020-06-16 09:40:18 +00:00
|
|
|
|
2020-06-17 06:06:40 +00:00
|
|
|
func (m *UpdateUserAddressRequest) XXX_Unmarshal(b []byte) error {
|
|
|
|
return xxx_messageInfo_UpdateUserAddressRequest.Unmarshal(m, b)
|
2020-06-05 05:50:04 +00:00
|
|
|
}
|
2020-06-17 06:06:40 +00:00
|
|
|
func (m *UpdateUserAddressRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
return xxx_messageInfo_UpdateUserAddressRequest.Marshal(b, m, deterministic)
|
2020-06-05 05:50:04 +00:00
|
|
|
}
|
2020-06-17 06:06:40 +00:00
|
|
|
func (m *UpdateUserAddressRequest) XXX_Merge(src proto.Message) {
|
|
|
|
xxx_messageInfo_UpdateUserAddressRequest.Merge(m, src)
|
2020-06-09 07:22:37 +00:00
|
|
|
}
|
2020-06-17 06:06:40 +00:00
|
|
|
func (m *UpdateUserAddressRequest) XXX_Size() int {
|
|
|
|
return xxx_messageInfo_UpdateUserAddressRequest.Size(m)
|
|
|
|
}
|
|
|
|
func (m *UpdateUserAddressRequest) XXX_DiscardUnknown() {
|
|
|
|
xxx_messageInfo_UpdateUserAddressRequest.DiscardUnknown(m)
|
2020-06-16 09:40:18 +00:00
|
|
|
}
|
2020-06-05 05:50:04 +00:00
|
|
|
|
2020-06-17 06:06:40 +00:00
|
|
|
var xxx_messageInfo_UpdateUserAddressRequest proto.InternalMessageInfo
|
|
|
|
|
|
|
|
func (m *UpdateUserAddressRequest) GetCountry() string {
|
|
|
|
if m != nil {
|
|
|
|
return m.Country
|
2020-03-31 09:07:48 +00:00
|
|
|
}
|
|
|
|
return ""
|
2020-03-23 15:56:02 +00:00
|
|
|
}
|
|
|
|
|
2020-06-17 06:06:40 +00:00
|
|
|
func (m *UpdateUserAddressRequest) GetLocality() string {
|
|
|
|
if m != nil {
|
|
|
|
return m.Locality
|
2020-06-05 05:50:04 +00:00
|
|
|
}
|
|
|
|
return ""
|
2020-03-23 15:56:02 +00:00
|
|
|
}
|
2020-03-31 09:07:48 +00:00
|
|
|
|
2020-06-17 06:06:40 +00:00
|
|
|
func (m *UpdateUserAddressRequest) GetPostalCode() string {
|
|
|
|
if m != nil {
|
|
|
|
return m.PostalCode
|
2020-06-05 05:50:04 +00:00
|
|
|
}
|
|
|
|
return ""
|
2020-03-23 15:56:02 +00:00
|
|
|
}
|
2020-06-05 05:50:04 +00:00
|
|
|
|
2020-06-17 06:06:40 +00:00
|
|
|
func (m *UpdateUserAddressRequest) GetRegion() string {
|
|
|
|
if m != nil {
|
|
|
|
return m.Region
|
2020-06-05 05:50:04 +00:00
|
|
|
}
|
|
|
|
return ""
|
2020-03-23 15:56:02 +00:00
|
|
|
}
|
2020-06-05 05:50:04 +00:00
|
|
|
|
2020-06-17 06:06:40 +00:00
|
|
|
func (m *UpdateUserAddressRequest) GetStreetAddress() string {
|
|
|
|
if m != nil {
|
|
|
|
return m.StreetAddress
|
2020-06-05 05:50:04 +00:00
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
|
|
|
type PasswordID struct {
|
2020-06-17 06:06:40 +00:00
|
|
|
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
|
|
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
|
|
XXX_unrecognized []byte `json:"-"`
|
|
|
|
XXX_sizecache int32 `json:"-"`
|
2020-06-05 05:50:04 +00:00
|
|
|
}
|
|
|
|
|
2020-06-17 06:06:40 +00:00
|
|
|
func (m *PasswordID) Reset() { *m = PasswordID{} }
|
|
|
|
func (m *PasswordID) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*PasswordID) ProtoMessage() {}
|
|
|
|
func (*PasswordID) Descriptor() ([]byte, []int) {
|
|
|
|
return fileDescriptor_8bbd6f3875b0e874, []int{18}
|
2020-06-09 07:22:37 +00:00
|
|
|
}
|
2020-06-16 09:40:18 +00:00
|
|
|
|
2020-06-17 06:06:40 +00:00
|
|
|
func (m *PasswordID) XXX_Unmarshal(b []byte) error {
|
|
|
|
return xxx_messageInfo_PasswordID.Unmarshal(m, b)
|
2020-06-09 07:22:37 +00:00
|
|
|
}
|
2020-06-17 06:06:40 +00:00
|
|
|
func (m *PasswordID) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
return xxx_messageInfo_PasswordID.Marshal(b, m, deterministic)
|
2020-03-23 15:56:02 +00:00
|
|
|
}
|
2020-06-17 06:06:40 +00:00
|
|
|
func (m *PasswordID) XXX_Merge(src proto.Message) {
|
|
|
|
xxx_messageInfo_PasswordID.Merge(m, src)
|
|
|
|
}
|
|
|
|
func (m *PasswordID) XXX_Size() int {
|
|
|
|
return xxx_messageInfo_PasswordID.Size(m)
|
|
|
|
}
|
|
|
|
func (m *PasswordID) XXX_DiscardUnknown() {
|
|
|
|
xxx_messageInfo_PasswordID.DiscardUnknown(m)
|
2020-06-16 09:40:18 +00:00
|
|
|
}
|
2020-06-09 07:22:37 +00:00
|
|
|
|
2020-06-17 06:06:40 +00:00
|
|
|
var xxx_messageInfo_PasswordID proto.InternalMessageInfo
|
|
|
|
|
|
|
|
func (m *PasswordID) GetId() string {
|
|
|
|
if m != nil {
|
|
|
|
return m.Id
|
2020-06-05 05:50:04 +00:00
|
|
|
}
|
|
|
|
return ""
|
2020-03-23 15:56:02 +00:00
|
|
|
}
|
2020-06-05 05:50:04 +00:00
|
|
|
|
|
|
|
type PasswordRequest struct {
|
2020-06-17 06:06:40 +00:00
|
|
|
Password string `protobuf:"bytes,1,opt,name=password,proto3" json:"password,omitempty"`
|
|
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
|
|
XXX_unrecognized []byte `json:"-"`
|
|
|
|
XXX_sizecache int32 `json:"-"`
|
2020-04-07 11:23:04 +00:00
|
|
|
}
|
|
|
|
|
2020-06-17 06:06:40 +00:00
|
|
|
func (m *PasswordRequest) Reset() { *m = PasswordRequest{} }
|
|
|
|
func (m *PasswordRequest) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*PasswordRequest) ProtoMessage() {}
|
|
|
|
func (*PasswordRequest) Descriptor() ([]byte, []int) {
|
|
|
|
return fileDescriptor_8bbd6f3875b0e874, []int{19}
|
2020-06-05 05:50:04 +00:00
|
|
|
}
|
2020-06-16 09:40:18 +00:00
|
|
|
|
2020-06-17 06:06:40 +00:00
|
|
|
func (m *PasswordRequest) XXX_Unmarshal(b []byte) error {
|
|
|
|
return xxx_messageInfo_PasswordRequest.Unmarshal(m, b)
|
2020-06-09 07:22:37 +00:00
|
|
|
}
|
2020-06-17 06:06:40 +00:00
|
|
|
func (m *PasswordRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
return xxx_messageInfo_PasswordRequest.Marshal(b, m, deterministic)
|
2020-06-09 07:22:37 +00:00
|
|
|
}
|
2020-06-17 06:06:40 +00:00
|
|
|
func (m *PasswordRequest) XXX_Merge(src proto.Message) {
|
|
|
|
xxx_messageInfo_PasswordRequest.Merge(m, src)
|
|
|
|
}
|
|
|
|
func (m *PasswordRequest) XXX_Size() int {
|
|
|
|
return xxx_messageInfo_PasswordRequest.Size(m)
|
2020-06-16 09:40:18 +00:00
|
|
|
}
|
2020-06-17 06:06:40 +00:00
|
|
|
func (m *PasswordRequest) XXX_DiscardUnknown() {
|
|
|
|
xxx_messageInfo_PasswordRequest.DiscardUnknown(m)
|
|
|
|
}
|
|
|
|
|
|
|
|
var xxx_messageInfo_PasswordRequest proto.InternalMessageInfo
|
2020-06-05 05:50:04 +00:00
|
|
|
|
2020-06-17 06:06:40 +00:00
|
|
|
func (m *PasswordRequest) GetPassword() string {
|
|
|
|
if m != nil {
|
|
|
|
return m.Password
|
2020-06-05 05:50:04 +00:00
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
|
|
|
type PasswordChange struct {
|
2020-06-17 06:06:40 +00:00
|
|
|
OldPassword string `protobuf:"bytes,1,opt,name=old_password,json=oldPassword,proto3" json:"old_password,omitempty"`
|
|
|
|
NewPassword string `protobuf:"bytes,2,opt,name=new_password,json=newPassword,proto3" json:"new_password,omitempty"`
|
|
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
|
|
XXX_unrecognized []byte `json:"-"`
|
|
|
|
XXX_sizecache int32 `json:"-"`
|
2020-06-05 05:50:04 +00:00
|
|
|
}
|
|
|
|
|
2020-06-17 06:06:40 +00:00
|
|
|
func (m *PasswordChange) Reset() { *m = PasswordChange{} }
|
|
|
|
func (m *PasswordChange) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*PasswordChange) ProtoMessage() {}
|
|
|
|
func (*PasswordChange) Descriptor() ([]byte, []int) {
|
|
|
|
return fileDescriptor_8bbd6f3875b0e874, []int{20}
|
2020-06-09 07:22:37 +00:00
|
|
|
}
|
2020-06-16 09:40:18 +00:00
|
|
|
|
2020-06-17 06:06:40 +00:00
|
|
|
func (m *PasswordChange) XXX_Unmarshal(b []byte) error {
|
|
|
|
return xxx_messageInfo_PasswordChange.Unmarshal(m, b)
|
2020-06-09 07:22:37 +00:00
|
|
|
}
|
2020-06-17 06:06:40 +00:00
|
|
|
func (m *PasswordChange) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
return xxx_messageInfo_PasswordChange.Marshal(b, m, deterministic)
|
2020-06-05 05:50:04 +00:00
|
|
|
}
|
2020-06-17 06:06:40 +00:00
|
|
|
func (m *PasswordChange) XXX_Merge(src proto.Message) {
|
|
|
|
xxx_messageInfo_PasswordChange.Merge(m, src)
|
|
|
|
}
|
|
|
|
func (m *PasswordChange) XXX_Size() int {
|
|
|
|
return xxx_messageInfo_PasswordChange.Size(m)
|
2020-06-16 09:40:18 +00:00
|
|
|
}
|
2020-06-17 06:06:40 +00:00
|
|
|
func (m *PasswordChange) XXX_DiscardUnknown() {
|
|
|
|
xxx_messageInfo_PasswordChange.DiscardUnknown(m)
|
|
|
|
}
|
|
|
|
|
|
|
|
var xxx_messageInfo_PasswordChange proto.InternalMessageInfo
|
2020-06-09 07:22:37 +00:00
|
|
|
|
2020-06-17 06:06:40 +00:00
|
|
|
func (m *PasswordChange) GetOldPassword() string {
|
|
|
|
if m != nil {
|
|
|
|
return m.OldPassword
|
2020-06-05 05:50:04 +00:00
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
2020-06-17 06:06:40 +00:00
|
|
|
func (m *PasswordChange) GetNewPassword() string {
|
|
|
|
if m != nil {
|
|
|
|
return m.NewPassword
|
2020-06-05 05:50:04 +00:00
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
|
|
|
type VerifyMfaOtp struct {
|
2020-06-17 06:06:40 +00:00
|
|
|
Code string `protobuf:"bytes,1,opt,name=code,proto3" json:"code,omitempty"`
|
|
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
|
|
XXX_unrecognized []byte `json:"-"`
|
|
|
|
XXX_sizecache int32 `json:"-"`
|
2020-06-05 05:50:04 +00:00
|
|
|
}
|
|
|
|
|
2020-06-17 06:06:40 +00:00
|
|
|
func (m *VerifyMfaOtp) Reset() { *m = VerifyMfaOtp{} }
|
|
|
|
func (m *VerifyMfaOtp) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*VerifyMfaOtp) ProtoMessage() {}
|
|
|
|
func (*VerifyMfaOtp) Descriptor() ([]byte, []int) {
|
|
|
|
return fileDescriptor_8bbd6f3875b0e874, []int{21}
|
2020-06-09 07:22:37 +00:00
|
|
|
}
|
2020-06-16 09:40:18 +00:00
|
|
|
|
2020-06-17 06:06:40 +00:00
|
|
|
func (m *VerifyMfaOtp) XXX_Unmarshal(b []byte) error {
|
|
|
|
return xxx_messageInfo_VerifyMfaOtp.Unmarshal(m, b)
|
2020-06-05 05:50:04 +00:00
|
|
|
}
|
2020-06-17 06:06:40 +00:00
|
|
|
func (m *VerifyMfaOtp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
return xxx_messageInfo_VerifyMfaOtp.Marshal(b, m, deterministic)
|
2020-06-09 07:22:37 +00:00
|
|
|
}
|
2020-06-17 06:06:40 +00:00
|
|
|
func (m *VerifyMfaOtp) XXX_Merge(src proto.Message) {
|
|
|
|
xxx_messageInfo_VerifyMfaOtp.Merge(m, src)
|
|
|
|
}
|
|
|
|
func (m *VerifyMfaOtp) XXX_Size() int {
|
|
|
|
return xxx_messageInfo_VerifyMfaOtp.Size(m)
|
2020-06-16 09:40:18 +00:00
|
|
|
}
|
2020-06-17 06:06:40 +00:00
|
|
|
func (m *VerifyMfaOtp) XXX_DiscardUnknown() {
|
|
|
|
xxx_messageInfo_VerifyMfaOtp.DiscardUnknown(m)
|
|
|
|
}
|
|
|
|
|
|
|
|
var xxx_messageInfo_VerifyMfaOtp proto.InternalMessageInfo
|
2020-03-23 15:56:02 +00:00
|
|
|
|
2020-06-17 06:06:40 +00:00
|
|
|
func (m *VerifyMfaOtp) GetCode() string {
|
|
|
|
if m != nil {
|
|
|
|
return m.Code
|
2020-03-23 15:56:02 +00:00
|
|
|
}
|
2020-03-31 09:07:48 +00:00
|
|
|
return ""
|
2020-03-23 15:56:02 +00:00
|
|
|
}
|
|
|
|
|
2020-06-05 05:50:04 +00:00
|
|
|
type MultiFactors struct {
|
2020-06-17 06:06:40 +00:00
|
|
|
Mfas []*MultiFactor `protobuf:"bytes,1,rep,name=mfas,proto3" json:"mfas,omitempty"`
|
|
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
|
|
XXX_unrecognized []byte `json:"-"`
|
|
|
|
XXX_sizecache int32 `json:"-"`
|
2020-03-23 15:56:02 +00:00
|
|
|
}
|
|
|
|
|
2020-06-17 06:06:40 +00:00
|
|
|
func (m *MultiFactors) Reset() { *m = MultiFactors{} }
|
|
|
|
func (m *MultiFactors) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*MultiFactors) ProtoMessage() {}
|
|
|
|
func (*MultiFactors) Descriptor() ([]byte, []int) {
|
|
|
|
return fileDescriptor_8bbd6f3875b0e874, []int{22}
|
2020-05-18 10:06:36 +00:00
|
|
|
}
|
2020-06-16 09:40:18 +00:00
|
|
|
|
2020-06-17 06:06:40 +00:00
|
|
|
func (m *MultiFactors) XXX_Unmarshal(b []byte) error {
|
|
|
|
return xxx_messageInfo_MultiFactors.Unmarshal(m, b)
|
2020-06-09 07:22:37 +00:00
|
|
|
}
|
2020-06-17 06:06:40 +00:00
|
|
|
func (m *MultiFactors) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
return xxx_messageInfo_MultiFactors.Marshal(b, m, deterministic)
|
2020-06-09 07:22:37 +00:00
|
|
|
}
|
2020-06-17 06:06:40 +00:00
|
|
|
func (m *MultiFactors) XXX_Merge(src proto.Message) {
|
|
|
|
xxx_messageInfo_MultiFactors.Merge(m, src)
|
2020-06-16 09:40:18 +00:00
|
|
|
}
|
2020-06-17 06:06:40 +00:00
|
|
|
func (m *MultiFactors) XXX_Size() int {
|
|
|
|
return xxx_messageInfo_MultiFactors.Size(m)
|
|
|
|
}
|
|
|
|
func (m *MultiFactors) XXX_DiscardUnknown() {
|
|
|
|
xxx_messageInfo_MultiFactors.DiscardUnknown(m)
|
|
|
|
}
|
|
|
|
|
|
|
|
var xxx_messageInfo_MultiFactors proto.InternalMessageInfo
|
2020-05-18 10:06:36 +00:00
|
|
|
|
2020-06-17 06:06:40 +00:00
|
|
|
func (m *MultiFactors) GetMfas() []*MultiFactor {
|
|
|
|
if m != nil {
|
|
|
|
return m.Mfas
|
2020-05-18 10:06:36 +00:00
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2020-06-05 05:50:04 +00:00
|
|
|
type MultiFactor struct {
|
2020-06-17 06:06:40 +00:00
|
|
|
Type MfaType `protobuf:"varint,1,opt,name=type,proto3,enum=caos.zitadel.auth.api.v1.MfaType" json:"type,omitempty"`
|
|
|
|
State MFAState `protobuf:"varint,2,opt,name=state,proto3,enum=caos.zitadel.auth.api.v1.MFAState" json:"state,omitempty"`
|
|
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
|
|
XXX_unrecognized []byte `json:"-"`
|
|
|
|
XXX_sizecache int32 `json:"-"`
|
2020-04-07 11:23:04 +00:00
|
|
|
}
|
2020-06-05 05:50:04 +00:00
|
|
|
|
2020-06-17 06:06:40 +00:00
|
|
|
func (m *MultiFactor) Reset() { *m = MultiFactor{} }
|
|
|
|
func (m *MultiFactor) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*MultiFactor) ProtoMessage() {}
|
|
|
|
func (*MultiFactor) Descriptor() ([]byte, []int) {
|
|
|
|
return fileDescriptor_8bbd6f3875b0e874, []int{23}
|
2020-06-09 07:22:37 +00:00
|
|
|
}
|
2020-06-16 09:40:18 +00:00
|
|
|
|
2020-06-17 06:06:40 +00:00
|
|
|
func (m *MultiFactor) XXX_Unmarshal(b []byte) error {
|
|
|
|
return xxx_messageInfo_MultiFactor.Unmarshal(m, b)
|
2020-03-23 15:56:02 +00:00
|
|
|
}
|
2020-06-17 06:06:40 +00:00
|
|
|
func (m *MultiFactor) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
return xxx_messageInfo_MultiFactor.Marshal(b, m, deterministic)
|
2020-06-09 07:22:37 +00:00
|
|
|
}
|
2020-06-17 06:06:40 +00:00
|
|
|
func (m *MultiFactor) XXX_Merge(src proto.Message) {
|
|
|
|
xxx_messageInfo_MultiFactor.Merge(m, src)
|
|
|
|
}
|
|
|
|
func (m *MultiFactor) XXX_Size() int {
|
|
|
|
return xxx_messageInfo_MultiFactor.Size(m)
|
|
|
|
}
|
|
|
|
func (m *MultiFactor) XXX_DiscardUnknown() {
|
|
|
|
xxx_messageInfo_MultiFactor.DiscardUnknown(m)
|
2020-06-16 09:40:18 +00:00
|
|
|
}
|
2020-03-31 09:07:48 +00:00
|
|
|
|
2020-06-17 06:06:40 +00:00
|
|
|
var xxx_messageInfo_MultiFactor proto.InternalMessageInfo
|
|
|
|
|
|
|
|
func (m *MultiFactor) GetType() MfaType {
|
|
|
|
if m != nil {
|
|
|
|
return m.Type
|
2020-06-05 05:50:04 +00:00
|
|
|
}
|
|
|
|
return MfaType_MFATYPE_UNSPECIFIED
|
2020-03-23 15:56:02 +00:00
|
|
|
}
|
2020-03-31 09:07:48 +00:00
|
|
|
|
2020-06-17 06:06:40 +00:00
|
|
|
func (m *MultiFactor) GetState() MFAState {
|
|
|
|
if m != nil {
|
|
|
|
return m.State
|
2020-06-05 05:50:04 +00:00
|
|
|
}
|
|
|
|
return MFAState_MFASTATE_UNSPECIFIED
|
2020-03-23 15:56:02 +00:00
|
|
|
}
|
|
|
|
|
2020-06-05 05:50:04 +00:00
|
|
|
type MfaOtpResponse struct {
|
2020-06-17 06:06:40 +00:00
|
|
|
UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
|
|
|
|
Url string `protobuf:"bytes,2,opt,name=url,proto3" json:"url,omitempty"`
|
|
|
|
Secret string `protobuf:"bytes,3,opt,name=secret,proto3" json:"secret,omitempty"`
|
|
|
|
State MFAState `protobuf:"varint,4,opt,name=state,proto3,enum=caos.zitadel.auth.api.v1.MFAState" json:"state,omitempty"`
|
|
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
|
|
XXX_unrecognized []byte `json:"-"`
|
|
|
|
XXX_sizecache int32 `json:"-"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *MfaOtpResponse) Reset() { *m = MfaOtpResponse{} }
|
|
|
|
func (m *MfaOtpResponse) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*MfaOtpResponse) ProtoMessage() {}
|
|
|
|
func (*MfaOtpResponse) Descriptor() ([]byte, []int) {
|
|
|
|
return fileDescriptor_8bbd6f3875b0e874, []int{24}
|
2020-03-23 15:56:02 +00:00
|
|
|
}
|
2020-06-16 09:40:18 +00:00
|
|
|
|
2020-06-17 06:06:40 +00:00
|
|
|
func (m *MfaOtpResponse) XXX_Unmarshal(b []byte) error {
|
|
|
|
return xxx_messageInfo_MfaOtpResponse.Unmarshal(m, b)
|
2020-03-31 09:07:48 +00:00
|
|
|
}
|
2020-06-17 06:06:40 +00:00
|
|
|
func (m *MfaOtpResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
return xxx_messageInfo_MfaOtpResponse.Marshal(b, m, deterministic)
|
2020-06-09 07:22:37 +00:00
|
|
|
}
|
2020-06-17 06:06:40 +00:00
|
|
|
func (m *MfaOtpResponse) XXX_Merge(src proto.Message) {
|
|
|
|
xxx_messageInfo_MfaOtpResponse.Merge(m, src)
|
2020-03-23 15:56:02 +00:00
|
|
|
}
|
2020-06-17 06:06:40 +00:00
|
|
|
func (m *MfaOtpResponse) XXX_Size() int {
|
|
|
|
return xxx_messageInfo_MfaOtpResponse.Size(m)
|
|
|
|
}
|
|
|
|
func (m *MfaOtpResponse) XXX_DiscardUnknown() {
|
|
|
|
xxx_messageInfo_MfaOtpResponse.DiscardUnknown(m)
|
2020-06-16 09:40:18 +00:00
|
|
|
}
|
2020-06-09 07:22:37 +00:00
|
|
|
|
2020-06-17 06:06:40 +00:00
|
|
|
var xxx_messageInfo_MfaOtpResponse proto.InternalMessageInfo
|
|
|
|
|
|
|
|
func (m *MfaOtpResponse) GetUserId() string {
|
|
|
|
if m != nil {
|
|
|
|
return m.UserId
|
2020-03-23 15:56:02 +00:00
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
2020-06-17 06:06:40 +00:00
|
|
|
func (m *MfaOtpResponse) GetUrl() string {
|
|
|
|
if m != nil {
|
|
|
|
return m.Url
|
2020-03-23 15:56:02 +00:00
|
|
|
}
|
2020-03-31 09:07:48 +00:00
|
|
|
return ""
|
2020-03-23 15:56:02 +00:00
|
|
|
}
|
|
|
|
|
2020-06-17 06:06:40 +00:00
|
|
|
func (m *MfaOtpResponse) GetSecret() string {
|
|
|
|
if m != nil {
|
|
|
|
return m.Secret
|
2020-03-23 15:56:02 +00:00
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
2020-06-17 06:06:40 +00:00
|
|
|
func (m *MfaOtpResponse) GetState() MFAState {
|
|
|
|
if m != nil {
|
|
|
|
return m.State
|
2020-03-23 15:56:02 +00:00
|
|
|
}
|
2020-06-05 05:50:04 +00:00
|
|
|
return MFAState_MFASTATE_UNSPECIFIED
|
2020-03-23 15:56:02 +00:00
|
|
|
}
|
|
|
|
|
2020-06-05 05:50:04 +00:00
|
|
|
type OIDCClientAuth struct {
|
2020-06-17 06:06:40 +00:00
|
|
|
ClientId string `protobuf:"bytes,1,opt,name=client_id,json=clientId,proto3" json:"client_id,omitempty"`
|
|
|
|
ClientSecret string `protobuf:"bytes,2,opt,name=client_secret,json=clientSecret,proto3" json:"client_secret,omitempty"`
|
|
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
|
|
XXX_unrecognized []byte `json:"-"`
|
|
|
|
XXX_sizecache int32 `json:"-"`
|
2020-05-18 10:06:36 +00:00
|
|
|
}
|
|
|
|
|
2020-06-17 06:06:40 +00:00
|
|
|
func (m *OIDCClientAuth) Reset() { *m = OIDCClientAuth{} }
|
|
|
|
func (m *OIDCClientAuth) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*OIDCClientAuth) ProtoMessage() {}
|
|
|
|
func (*OIDCClientAuth) Descriptor() ([]byte, []int) {
|
|
|
|
return fileDescriptor_8bbd6f3875b0e874, []int{25}
|
2020-06-09 07:22:37 +00:00
|
|
|
}
|
2020-06-16 09:40:18 +00:00
|
|
|
|
2020-06-17 06:06:40 +00:00
|
|
|
func (m *OIDCClientAuth) XXX_Unmarshal(b []byte) error {
|
|
|
|
return xxx_messageInfo_OIDCClientAuth.Unmarshal(m, b)
|
2020-03-23 15:56:02 +00:00
|
|
|
}
|
2020-06-17 06:06:40 +00:00
|
|
|
func (m *OIDCClientAuth) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
return xxx_messageInfo_OIDCClientAuth.Marshal(b, m, deterministic)
|
2020-06-09 07:22:37 +00:00
|
|
|
}
|
2020-06-17 06:06:40 +00:00
|
|
|
func (m *OIDCClientAuth) XXX_Merge(src proto.Message) {
|
|
|
|
xxx_messageInfo_OIDCClientAuth.Merge(m, src)
|
|
|
|
}
|
|
|
|
func (m *OIDCClientAuth) XXX_Size() int {
|
|
|
|
return xxx_messageInfo_OIDCClientAuth.Size(m)
|
|
|
|
}
|
|
|
|
func (m *OIDCClientAuth) XXX_DiscardUnknown() {
|
|
|
|
xxx_messageInfo_OIDCClientAuth.DiscardUnknown(m)
|
2020-06-16 09:40:18 +00:00
|
|
|
}
|
2020-03-23 15:56:02 +00:00
|
|
|
|
2020-06-17 06:06:40 +00:00
|
|
|
var xxx_messageInfo_OIDCClientAuth proto.InternalMessageInfo
|
|
|
|
|
|
|
|
func (m *OIDCClientAuth) GetClientId() string {
|
|
|
|
if m != nil {
|
|
|
|
return m.ClientId
|
2020-03-23 15:56:02 +00:00
|
|
|
}
|
2020-03-31 09:07:48 +00:00
|
|
|
return ""
|
2020-03-23 15:56:02 +00:00
|
|
|
}
|
|
|
|
|
2020-06-17 06:06:40 +00:00
|
|
|
func (m *OIDCClientAuth) GetClientSecret() string {
|
|
|
|
if m != nil {
|
|
|
|
return m.ClientSecret
|
2020-03-31 09:07:48 +00:00
|
|
|
}
|
|
|
|
return ""
|
2020-03-23 15:56:02 +00:00
|
|
|
}
|
|
|
|
|
2020-06-05 05:50:04 +00:00
|
|
|
type UserGrantSearchRequest struct {
|
2020-06-17 06:06:40 +00:00
|
|
|
Offset uint64 `protobuf:"varint,1,opt,name=offset,proto3" json:"offset,omitempty"`
|
|
|
|
Limit uint64 `protobuf:"varint,2,opt,name=limit,proto3" json:"limit,omitempty"`
|
|
|
|
SortingColumn UserGrantSearchKey `protobuf:"varint,3,opt,name=sorting_column,json=sortingColumn,proto3,enum=caos.zitadel.auth.api.v1.UserGrantSearchKey" json:"sorting_column,omitempty"`
|
|
|
|
Asc bool `protobuf:"varint,4,opt,name=asc,proto3" json:"asc,omitempty"`
|
|
|
|
Queries []*UserGrantSearchQuery `protobuf:"bytes,5,rep,name=queries,proto3" json:"queries,omitempty"`
|
|
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
|
|
XXX_unrecognized []byte `json:"-"`
|
|
|
|
XXX_sizecache int32 `json:"-"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *UserGrantSearchRequest) Reset() { *m = UserGrantSearchRequest{} }
|
|
|
|
func (m *UserGrantSearchRequest) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*UserGrantSearchRequest) ProtoMessage() {}
|
|
|
|
func (*UserGrantSearchRequest) Descriptor() ([]byte, []int) {
|
|
|
|
return fileDescriptor_8bbd6f3875b0e874, []int{26}
|
2020-03-23 15:56:02 +00:00
|
|
|
}
|
2020-06-16 09:40:18 +00:00
|
|
|
|
2020-06-17 06:06:40 +00:00
|
|
|
func (m *UserGrantSearchRequest) XXX_Unmarshal(b []byte) error {
|
|
|
|
return xxx_messageInfo_UserGrantSearchRequest.Unmarshal(m, b)
|
2020-03-23 15:56:02 +00:00
|
|
|
}
|
2020-06-17 06:06:40 +00:00
|
|
|
func (m *UserGrantSearchRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
return xxx_messageInfo_UserGrantSearchRequest.Marshal(b, m, deterministic)
|
2020-06-09 07:22:37 +00:00
|
|
|
}
|
2020-06-17 06:06:40 +00:00
|
|
|
func (m *UserGrantSearchRequest) XXX_Merge(src proto.Message) {
|
|
|
|
xxx_messageInfo_UserGrantSearchRequest.Merge(m, src)
|
2020-03-23 15:56:02 +00:00
|
|
|
}
|
2020-06-17 06:06:40 +00:00
|
|
|
func (m *UserGrantSearchRequest) XXX_Size() int {
|
|
|
|
return xxx_messageInfo_UserGrantSearchRequest.Size(m)
|
2020-06-16 09:40:18 +00:00
|
|
|
}
|
2020-06-17 06:06:40 +00:00
|
|
|
func (m *UserGrantSearchRequest) XXX_DiscardUnknown() {
|
|
|
|
xxx_messageInfo_UserGrantSearchRequest.DiscardUnknown(m)
|
|
|
|
}
|
|
|
|
|
|
|
|
var xxx_messageInfo_UserGrantSearchRequest proto.InternalMessageInfo
|
2020-06-09 07:22:37 +00:00
|
|
|
|
2020-06-17 06:06:40 +00:00
|
|
|
func (m *UserGrantSearchRequest) GetOffset() uint64 {
|
|
|
|
if m != nil {
|
|
|
|
return m.Offset
|
2020-06-05 05:50:04 +00:00
|
|
|
}
|
|
|
|
return 0
|
2020-03-23 15:56:02 +00:00
|
|
|
}
|
|
|
|
|
2020-06-17 06:06:40 +00:00
|
|
|
func (m *UserGrantSearchRequest) GetLimit() uint64 {
|
|
|
|
if m != nil {
|
|
|
|
return m.Limit
|
2020-03-23 15:56:02 +00:00
|
|
|
}
|
2020-06-05 05:50:04 +00:00
|
|
|
return 0
|
2020-03-23 15:56:02 +00:00
|
|
|
}
|
|
|
|
|
2020-06-17 06:06:40 +00:00
|
|
|
func (m *UserGrantSearchRequest) GetSortingColumn() UserGrantSearchKey {
|
|
|
|
if m != nil {
|
|
|
|
return m.SortingColumn
|
2020-06-05 05:50:04 +00:00
|
|
|
}
|
|
|
|
return UserGrantSearchKey_UserGrantSearchKey_UNKNOWN
|
2020-03-23 15:56:02 +00:00
|
|
|
}
|
|
|
|
|
2020-06-17 06:06:40 +00:00
|
|
|
func (m *UserGrantSearchRequest) GetAsc() bool {
|
|
|
|
if m != nil {
|
|
|
|
return m.Asc
|
2020-06-05 05:50:04 +00:00
|
|
|
}
|
|
|
|
return false
|
2020-03-23 15:56:02 +00:00
|
|
|
}
|
|
|
|
|
2020-06-17 06:06:40 +00:00
|
|
|
func (m *UserGrantSearchRequest) GetQueries() []*UserGrantSearchQuery {
|
|
|
|
if m != nil {
|
|
|
|
return m.Queries
|
2020-06-05 05:50:04 +00:00
|
|
|
}
|
|
|
|
return nil
|
2020-04-07 11:23:04 +00:00
|
|
|
}
|
|
|
|
|
2020-06-05 05:50:04 +00:00
|
|
|
type UserGrantSearchQuery struct {
|
2020-06-17 06:06:40 +00:00
|
|
|
Key UserGrantSearchKey `protobuf:"varint,1,opt,name=key,proto3,enum=caos.zitadel.auth.api.v1.UserGrantSearchKey" json:"key,omitempty"`
|
|
|
|
Method SearchMethod `protobuf:"varint,2,opt,name=method,proto3,enum=caos.zitadel.auth.api.v1.SearchMethod" json:"method,omitempty"`
|
|
|
|
Value string `protobuf:"bytes,3,opt,name=value,proto3" json:"value,omitempty"`
|
|
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
|
|
XXX_unrecognized []byte `json:"-"`
|
|
|
|
XXX_sizecache int32 `json:"-"`
|
2020-03-23 15:56:02 +00:00
|
|
|
}
|
|
|
|
|
2020-06-17 06:06:40 +00:00
|
|
|
func (m *UserGrantSearchQuery) Reset() { *m = UserGrantSearchQuery{} }
|
|
|
|
func (m *UserGrantSearchQuery) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*UserGrantSearchQuery) ProtoMessage() {}
|
|
|
|
func (*UserGrantSearchQuery) Descriptor() ([]byte, []int) {
|
|
|
|
return fileDescriptor_8bbd6f3875b0e874, []int{27}
|
2020-06-09 07:22:37 +00:00
|
|
|
}
|
2020-06-16 09:40:18 +00:00
|
|
|
|
2020-06-17 06:06:40 +00:00
|
|
|
func (m *UserGrantSearchQuery) XXX_Unmarshal(b []byte) error {
|
|
|
|
return xxx_messageInfo_UserGrantSearchQuery.Unmarshal(m, b)
|
2020-06-09 07:22:37 +00:00
|
|
|
}
|
2020-06-17 06:06:40 +00:00
|
|
|
func (m *UserGrantSearchQuery) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
return xxx_messageInfo_UserGrantSearchQuery.Marshal(b, m, deterministic)
|
2020-04-07 11:23:04 +00:00
|
|
|
}
|
2020-06-17 06:06:40 +00:00
|
|
|
func (m *UserGrantSearchQuery) XXX_Merge(src proto.Message) {
|
|
|
|
xxx_messageInfo_UserGrantSearchQuery.Merge(m, src)
|
|
|
|
}
|
|
|
|
func (m *UserGrantSearchQuery) XXX_Size() int {
|
|
|
|
return xxx_messageInfo_UserGrantSearchQuery.Size(m)
|
2020-06-16 09:40:18 +00:00
|
|
|
}
|
2020-06-17 06:06:40 +00:00
|
|
|
func (m *UserGrantSearchQuery) XXX_DiscardUnknown() {
|
|
|
|
xxx_messageInfo_UserGrantSearchQuery.DiscardUnknown(m)
|
|
|
|
}
|
|
|
|
|
|
|
|
var xxx_messageInfo_UserGrantSearchQuery proto.InternalMessageInfo
|
2020-06-09 07:22:37 +00:00
|
|
|
|
2020-06-17 06:06:40 +00:00
|
|
|
func (m *UserGrantSearchQuery) GetKey() UserGrantSearchKey {
|
|
|
|
if m != nil {
|
|
|
|
return m.Key
|
2020-06-05 05:50:04 +00:00
|
|
|
}
|
|
|
|
return UserGrantSearchKey_UserGrantSearchKey_UNKNOWN
|
2020-04-07 11:23:04 +00:00
|
|
|
}
|
|
|
|
|
2020-06-17 06:06:40 +00:00
|
|
|
func (m *UserGrantSearchQuery) GetMethod() SearchMethod {
|
|
|
|
if m != nil {
|
|
|
|
return m.Method
|
2020-06-05 05:50:04 +00:00
|
|
|
}
|
|
|
|
return SearchMethod_SEARCHMETHOD_EQUALS
|
|
|
|
}
|
2020-03-23 15:56:02 +00:00
|
|
|
|
2020-06-17 06:06:40 +00:00
|
|
|
func (m *UserGrantSearchQuery) GetValue() string {
|
|
|
|
if m != nil {
|
|
|
|
return m.Value
|
2020-03-23 15:56:02 +00:00
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
2020-06-05 05:50:04 +00:00
|
|
|
type UserGrantSearchResponse struct {
|
2020-06-17 06:06:40 +00:00
|
|
|
Offset uint64 `protobuf:"varint,1,opt,name=offset,proto3" json:"offset,omitempty"`
|
|
|
|
Limit uint64 `protobuf:"varint,2,opt,name=limit,proto3" json:"limit,omitempty"`
|
|
|
|
TotalResult uint64 `protobuf:"varint,3,opt,name=total_result,json=totalResult,proto3" json:"total_result,omitempty"`
|
|
|
|
Result []*UserGrantView `protobuf:"bytes,4,rep,name=result,proto3" json:"result,omitempty"`
|
|
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
|
|
XXX_unrecognized []byte `json:"-"`
|
|
|
|
XXX_sizecache int32 `json:"-"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *UserGrantSearchResponse) Reset() { *m = UserGrantSearchResponse{} }
|
|
|
|
func (m *UserGrantSearchResponse) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*UserGrantSearchResponse) ProtoMessage() {}
|
|
|
|
func (*UserGrantSearchResponse) Descriptor() ([]byte, []int) {
|
|
|
|
return fileDescriptor_8bbd6f3875b0e874, []int{28}
|
2020-04-07 11:23:04 +00:00
|
|
|
}
|
2020-06-16 09:40:18 +00:00
|
|
|
|
2020-06-17 06:06:40 +00:00
|
|
|
func (m *UserGrantSearchResponse) XXX_Unmarshal(b []byte) error {
|
|
|
|
return xxx_messageInfo_UserGrantSearchResponse.Unmarshal(m, b)
|
2020-03-23 15:56:02 +00:00
|
|
|
}
|
2020-06-17 06:06:40 +00:00
|
|
|
func (m *UserGrantSearchResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
return xxx_messageInfo_UserGrantSearchResponse.Marshal(b, m, deterministic)
|
2020-06-09 07:22:37 +00:00
|
|
|
}
|
2020-06-17 06:06:40 +00:00
|
|
|
func (m *UserGrantSearchResponse) XXX_Merge(src proto.Message) {
|
|
|
|
xxx_messageInfo_UserGrantSearchResponse.Merge(m, src)
|
2020-03-23 15:56:02 +00:00
|
|
|
}
|
2020-06-17 06:06:40 +00:00
|
|
|
func (m *UserGrantSearchResponse) XXX_Size() int {
|
|
|
|
return xxx_messageInfo_UserGrantSearchResponse.Size(m)
|
2020-06-16 09:40:18 +00:00
|
|
|
}
|
2020-06-17 06:06:40 +00:00
|
|
|
func (m *UserGrantSearchResponse) XXX_DiscardUnknown() {
|
|
|
|
xxx_messageInfo_UserGrantSearchResponse.DiscardUnknown(m)
|
|
|
|
}
|
|
|
|
|
|
|
|
var xxx_messageInfo_UserGrantSearchResponse proto.InternalMessageInfo
|
2020-06-09 07:22:37 +00:00
|
|
|
|
2020-06-17 06:06:40 +00:00
|
|
|
func (m *UserGrantSearchResponse) GetOffset() uint64 {
|
|
|
|
if m != nil {
|
|
|
|
return m.Offset
|
2020-06-05 05:50:04 +00:00
|
|
|
}
|
|
|
|
return 0
|
2020-03-23 15:56:02 +00:00
|
|
|
}
|
2020-03-31 09:07:48 +00:00
|
|
|
|
2020-06-17 06:06:40 +00:00
|
|
|
func (m *UserGrantSearchResponse) GetLimit() uint64 {
|
|
|
|
if m != nil {
|
|
|
|
return m.Limit
|
2020-06-05 05:50:04 +00:00
|
|
|
}
|
|
|
|
return 0
|
2020-04-07 11:23:04 +00:00
|
|
|
}
|
|
|
|
|
2020-06-17 06:06:40 +00:00
|
|
|
func (m *UserGrantSearchResponse) GetTotalResult() uint64 {
|
|
|
|
if m != nil {
|
|
|
|
return m.TotalResult
|
2020-03-31 09:07:48 +00:00
|
|
|
}
|
2020-06-05 05:50:04 +00:00
|
|
|
return 0
|
2020-03-23 15:56:02 +00:00
|
|
|
}
|
|
|
|
|
2020-06-17 06:06:40 +00:00
|
|
|
func (m *UserGrantSearchResponse) GetResult() []*UserGrantView {
|
|
|
|
if m != nil {
|
|
|
|
return m.Result
|
2020-03-23 15:56:02 +00:00
|
|
|
}
|
2020-06-05 05:50:04 +00:00
|
|
|
return nil
|
2020-03-23 15:56:02 +00:00
|
|
|
}
|
|
|
|
|
2020-06-05 05:50:04 +00:00
|
|
|
type UserGrantView struct {
|
2020-06-17 06:06:40 +00:00
|
|
|
OrgId string `protobuf:"bytes,1,opt,name=OrgId,proto3" json:"OrgId,omitempty"`
|
|
|
|
ProjectId string `protobuf:"bytes,2,opt,name=ProjectId,proto3" json:"ProjectId,omitempty"`
|
|
|
|
UserId string `protobuf:"bytes,3,opt,name=UserId,proto3" json:"UserId,omitempty"`
|
|
|
|
Roles []string `protobuf:"bytes,4,rep,name=Roles,proto3" json:"Roles,omitempty"`
|
|
|
|
OrgName string `protobuf:"bytes,5,opt,name=OrgName,proto3" json:"OrgName,omitempty"`
|
|
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
|
|
XXX_unrecognized []byte `json:"-"`
|
|
|
|
XXX_sizecache int32 `json:"-"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *UserGrantView) Reset() { *m = UserGrantView{} }
|
|
|
|
func (m *UserGrantView) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*UserGrantView) ProtoMessage() {}
|
|
|
|
func (*UserGrantView) Descriptor() ([]byte, []int) {
|
|
|
|
return fileDescriptor_8bbd6f3875b0e874, []int{29}
|
2020-04-07 11:23:04 +00:00
|
|
|
}
|
2020-06-16 09:40:18 +00:00
|
|
|
|
2020-06-17 06:06:40 +00:00
|
|
|
func (m *UserGrantView) XXX_Unmarshal(b []byte) error {
|
|
|
|
return xxx_messageInfo_UserGrantView.Unmarshal(m, b)
|
2020-03-23 15:56:02 +00:00
|
|
|
}
|
2020-06-17 06:06:40 +00:00
|
|
|
func (m *UserGrantView) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
return xxx_messageInfo_UserGrantView.Marshal(b, m, deterministic)
|
2020-06-05 05:50:04 +00:00
|
|
|
}
|
2020-06-17 06:06:40 +00:00
|
|
|
func (m *UserGrantView) XXX_Merge(src proto.Message) {
|
|
|
|
xxx_messageInfo_UserGrantView.Merge(m, src)
|
2020-06-09 07:22:37 +00:00
|
|
|
}
|
2020-06-17 06:06:40 +00:00
|
|
|
func (m *UserGrantView) XXX_Size() int {
|
|
|
|
return xxx_messageInfo_UserGrantView.Size(m)
|
2020-06-16 09:40:18 +00:00
|
|
|
}
|
2020-06-17 06:06:40 +00:00
|
|
|
func (m *UserGrantView) XXX_DiscardUnknown() {
|
|
|
|
xxx_messageInfo_UserGrantView.DiscardUnknown(m)
|
|
|
|
}
|
|
|
|
|
|
|
|
var xxx_messageInfo_UserGrantView proto.InternalMessageInfo
|
2020-04-07 11:23:04 +00:00
|
|
|
|
2020-06-17 06:06:40 +00:00
|
|
|
func (m *UserGrantView) GetOrgId() string {
|
|
|
|
if m != nil {
|
|
|
|
return m.OrgId
|
2020-03-23 15:56:02 +00:00
|
|
|
}
|
2020-03-31 09:07:48 +00:00
|
|
|
return ""
|
2020-03-23 15:56:02 +00:00
|
|
|
}
|
|
|
|
|
2020-06-17 06:06:40 +00:00
|
|
|
func (m *UserGrantView) GetProjectId() string {
|
|
|
|
if m != nil {
|
|
|
|
return m.ProjectId
|
2020-03-23 15:56:02 +00:00
|
|
|
}
|
2020-03-31 09:07:48 +00:00
|
|
|
return ""
|
2020-03-23 15:56:02 +00:00
|
|
|
}
|
|
|
|
|
2020-06-17 06:06:40 +00:00
|
|
|
func (m *UserGrantView) GetUserId() string {
|
|
|
|
if m != nil {
|
|
|
|
return m.UserId
|
2020-03-23 15:56:02 +00:00
|
|
|
}
|
2020-03-31 09:07:48 +00:00
|
|
|
return ""
|
2020-03-23 15:56:02 +00:00
|
|
|
}
|
|
|
|
|
2020-06-17 06:06:40 +00:00
|
|
|
func (m *UserGrantView) GetRoles() []string {
|
|
|
|
if m != nil {
|
|
|
|
return m.Roles
|
2020-03-23 15:56:02 +00:00
|
|
|
}
|
2020-06-05 05:50:04 +00:00
|
|
|
return nil
|
2020-03-23 15:56:02 +00:00
|
|
|
}
|
|
|
|
|
2020-06-17 06:06:40 +00:00
|
|
|
func (m *UserGrantView) GetOrgName() string {
|
|
|
|
if m != nil {
|
|
|
|
return m.OrgName
|
2020-06-05 05:50:04 +00:00
|
|
|
}
|
|
|
|
return ""
|
2020-03-23 15:56:02 +00:00
|
|
|
}
|
|
|
|
|
2020-06-05 05:50:04 +00:00
|
|
|
type MyProjectOrgSearchRequest struct {
|
2020-06-17 06:06:40 +00:00
|
|
|
Offset uint64 `protobuf:"varint,1,opt,name=offset,proto3" json:"offset,omitempty"`
|
|
|
|
Limit uint64 `protobuf:"varint,2,opt,name=limit,proto3" json:"limit,omitempty"`
|
|
|
|
Asc bool `protobuf:"varint,4,opt,name=asc,proto3" json:"asc,omitempty"`
|
|
|
|
Queries []*MyProjectOrgSearchQuery `protobuf:"bytes,5,rep,name=queries,proto3" json:"queries,omitempty"`
|
|
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
|
|
XXX_unrecognized []byte `json:"-"`
|
|
|
|
XXX_sizecache int32 `json:"-"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *MyProjectOrgSearchRequest) Reset() { *m = MyProjectOrgSearchRequest{} }
|
|
|
|
func (m *MyProjectOrgSearchRequest) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*MyProjectOrgSearchRequest) ProtoMessage() {}
|
|
|
|
func (*MyProjectOrgSearchRequest) Descriptor() ([]byte, []int) {
|
|
|
|
return fileDescriptor_8bbd6f3875b0e874, []int{30}
|
2020-03-23 15:56:02 +00:00
|
|
|
}
|
2020-06-16 09:40:18 +00:00
|
|
|
|
2020-06-17 06:06:40 +00:00
|
|
|
func (m *MyProjectOrgSearchRequest) XXX_Unmarshal(b []byte) error {
|
|
|
|
return xxx_messageInfo_MyProjectOrgSearchRequest.Unmarshal(m, b)
|
2020-04-07 11:23:04 +00:00
|
|
|
}
|
2020-06-17 06:06:40 +00:00
|
|
|
func (m *MyProjectOrgSearchRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
return xxx_messageInfo_MyProjectOrgSearchRequest.Marshal(b, m, deterministic)
|
2020-06-09 07:22:37 +00:00
|
|
|
}
|
2020-06-17 06:06:40 +00:00
|
|
|
func (m *MyProjectOrgSearchRequest) XXX_Merge(src proto.Message) {
|
|
|
|
xxx_messageInfo_MyProjectOrgSearchRequest.Merge(m, src)
|
2020-06-05 05:50:04 +00:00
|
|
|
}
|
2020-06-17 06:06:40 +00:00
|
|
|
func (m *MyProjectOrgSearchRequest) XXX_Size() int {
|
|
|
|
return xxx_messageInfo_MyProjectOrgSearchRequest.Size(m)
|
|
|
|
}
|
|
|
|
func (m *MyProjectOrgSearchRequest) XXX_DiscardUnknown() {
|
|
|
|
xxx_messageInfo_MyProjectOrgSearchRequest.DiscardUnknown(m)
|
2020-06-16 09:40:18 +00:00
|
|
|
}
|
2020-06-09 07:22:37 +00:00
|
|
|
|
2020-06-17 06:06:40 +00:00
|
|
|
var xxx_messageInfo_MyProjectOrgSearchRequest proto.InternalMessageInfo
|
|
|
|
|
|
|
|
func (m *MyProjectOrgSearchRequest) GetOffset() uint64 {
|
|
|
|
if m != nil {
|
|
|
|
return m.Offset
|
2020-03-31 09:07:48 +00:00
|
|
|
}
|
|
|
|
return 0
|
2020-03-23 15:56:02 +00:00
|
|
|
}
|
|
|
|
|
2020-06-17 06:06:40 +00:00
|
|
|
func (m *MyProjectOrgSearchRequest) GetLimit() uint64 {
|
|
|
|
if m != nil {
|
|
|
|
return m.Limit
|
2020-03-31 09:07:48 +00:00
|
|
|
}
|
|
|
|
return 0
|
2020-03-23 15:56:02 +00:00
|
|
|
}
|
|
|
|
|
2020-06-17 06:06:40 +00:00
|
|
|
func (m *MyProjectOrgSearchRequest) GetAsc() bool {
|
|
|
|
if m != nil {
|
|
|
|
return m.Asc
|
2020-03-23 15:56:02 +00:00
|
|
|
}
|
|
|
|
return false
|
|
|
|
}
|
|
|
|
|
2020-06-17 06:06:40 +00:00
|
|
|
func (m *MyProjectOrgSearchRequest) GetQueries() []*MyProjectOrgSearchQuery {
|
|
|
|
if m != nil {
|
|
|
|
return m.Queries
|
2020-03-23 15:56:02 +00:00
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2020-03-31 09:07:48 +00:00
|
|
|
type MyProjectOrgSearchQuery struct {
|
2020-06-17 06:06:40 +00:00
|
|
|
Key MyProjectOrgSearchKey `protobuf:"varint,1,opt,name=key,proto3,enum=caos.zitadel.auth.api.v1.MyProjectOrgSearchKey" json:"key,omitempty"`
|
|
|
|
Method SearchMethod `protobuf:"varint,2,opt,name=method,proto3,enum=caos.zitadel.auth.api.v1.SearchMethod" json:"method,omitempty"`
|
|
|
|
Value string `protobuf:"bytes,3,opt,name=value,proto3" json:"value,omitempty"`
|
|
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
|
|
XXX_unrecognized []byte `json:"-"`
|
|
|
|
XXX_sizecache int32 `json:"-"`
|
2020-03-31 09:07:48 +00:00
|
|
|
}
|
2020-06-05 05:50:04 +00:00
|
|
|
|
2020-06-17 06:06:40 +00:00
|
|
|
func (m *MyProjectOrgSearchQuery) Reset() { *m = MyProjectOrgSearchQuery{} }
|
|
|
|
func (m *MyProjectOrgSearchQuery) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*MyProjectOrgSearchQuery) ProtoMessage() {}
|
|
|
|
func (*MyProjectOrgSearchQuery) Descriptor() ([]byte, []int) {
|
|
|
|
return fileDescriptor_8bbd6f3875b0e874, []int{31}
|
2020-06-09 07:22:37 +00:00
|
|
|
}
|
2020-06-16 09:40:18 +00:00
|
|
|
|
2020-06-17 06:06:40 +00:00
|
|
|
func (m *MyProjectOrgSearchQuery) XXX_Unmarshal(b []byte) error {
|
|
|
|
return xxx_messageInfo_MyProjectOrgSearchQuery.Unmarshal(m, b)
|
2020-06-05 05:50:04 +00:00
|
|
|
}
|
2020-06-17 06:06:40 +00:00
|
|
|
func (m *MyProjectOrgSearchQuery) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
return xxx_messageInfo_MyProjectOrgSearchQuery.Marshal(b, m, deterministic)
|
2020-06-09 07:22:37 +00:00
|
|
|
}
|
2020-06-17 06:06:40 +00:00
|
|
|
func (m *MyProjectOrgSearchQuery) XXX_Merge(src proto.Message) {
|
|
|
|
xxx_messageInfo_MyProjectOrgSearchQuery.Merge(m, src)
|
|
|
|
}
|
|
|
|
func (m *MyProjectOrgSearchQuery) XXX_Size() int {
|
|
|
|
return xxx_messageInfo_MyProjectOrgSearchQuery.Size(m)
|
|
|
|
}
|
|
|
|
func (m *MyProjectOrgSearchQuery) XXX_DiscardUnknown() {
|
|
|
|
xxx_messageInfo_MyProjectOrgSearchQuery.DiscardUnknown(m)
|
2020-06-16 09:40:18 +00:00
|
|
|
}
|
2020-03-23 15:56:02 +00:00
|
|
|
|
2020-06-17 06:06:40 +00:00
|
|
|
var xxx_messageInfo_MyProjectOrgSearchQuery proto.InternalMessageInfo
|
|
|
|
|
|
|
|
func (m *MyProjectOrgSearchQuery) GetKey() MyProjectOrgSearchKey {
|
|
|
|
if m != nil {
|
|
|
|
return m.Key
|
2020-03-23 15:56:02 +00:00
|
|
|
}
|
2020-03-31 09:07:48 +00:00
|
|
|
return MyProjectOrgSearchKey_MYPROJECTORGSEARCHKEY_UNSPECIFIED
|
2020-03-23 15:56:02 +00:00
|
|
|
}
|
|
|
|
|
2020-06-17 06:06:40 +00:00
|
|
|
func (m *MyProjectOrgSearchQuery) GetMethod() SearchMethod {
|
|
|
|
if m != nil {
|
|
|
|
return m.Method
|
2020-03-23 15:56:02 +00:00
|
|
|
}
|
2020-03-31 09:07:48 +00:00
|
|
|
return SearchMethod_SEARCHMETHOD_EQUALS
|
2020-03-23 15:56:02 +00:00
|
|
|
}
|
|
|
|
|
2020-06-17 06:06:40 +00:00
|
|
|
func (m *MyProjectOrgSearchQuery) GetValue() string {
|
|
|
|
if m != nil {
|
|
|
|
return m.Value
|
2020-03-23 15:56:02 +00:00
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
2020-03-31 09:07:48 +00:00
|
|
|
type MyProjectOrgSearchResponse struct {
|
2020-06-17 06:06:40 +00:00
|
|
|
Offset uint64 `protobuf:"varint,1,opt,name=offset,proto3" json:"offset,omitempty"`
|
|
|
|
Limit uint64 `protobuf:"varint,2,opt,name=limit,proto3" json:"limit,omitempty"`
|
|
|
|
TotalResult uint64 `protobuf:"varint,3,opt,name=total_result,json=totalResult,proto3" json:"total_result,omitempty"`
|
|
|
|
Result []*Org `protobuf:"bytes,4,rep,name=result,proto3" json:"result,omitempty"`
|
|
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
|
|
XXX_unrecognized []byte `json:"-"`
|
|
|
|
XXX_sizecache int32 `json:"-"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *MyProjectOrgSearchResponse) Reset() { *m = MyProjectOrgSearchResponse{} }
|
|
|
|
func (m *MyProjectOrgSearchResponse) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*MyProjectOrgSearchResponse) ProtoMessage() {}
|
|
|
|
func (*MyProjectOrgSearchResponse) Descriptor() ([]byte, []int) {
|
|
|
|
return fileDescriptor_8bbd6f3875b0e874, []int{32}
|
2020-03-23 15:56:02 +00:00
|
|
|
}
|
2020-06-16 09:40:18 +00:00
|
|
|
|
2020-06-17 06:06:40 +00:00
|
|
|
func (m *MyProjectOrgSearchResponse) XXX_Unmarshal(b []byte) error {
|
|
|
|
return xxx_messageInfo_MyProjectOrgSearchResponse.Unmarshal(m, b)
|
2020-04-07 11:23:04 +00:00
|
|
|
}
|
2020-06-17 06:06:40 +00:00
|
|
|
func (m *MyProjectOrgSearchResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
return xxx_messageInfo_MyProjectOrgSearchResponse.Marshal(b, m, deterministic)
|
2020-06-05 05:50:04 +00:00
|
|
|
}
|
2020-06-17 06:06:40 +00:00
|
|
|
func (m *MyProjectOrgSearchResponse) XXX_Merge(src proto.Message) {
|
|
|
|
xxx_messageInfo_MyProjectOrgSearchResponse.Merge(m, src)
|
2020-06-09 07:22:37 +00:00
|
|
|
}
|
2020-06-17 06:06:40 +00:00
|
|
|
func (m *MyProjectOrgSearchResponse) XXX_Size() int {
|
|
|
|
return xxx_messageInfo_MyProjectOrgSearchResponse.Size(m)
|
|
|
|
}
|
|
|
|
func (m *MyProjectOrgSearchResponse) XXX_DiscardUnknown() {
|
|
|
|
xxx_messageInfo_MyProjectOrgSearchResponse.DiscardUnknown(m)
|
2020-06-16 09:40:18 +00:00
|
|
|
}
|
2020-03-23 15:56:02 +00:00
|
|
|
|
2020-06-17 06:06:40 +00:00
|
|
|
var xxx_messageInfo_MyProjectOrgSearchResponse proto.InternalMessageInfo
|
|
|
|
|
|
|
|
func (m *MyProjectOrgSearchResponse) GetOffset() uint64 {
|
|
|
|
if m != nil {
|
|
|
|
return m.Offset
|
2020-03-31 09:07:48 +00:00
|
|
|
}
|
|
|
|
return 0
|
2020-03-23 15:56:02 +00:00
|
|
|
}
|
|
|
|
|
2020-06-17 06:06:40 +00:00
|
|
|
func (m *MyProjectOrgSearchResponse) GetLimit() uint64 {
|
|
|
|
if m != nil {
|
|
|
|
return m.Limit
|
2020-03-31 09:07:48 +00:00
|
|
|
}
|
|
|
|
return 0
|
2020-03-23 15:56:02 +00:00
|
|
|
}
|
|
|
|
|
2020-06-17 06:06:40 +00:00
|
|
|
func (m *MyProjectOrgSearchResponse) GetTotalResult() uint64 {
|
|
|
|
if m != nil {
|
|
|
|
return m.TotalResult
|
2020-03-23 15:56:02 +00:00
|
|
|
}
|
2020-03-31 09:07:48 +00:00
|
|
|
return 0
|
2020-03-23 15:56:02 +00:00
|
|
|
}
|
|
|
|
|
2020-06-17 06:06:40 +00:00
|
|
|
func (m *MyProjectOrgSearchResponse) GetResult() []*Org {
|
|
|
|
if m != nil {
|
|
|
|
return m.Result
|
2020-03-23 15:56:02 +00:00
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2020-06-05 05:50:04 +00:00
|
|
|
type Org struct {
|
2020-06-17 06:06:40 +00:00
|
|
|
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
|
|
|
|
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
|
|
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
|
|
XXX_unrecognized []byte `json:"-"`
|
|
|
|
XXX_sizecache int32 `json:"-"`
|
2020-03-23 15:56:02 +00:00
|
|
|
}
|
2020-06-05 05:50:04 +00:00
|
|
|
|
2020-06-17 06:06:40 +00:00
|
|
|
func (m *Org) Reset() { *m = Org{} }
|
|
|
|
func (m *Org) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*Org) ProtoMessage() {}
|
|
|
|
func (*Org) Descriptor() ([]byte, []int) {
|
|
|
|
return fileDescriptor_8bbd6f3875b0e874, []int{33}
|
2020-06-09 07:22:37 +00:00
|
|
|
}
|
2020-06-16 09:40:18 +00:00
|
|
|
|
2020-06-17 06:06:40 +00:00
|
|
|
func (m *Org) XXX_Unmarshal(b []byte) error {
|
|
|
|
return xxx_messageInfo_Org.Unmarshal(m, b)
|
2020-04-07 11:23:04 +00:00
|
|
|
}
|
2020-06-17 06:06:40 +00:00
|
|
|
func (m *Org) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
return xxx_messageInfo_Org.Marshal(b, m, deterministic)
|
2020-06-09 07:22:37 +00:00
|
|
|
}
|
2020-06-17 06:06:40 +00:00
|
|
|
func (m *Org) XXX_Merge(src proto.Message) {
|
|
|
|
xxx_messageInfo_Org.Merge(m, src)
|
|
|
|
}
|
|
|
|
func (m *Org) XXX_Size() int {
|
|
|
|
return xxx_messageInfo_Org.Size(m)
|
|
|
|
}
|
|
|
|
func (m *Org) XXX_DiscardUnknown() {
|
|
|
|
xxx_messageInfo_Org.DiscardUnknown(m)
|
2020-06-16 09:40:18 +00:00
|
|
|
}
|
2020-04-07 11:23:04 +00:00
|
|
|
|
2020-06-17 06:06:40 +00:00
|
|
|
var xxx_messageInfo_Org proto.InternalMessageInfo
|
|
|
|
|
|
|
|
func (m *Org) GetId() string {
|
|
|
|
if m != nil {
|
|
|
|
return m.Id
|
2020-03-23 15:56:02 +00:00
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
2020-06-17 06:06:40 +00:00
|
|
|
func (m *Org) GetName() string {
|
|
|
|
if m != nil {
|
|
|
|
return m.Name
|
2020-03-23 15:56:02 +00:00
|
|
|
}
|
2020-03-31 09:07:48 +00:00
|
|
|
return ""
|
2020-03-23 15:56:02 +00:00
|
|
|
}
|
|
|
|
|
2020-03-31 09:07:48 +00:00
|
|
|
type MyPermissions struct {
|
2020-06-17 06:06:40 +00:00
|
|
|
Permissions []string `protobuf:"bytes,1,rep,name=permissions,proto3" json:"permissions,omitempty"`
|
|
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
|
|
XXX_unrecognized []byte `json:"-"`
|
|
|
|
XXX_sizecache int32 `json:"-"`
|
2020-04-07 11:23:04 +00:00
|
|
|
}
|
2020-06-05 05:50:04 +00:00
|
|
|
|
2020-06-17 06:06:40 +00:00
|
|
|
func (m *MyPermissions) Reset() { *m = MyPermissions{} }
|
|
|
|
func (m *MyPermissions) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*MyPermissions) ProtoMessage() {}
|
|
|
|
func (*MyPermissions) Descriptor() ([]byte, []int) {
|
|
|
|
return fileDescriptor_8bbd6f3875b0e874, []int{34}
|
2020-06-05 05:50:04 +00:00
|
|
|
}
|
2020-06-16 09:40:18 +00:00
|
|
|
|
2020-06-17 06:06:40 +00:00
|
|
|
func (m *MyPermissions) XXX_Unmarshal(b []byte) error {
|
|
|
|
return xxx_messageInfo_MyPermissions.Unmarshal(m, b)
|
2020-06-09 07:22:37 +00:00
|
|
|
}
|
2020-06-17 06:06:40 +00:00
|
|
|
func (m *MyPermissions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
return xxx_messageInfo_MyPermissions.Marshal(b, m, deterministic)
|
2020-06-09 07:22:37 +00:00
|
|
|
}
|
2020-06-17 06:06:40 +00:00
|
|
|
func (m *MyPermissions) XXX_Merge(src proto.Message) {
|
|
|
|
xxx_messageInfo_MyPermissions.Merge(m, src)
|
|
|
|
}
|
|
|
|
func (m *MyPermissions) XXX_Size() int {
|
|
|
|
return xxx_messageInfo_MyPermissions.Size(m)
|
|
|
|
}
|
|
|
|
func (m *MyPermissions) XXX_DiscardUnknown() {
|
|
|
|
xxx_messageInfo_MyPermissions.DiscardUnknown(m)
|
2020-06-16 09:40:18 +00:00
|
|
|
}
|
2020-04-07 11:23:04 +00:00
|
|
|
|
2020-06-17 06:06:40 +00:00
|
|
|
var xxx_messageInfo_MyPermissions proto.InternalMessageInfo
|
|
|
|
|
|
|
|
func (m *MyPermissions) GetPermissions() []string {
|
|
|
|
if m != nil {
|
|
|
|
return m.Permissions
|
2020-03-31 09:07:48 +00:00
|
|
|
}
|
|
|
|
return nil
|
2020-03-23 15:56:02 +00:00
|
|
|
}
|
|
|
|
|
2020-06-17 06:06:40 +00:00
|
|
|
func init() {
|
|
|
|
proto.RegisterEnum("caos.zitadel.auth.api.v1.UserSessionState", UserSessionState_name, UserSessionState_value)
|
|
|
|
proto.RegisterEnum("caos.zitadel.auth.api.v1.OIDCResponseType", OIDCResponseType_name, OIDCResponseType_value)
|
|
|
|
proto.RegisterEnum("caos.zitadel.auth.api.v1.UserState", UserState_name, UserState_value)
|
|
|
|
proto.RegisterEnum("caos.zitadel.auth.api.v1.Gender", Gender_name, Gender_value)
|
|
|
|
proto.RegisterEnum("caos.zitadel.auth.api.v1.MfaType", MfaType_name, MfaType_value)
|
|
|
|
proto.RegisterEnum("caos.zitadel.auth.api.v1.MFAState", MFAState_name, MFAState_value)
|
|
|
|
proto.RegisterEnum("caos.zitadel.auth.api.v1.UserGrantSearchKey", UserGrantSearchKey_name, UserGrantSearchKey_value)
|
|
|
|
proto.RegisterEnum("caos.zitadel.auth.api.v1.MyProjectOrgSearchKey", MyProjectOrgSearchKey_name, MyProjectOrgSearchKey_value)
|
|
|
|
proto.RegisterEnum("caos.zitadel.auth.api.v1.SearchMethod", SearchMethod_name, SearchMethod_value)
|
|
|
|
proto.RegisterType((*UserSessionViews)(nil), "caos.zitadel.auth.api.v1.UserSessionViews")
|
|
|
|
proto.RegisterType((*UserSessionView)(nil), "caos.zitadel.auth.api.v1.UserSessionView")
|
|
|
|
proto.RegisterType((*User)(nil), "caos.zitadel.auth.api.v1.User")
|
|
|
|
proto.RegisterType((*UserProfile)(nil), "caos.zitadel.auth.api.v1.UserProfile")
|
|
|
|
proto.RegisterType((*UserProfileView)(nil), "caos.zitadel.auth.api.v1.UserProfileView")
|
|
|
|
proto.RegisterType((*UpdateUserProfileRequest)(nil), "caos.zitadel.auth.api.v1.UpdateUserProfileRequest")
|
|
|
|
proto.RegisterType((*UserEmail)(nil), "caos.zitadel.auth.api.v1.UserEmail")
|
|
|
|
proto.RegisterType((*UserEmailView)(nil), "caos.zitadel.auth.api.v1.UserEmailView")
|
|
|
|
proto.RegisterType((*VerifyMyUserEmailRequest)(nil), "caos.zitadel.auth.api.v1.VerifyMyUserEmailRequest")
|
|
|
|
proto.RegisterType((*VerifyUserEmailRequest)(nil), "caos.zitadel.auth.api.v1.VerifyUserEmailRequest")
|
|
|
|
proto.RegisterType((*UpdateUserEmailRequest)(nil), "caos.zitadel.auth.api.v1.UpdateUserEmailRequest")
|
|
|
|
proto.RegisterType((*UserPhone)(nil), "caos.zitadel.auth.api.v1.UserPhone")
|
|
|
|
proto.RegisterType((*UserPhoneView)(nil), "caos.zitadel.auth.api.v1.UserPhoneView")
|
|
|
|
proto.RegisterType((*UpdateUserPhoneRequest)(nil), "caos.zitadel.auth.api.v1.UpdateUserPhoneRequest")
|
|
|
|
proto.RegisterType((*VerifyUserPhoneRequest)(nil), "caos.zitadel.auth.api.v1.VerifyUserPhoneRequest")
|
|
|
|
proto.RegisterType((*UserAddress)(nil), "caos.zitadel.auth.api.v1.UserAddress")
|
|
|
|
proto.RegisterType((*UserAddressView)(nil), "caos.zitadel.auth.api.v1.UserAddressView")
|
|
|
|
proto.RegisterType((*UpdateUserAddressRequest)(nil), "caos.zitadel.auth.api.v1.UpdateUserAddressRequest")
|
|
|
|
proto.RegisterType((*PasswordID)(nil), "caos.zitadel.auth.api.v1.PasswordID")
|
|
|
|
proto.RegisterType((*PasswordRequest)(nil), "caos.zitadel.auth.api.v1.PasswordRequest")
|
|
|
|
proto.RegisterType((*PasswordChange)(nil), "caos.zitadel.auth.api.v1.PasswordChange")
|
|
|
|
proto.RegisterType((*VerifyMfaOtp)(nil), "caos.zitadel.auth.api.v1.VerifyMfaOtp")
|
|
|
|
proto.RegisterType((*MultiFactors)(nil), "caos.zitadel.auth.api.v1.MultiFactors")
|
|
|
|
proto.RegisterType((*MultiFactor)(nil), "caos.zitadel.auth.api.v1.MultiFactor")
|
|
|
|
proto.RegisterType((*MfaOtpResponse)(nil), "caos.zitadel.auth.api.v1.MfaOtpResponse")
|
|
|
|
proto.RegisterType((*OIDCClientAuth)(nil), "caos.zitadel.auth.api.v1.OIDCClientAuth")
|
|
|
|
proto.RegisterType((*UserGrantSearchRequest)(nil), "caos.zitadel.auth.api.v1.UserGrantSearchRequest")
|
|
|
|
proto.RegisterType((*UserGrantSearchQuery)(nil), "caos.zitadel.auth.api.v1.UserGrantSearchQuery")
|
|
|
|
proto.RegisterType((*UserGrantSearchResponse)(nil), "caos.zitadel.auth.api.v1.UserGrantSearchResponse")
|
|
|
|
proto.RegisterType((*UserGrantView)(nil), "caos.zitadel.auth.api.v1.UserGrantView")
|
|
|
|
proto.RegisterType((*MyProjectOrgSearchRequest)(nil), "caos.zitadel.auth.api.v1.MyProjectOrgSearchRequest")
|
|
|
|
proto.RegisterType((*MyProjectOrgSearchQuery)(nil), "caos.zitadel.auth.api.v1.MyProjectOrgSearchQuery")
|
|
|
|
proto.RegisterType((*MyProjectOrgSearchResponse)(nil), "caos.zitadel.auth.api.v1.MyProjectOrgSearchResponse")
|
|
|
|
proto.RegisterType((*Org)(nil), "caos.zitadel.auth.api.v1.Org")
|
|
|
|
proto.RegisterType((*MyPermissions)(nil), "caos.zitadel.auth.api.v1.MyPermissions")
|
|
|
|
}
|
|
|
|
|
|
|
|
func init() { proto.RegisterFile("auth.proto", fileDescriptor_8bbd6f3875b0e874) }
|
|
|
|
|
|
|
|
var fileDescriptor_8bbd6f3875b0e874 = []byte{
|
|
|
|
// 3106 bytes of a gzipped FileDescriptorProto
|
|
|
|
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xec, 0x5a, 0xdd, 0x6f, 0x23, 0x57,
|
|
|
|
0x15, 0xdf, 0xb1, 0x9d, 0xc4, 0x3e, 0xce, 0xc7, 0xe4, 0x6e, 0x36, 0x99, 0x38, 0xfb, 0x91, 0x9d,
|
|
|
|
0xed, 0xb6, 0x59, 0xb3, 0x1b, 0x77, 0xd3, 0x56, 0xec, 0x6e, 0x25, 0x2a, 0x6f, 0x3c, 0x9b, 0x98,
|
|
|
|
0xc4, 0x1f, 0x1d, 0x3b, 0x5b, 0xb6, 0x12, 0xb2, 0x66, 0x3d, 0x37, 0xce, 0xb4, 0xb6, 0xc7, 0x3b,
|
|
|
|
0x33, 0xce, 0xca, 0x95, 0xa8, 0x44, 0x41, 0x02, 0x89, 0x4f, 0x15, 0x84, 0xc4, 0x23, 0x12, 0x0f,
|
|
|
|
0x48, 0x48, 0x88, 0x17, 0x40, 0x08, 0xfe, 0x00, 0x5e, 0x78, 0x40, 0x48, 0x48, 0x88, 0x17, 0x84,
|
|
|
|
0xf8, 0x17, 0x10, 0xa2, 0xbc, 0xa0, 0xfb, 0x31, 0xf6, 0x8c, 0xc7, 0x63, 0x3b, 0xbb, 0x2a, 0xaa,
|
|
|
|
0xaa, 0x3e, 0x79, 0xee, 0x39, 0xe7, 0x9e, 0xfb, 0xbb, 0xe7, 0xfc, 0xee, 0xc7, 0x1c, 0x0f, 0x80,
|
|
|
|
0xd6, 0x75, 0x4e, 0xb6, 0x3b, 0x96, 0xe9, 0x98, 0x48, 0xaa, 0x6b, 0xa6, 0xbd, 0xfd, 0x9e, 0xe1,
|
|
|
|
0x68, 0x3a, 0x6e, 0x6e, 0x53, 0x85, 0xd6, 0x31, 0xb6, 0x4f, 0x6f, 0xa7, 0x2e, 0x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x86, 0x60, 0xe8, 0x77,
|
|
|
|
0xec, 0xbc, 0xdb, 0xc8, 0x90, 0x61, 0x76, 0xa2, 0x2f, 0x6f, 0xdf, 0x4e, 0x0b, 0x91, 0x1d, 0x51,
|
|
|
|
0xeb, 0x74, 0x9a, 0xfc, 0x08, 0xc8, 0xbc, 0x63, 0x9b, 0x6d, 0xbf, 0xa4, 0x61, 0x75, 0xea, 0xf7,
|
|
|
|
0x02, 0x36, 0xf7, 0x02, 0x36, 0x6f, 0xdf, 0x98, 0x34, 0x22, 0xfd, 0xcc, 0x9b, 0x98, 0x3e, 0x9e,
|
|
|
|
0xa5, 0x61, 0x7a, 0xe5, 0x7f, 0x01, 0x00, 0x00, 0xff, 0xff, 0x5a, 0x72, 0xc9, 0xeb, 0x26, 0x2e,
|
|
|
|
0x00, 0x00,
|
2020-03-23 15:56:02 +00:00
|
|
|
}
|
|
|
|
|
2020-03-31 09:07:48 +00:00
|
|
|
// Reference imports to suppress errors if they are not otherwise used.
|
|
|
|
var _ context.Context
|
2020-06-16 09:40:18 +00:00
|
|
|
var _ grpc.ClientConnInterface
|
2020-03-23 15:56:02 +00:00
|
|
|
|
2020-03-31 09:07:48 +00:00
|
|
|
// This is a compile-time assertion to ensure that this generated file
|
|
|
|
// is compatible with the grpc package it is being compiled against.
|
2020-06-16 09:40:18 +00:00
|
|
|
const _ = grpc.SupportPackageIsVersion6
|
2020-03-23 15:56:02 +00:00
|
|
|
|
2020-03-31 09:07:48 +00:00
|
|
|
// AuthServiceClient is the client API for AuthService service.
|
|
|
|
//
|
|
|
|
// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
|
|
|
|
type AuthServiceClient interface {
|
|
|
|
// Readiness
|
|
|
|
Healthz(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*empty.Empty, error)
|
|
|
|
Ready(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*empty.Empty, error)
|
|
|
|
Validate(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*_struct.Struct, error)
|
|
|
|
// Authorization
|
|
|
|
GetMyUserSessions(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*UserSessionViews, error)
|
|
|
|
//User
|
2020-06-17 05:25:04 +00:00
|
|
|
GetMyUserProfile(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*UserProfileView, error)
|
2020-03-31 09:07:48 +00:00
|
|
|
UpdateMyUserProfile(ctx context.Context, in *UpdateUserProfileRequest, opts ...grpc.CallOption) (*UserProfile, error)
|
2020-06-17 05:25:04 +00:00
|
|
|
GetMyUserEmail(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*UserEmailView, error)
|
2020-03-31 09:07:48 +00:00
|
|
|
ChangeMyUserEmail(ctx context.Context, in *UpdateUserEmailRequest, opts ...grpc.CallOption) (*UserEmail, error)
|
|
|
|
VerifyMyUserEmail(ctx context.Context, in *VerifyMyUserEmailRequest, opts ...grpc.CallOption) (*empty.Empty, error)
|
|
|
|
ResendMyEmailVerificationMail(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*empty.Empty, error)
|
2020-06-17 05:25:04 +00:00
|
|
|
GetMyUserPhone(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*UserPhoneView, error)
|
2020-03-31 09:07:48 +00:00
|
|
|
ChangeMyUserPhone(ctx context.Context, in *UpdateUserPhoneRequest, opts ...grpc.CallOption) (*UserPhone, error)
|
|
|
|
VerifyMyUserPhone(ctx context.Context, in *VerifyUserPhoneRequest, opts ...grpc.CallOption) (*empty.Empty, error)
|
|
|
|
ResendMyPhoneVerificationCode(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*empty.Empty, error)
|
2020-06-17 05:25:04 +00:00
|
|
|
GetMyUserAddress(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*UserAddressView, error)
|
2020-03-31 09:07:48 +00:00
|
|
|
UpdateMyUserAddress(ctx context.Context, in *UpdateUserAddressRequest, opts ...grpc.CallOption) (*UserAddress, error)
|
|
|
|
GetMyMfas(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*MultiFactors, error)
|
2020-05-18 10:06:36 +00:00
|
|
|
//Password
|
2020-03-31 09:07:48 +00:00
|
|
|
ChangeMyPassword(ctx context.Context, in *PasswordChange, opts ...grpc.CallOption) (*empty.Empty, error)
|
|
|
|
// MFA
|
|
|
|
AddMfaOTP(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*MfaOtpResponse, error)
|
2020-05-18 10:06:36 +00:00
|
|
|
VerifyMfaOTP(ctx context.Context, in *VerifyMfaOtp, opts ...grpc.CallOption) (*empty.Empty, error)
|
2020-03-31 09:07:48 +00:00
|
|
|
RemoveMfaOTP(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*empty.Empty, error)
|
2020-06-05 05:50:04 +00:00
|
|
|
SearchMyUserGrant(ctx context.Context, in *UserGrantSearchRequest, opts ...grpc.CallOption) (*UserGrantSearchResponse, error)
|
2020-03-31 09:07:48 +00:00
|
|
|
SearchMyProjectOrgs(ctx context.Context, in *MyProjectOrgSearchRequest, opts ...grpc.CallOption) (*MyProjectOrgSearchResponse, error)
|
|
|
|
//Permission
|
|
|
|
GetMyZitadelPermissions(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*MyPermissions, error)
|
2020-03-23 15:56:02 +00:00
|
|
|
}
|
|
|
|
|
2020-03-31 09:07:48 +00:00
|
|
|
type authServiceClient struct {
|
2020-06-16 09:40:18 +00:00
|
|
|
cc grpc.ClientConnInterface
|
2020-03-23 15:56:02 +00:00
|
|
|
}
|
|
|
|
|
2020-06-16 09:40:18 +00:00
|
|
|
func NewAuthServiceClient(cc grpc.ClientConnInterface) AuthServiceClient {
|
2020-03-31 09:07:48 +00:00
|
|
|
return &authServiceClient{cc}
|
2020-03-23 15:56:02 +00:00
|
|
|
}
|
|
|
|
|
2020-03-31 09:07:48 +00:00
|
|
|
func (c *authServiceClient) Healthz(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*empty.Empty, error) {
|
|
|
|
out := new(empty.Empty)
|
2020-06-09 07:22:37 +00:00
|
|
|
err := c.cc.Invoke(ctx, "/caos.zitadel.auth.api.v1.AuthService/Healthz", in, out, opts...)
|
2020-03-31 09:07:48 +00:00
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
2020-03-23 15:56:02 +00:00
|
|
|
}
|
2020-03-31 09:07:48 +00:00
|
|
|
return out, nil
|
2020-03-23 15:56:02 +00:00
|
|
|
}
|
|
|
|
|
2020-03-31 09:07:48 +00:00
|
|
|
func (c *authServiceClient) Ready(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*empty.Empty, error) {
|
|
|
|
out := new(empty.Empty)
|
2020-06-09 07:22:37 +00:00
|
|
|
err := c.cc.Invoke(ctx, "/caos.zitadel.auth.api.v1.AuthService/Ready", in, out, opts...)
|
2020-03-31 09:07:48 +00:00
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
2020-03-23 15:56:02 +00:00
|
|
|
}
|
2020-03-31 09:07:48 +00:00
|
|
|
return out, nil
|
2020-03-23 15:56:02 +00:00
|
|
|
}
|
|
|
|
|
2020-03-31 09:07:48 +00:00
|
|
|
func (c *authServiceClient) Validate(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*_struct.Struct, error) {
|
|
|
|
out := new(_struct.Struct)
|
2020-06-09 07:22:37 +00:00
|
|
|
err := c.cc.Invoke(ctx, "/caos.zitadel.auth.api.v1.AuthService/Validate", in, out, opts...)
|
2020-03-31 09:07:48 +00:00
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
return out, nil
|
2020-03-23 15:56:02 +00:00
|
|
|
}
|
|
|
|
|
2020-03-31 09:07:48 +00:00
|
|
|
func (c *authServiceClient) GetMyUserSessions(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*UserSessionViews, error) {
|
|
|
|
out := new(UserSessionViews)
|
2020-06-09 07:22:37 +00:00
|
|
|
err := c.cc.Invoke(ctx, "/caos.zitadel.auth.api.v1.AuthService/GetMyUserSessions", in, out, opts...)
|
2020-03-31 09:07:48 +00:00
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
return out, nil
|
2020-03-23 15:56:02 +00:00
|
|
|
}
|
|
|
|
|
2020-06-17 05:25:04 +00:00
|
|
|
func (c *authServiceClient) GetMyUserProfile(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*UserProfileView, error) {
|
|
|
|
out := new(UserProfileView)
|
2020-06-09 07:22:37 +00:00
|
|
|
err := c.cc.Invoke(ctx, "/caos.zitadel.auth.api.v1.AuthService/GetMyUserProfile", in, out, opts...)
|
2020-03-23 15:56:02 +00:00
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
return out, nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (c *authServiceClient) UpdateMyUserProfile(ctx context.Context, in *UpdateUserProfileRequest, opts ...grpc.CallOption) (*UserProfile, error) {
|
|
|
|
out := new(UserProfile)
|
2020-06-09 07:22:37 +00:00
|
|
|
err := c.cc.Invoke(ctx, "/caos.zitadel.auth.api.v1.AuthService/UpdateMyUserProfile", in, out, opts...)
|
2020-03-23 15:56:02 +00:00
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
return out, nil
|
|
|
|
}
|
|
|
|
|
2020-06-17 05:25:04 +00:00
|
|
|
func (c *authServiceClient) GetMyUserEmail(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*UserEmailView, error) {
|
|
|
|
out := new(UserEmailView)
|
2020-06-09 07:22:37 +00:00
|
|
|
err := c.cc.Invoke(ctx, "/caos.zitadel.auth.api.v1.AuthService/GetMyUserEmail", in, out, opts...)
|
2020-03-23 15:56:02 +00:00
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
return out, nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (c *authServiceClient) ChangeMyUserEmail(ctx context.Context, in *UpdateUserEmailRequest, opts ...grpc.CallOption) (*UserEmail, error) {
|
|
|
|
out := new(UserEmail)
|
2020-06-09 07:22:37 +00:00
|
|
|
err := c.cc.Invoke(ctx, "/caos.zitadel.auth.api.v1.AuthService/ChangeMyUserEmail", in, out, opts...)
|
2020-03-23 15:56:02 +00:00
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
return out, nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (c *authServiceClient) VerifyMyUserEmail(ctx context.Context, in *VerifyMyUserEmailRequest, opts ...grpc.CallOption) (*empty.Empty, error) {
|
|
|
|
out := new(empty.Empty)
|
2020-06-09 07:22:37 +00:00
|
|
|
err := c.cc.Invoke(ctx, "/caos.zitadel.auth.api.v1.AuthService/VerifyMyUserEmail", in, out, opts...)
|
2020-03-23 15:56:02 +00:00
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
return out, nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (c *authServiceClient) ResendMyEmailVerificationMail(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*empty.Empty, error) {
|
|
|
|
out := new(empty.Empty)
|
2020-06-09 07:22:37 +00:00
|
|
|
err := c.cc.Invoke(ctx, "/caos.zitadel.auth.api.v1.AuthService/ResendMyEmailVerificationMail", in, out, opts...)
|
2020-03-23 15:56:02 +00:00
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
return out, nil
|
|
|
|
}
|
|
|
|
|
2020-06-17 05:25:04 +00:00
|
|
|
func (c *authServiceClient) GetMyUserPhone(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*UserPhoneView, error) {
|
|
|
|
out := new(UserPhoneView)
|
2020-06-09 07:22:37 +00:00
|
|
|
err := c.cc.Invoke(ctx, "/caos.zitadel.auth.api.v1.AuthService/GetMyUserPhone", in, out, opts...)
|
2020-03-23 15:56:02 +00:00
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
return out, nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (c *authServiceClient) ChangeMyUserPhone(ctx context.Context, in *UpdateUserPhoneRequest, opts ...grpc.CallOption) (*UserPhone, error) {
|
|
|
|
out := new(UserPhone)
|
2020-06-09 07:22:37 +00:00
|
|
|
err := c.cc.Invoke(ctx, "/caos.zitadel.auth.api.v1.AuthService/ChangeMyUserPhone", in, out, opts...)
|
2020-03-23 15:56:02 +00:00
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
return out, nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (c *authServiceClient) VerifyMyUserPhone(ctx context.Context, in *VerifyUserPhoneRequest, opts ...grpc.CallOption) (*empty.Empty, error) {
|
|
|
|
out := new(empty.Empty)
|
2020-06-09 07:22:37 +00:00
|
|
|
err := c.cc.Invoke(ctx, "/caos.zitadel.auth.api.v1.AuthService/VerifyMyUserPhone", in, out, opts...)
|
2020-03-23 15:56:02 +00:00
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
return out, nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (c *authServiceClient) ResendMyPhoneVerificationCode(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*empty.Empty, error) {
|
|
|
|
out := new(empty.Empty)
|
2020-06-09 07:22:37 +00:00
|
|
|
err := c.cc.Invoke(ctx, "/caos.zitadel.auth.api.v1.AuthService/ResendMyPhoneVerificationCode", in, out, opts...)
|
2020-03-23 15:56:02 +00:00
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
return out, nil
|
|
|
|
}
|
|
|
|
|
2020-06-17 05:25:04 +00:00
|
|
|
func (c *authServiceClient) GetMyUserAddress(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*UserAddressView, error) {
|
|
|
|
out := new(UserAddressView)
|
2020-06-09 07:22:37 +00:00
|
|
|
err := c.cc.Invoke(ctx, "/caos.zitadel.auth.api.v1.AuthService/GetMyUserAddress", in, out, opts...)
|
2020-03-23 15:56:02 +00:00
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
return out, nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (c *authServiceClient) UpdateMyUserAddress(ctx context.Context, in *UpdateUserAddressRequest, opts ...grpc.CallOption) (*UserAddress, error) {
|
|
|
|
out := new(UserAddress)
|
2020-06-09 07:22:37 +00:00
|
|
|
err := c.cc.Invoke(ctx, "/caos.zitadel.auth.api.v1.AuthService/UpdateMyUserAddress", in, out, opts...)
|
2020-03-23 15:56:02 +00:00
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
return out, nil
|
|
|
|
}
|
|
|
|
|
2020-03-31 09:07:48 +00:00
|
|
|
func (c *authServiceClient) GetMyMfas(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*MultiFactors, error) {
|
|
|
|
out := new(MultiFactors)
|
2020-06-09 07:22:37 +00:00
|
|
|
err := c.cc.Invoke(ctx, "/caos.zitadel.auth.api.v1.AuthService/GetMyMfas", in, out, opts...)
|
2020-03-23 15:56:02 +00:00
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
return out, nil
|
|
|
|
}
|
|
|
|
|
2020-03-31 09:07:48 +00:00
|
|
|
func (c *authServiceClient) ChangeMyPassword(ctx context.Context, in *PasswordChange, opts ...grpc.CallOption) (*empty.Empty, error) {
|
|
|
|
out := new(empty.Empty)
|
2020-06-09 07:22:37 +00:00
|
|
|
err := c.cc.Invoke(ctx, "/caos.zitadel.auth.api.v1.AuthService/ChangeMyPassword", in, out, opts...)
|
2020-03-23 15:56:02 +00:00
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
return out, nil
|
|
|
|
}
|
|
|
|
|
2020-03-31 09:07:48 +00:00
|
|
|
func (c *authServiceClient) AddMfaOTP(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*MfaOtpResponse, error) {
|
|
|
|
out := new(MfaOtpResponse)
|
2020-06-09 07:22:37 +00:00
|
|
|
err := c.cc.Invoke(ctx, "/caos.zitadel.auth.api.v1.AuthService/AddMfaOTP", in, out, opts...)
|
2020-03-23 15:56:02 +00:00
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
return out, nil
|
|
|
|
}
|
|
|
|
|
2020-05-18 10:06:36 +00:00
|
|
|
func (c *authServiceClient) VerifyMfaOTP(ctx context.Context, in *VerifyMfaOtp, opts ...grpc.CallOption) (*empty.Empty, error) {
|
|
|
|
out := new(empty.Empty)
|
2020-06-09 07:22:37 +00:00
|
|
|
err := c.cc.Invoke(ctx, "/caos.zitadel.auth.api.v1.AuthService/VerifyMfaOTP", in, out, opts...)
|
2020-03-23 15:56:02 +00:00
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
return out, nil
|
|
|
|
}
|
|
|
|
|
2020-03-31 09:07:48 +00:00
|
|
|
func (c *authServiceClient) RemoveMfaOTP(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*empty.Empty, error) {
|
|
|
|
out := new(empty.Empty)
|
2020-06-09 07:22:37 +00:00
|
|
|
err := c.cc.Invoke(ctx, "/caos.zitadel.auth.api.v1.AuthService/RemoveMfaOTP", in, out, opts...)
|
2020-03-23 15:56:02 +00:00
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
return out, nil
|
|
|
|
}
|
|
|
|
|
2020-06-05 05:50:04 +00:00
|
|
|
func (c *authServiceClient) SearchMyUserGrant(ctx context.Context, in *UserGrantSearchRequest, opts ...grpc.CallOption) (*UserGrantSearchResponse, error) {
|
|
|
|
out := new(UserGrantSearchResponse)
|
2020-06-09 07:22:37 +00:00
|
|
|
err := c.cc.Invoke(ctx, "/caos.zitadel.auth.api.v1.AuthService/SearchMyUserGrant", in, out, opts...)
|
2020-03-23 15:56:02 +00:00
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
return out, nil
|
|
|
|
}
|
|
|
|
|
2020-06-05 05:50:04 +00:00
|
|
|
func (c *authServiceClient) SearchMyProjectOrgs(ctx context.Context, in *MyProjectOrgSearchRequest, opts ...grpc.CallOption) (*MyProjectOrgSearchResponse, error) {
|
|
|
|
out := new(MyProjectOrgSearchResponse)
|
2020-06-09 07:22:37 +00:00
|
|
|
err := c.cc.Invoke(ctx, "/caos.zitadel.auth.api.v1.AuthService/SearchMyProjectOrgs", in, out, opts...)
|
2020-03-23 15:56:02 +00:00
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
return out, nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (c *authServiceClient) GetMyZitadelPermissions(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*MyPermissions, error) {
|
|
|
|
out := new(MyPermissions)
|
2020-06-09 07:22:37 +00:00
|
|
|
err := c.cc.Invoke(ctx, "/caos.zitadel.auth.api.v1.AuthService/GetMyZitadelPermissions", in, out, opts...)
|
2020-03-23 15:56:02 +00:00
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
return out, nil
|
|
|
|
}
|
|
|
|
|
|
|
|
// AuthServiceServer is the server API for AuthService service.
|
|
|
|
type AuthServiceServer interface {
|
|
|
|
// Readiness
|
|
|
|
Healthz(context.Context, *empty.Empty) (*empty.Empty, error)
|
|
|
|
Ready(context.Context, *empty.Empty) (*empty.Empty, error)
|
|
|
|
Validate(context.Context, *empty.Empty) (*_struct.Struct, error)
|
|
|
|
// Authorization
|
|
|
|
GetMyUserSessions(context.Context, *empty.Empty) (*UserSessionViews, error)
|
|
|
|
//User
|
2020-06-17 05:25:04 +00:00
|
|
|
GetMyUserProfile(context.Context, *empty.Empty) (*UserProfileView, error)
|
2020-03-23 15:56:02 +00:00
|
|
|
UpdateMyUserProfile(context.Context, *UpdateUserProfileRequest) (*UserProfile, error)
|
2020-06-17 05:25:04 +00:00
|
|
|
GetMyUserEmail(context.Context, *empty.Empty) (*UserEmailView, error)
|
2020-03-23 15:56:02 +00:00
|
|
|
ChangeMyUserEmail(context.Context, *UpdateUserEmailRequest) (*UserEmail, error)
|
|
|
|
VerifyMyUserEmail(context.Context, *VerifyMyUserEmailRequest) (*empty.Empty, error)
|
|
|
|
ResendMyEmailVerificationMail(context.Context, *empty.Empty) (*empty.Empty, error)
|
2020-06-17 05:25:04 +00:00
|
|
|
GetMyUserPhone(context.Context, *empty.Empty) (*UserPhoneView, error)
|
2020-03-23 15:56:02 +00:00
|
|
|
ChangeMyUserPhone(context.Context, *UpdateUserPhoneRequest) (*UserPhone, error)
|
|
|
|
VerifyMyUserPhone(context.Context, *VerifyUserPhoneRequest) (*empty.Empty, error)
|
|
|
|
ResendMyPhoneVerificationCode(context.Context, *empty.Empty) (*empty.Empty, error)
|
2020-06-17 05:25:04 +00:00
|
|
|
GetMyUserAddress(context.Context, *empty.Empty) (*UserAddressView, error)
|
2020-03-23 15:56:02 +00:00
|
|
|
UpdateMyUserAddress(context.Context, *UpdateUserAddressRequest) (*UserAddress, error)
|
|
|
|
GetMyMfas(context.Context, *empty.Empty) (*MultiFactors, error)
|
2020-05-18 10:06:36 +00:00
|
|
|
//Password
|
2020-03-23 15:56:02 +00:00
|
|
|
ChangeMyPassword(context.Context, *PasswordChange) (*empty.Empty, error)
|
|
|
|
// MFA
|
|
|
|
AddMfaOTP(context.Context, *empty.Empty) (*MfaOtpResponse, error)
|
2020-05-18 10:06:36 +00:00
|
|
|
VerifyMfaOTP(context.Context, *VerifyMfaOtp) (*empty.Empty, error)
|
2020-03-23 15:56:02 +00:00
|
|
|
RemoveMfaOTP(context.Context, *empty.Empty) (*empty.Empty, error)
|
2020-06-05 05:50:04 +00:00
|
|
|
SearchMyUserGrant(context.Context, *UserGrantSearchRequest) (*UserGrantSearchResponse, error)
|
2020-03-23 15:56:02 +00:00
|
|
|
SearchMyProjectOrgs(context.Context, *MyProjectOrgSearchRequest) (*MyProjectOrgSearchResponse, error)
|
|
|
|
//Permission
|
|
|
|
GetMyZitadelPermissions(context.Context, *empty.Empty) (*MyPermissions, error)
|
|
|
|
}
|
|
|
|
|
|
|
|
// UnimplementedAuthServiceServer can be embedded to have forward compatible implementations.
|
|
|
|
type UnimplementedAuthServiceServer struct {
|
|
|
|
}
|
|
|
|
|
2020-06-17 06:06:40 +00:00
|
|
|
func (*UnimplementedAuthServiceServer) Healthz(ctx context.Context, req *empty.Empty) (*empty.Empty, error) {
|
2020-03-23 15:56:02 +00:00
|
|
|
return nil, status.Errorf(codes.Unimplemented, "method Healthz not implemented")
|
|
|
|
}
|
2020-06-17 06:06:40 +00:00
|
|
|
func (*UnimplementedAuthServiceServer) Ready(ctx context.Context, req *empty.Empty) (*empty.Empty, error) {
|
2020-03-23 15:56:02 +00:00
|
|
|
return nil, status.Errorf(codes.Unimplemented, "method Ready not implemented")
|
|
|
|
}
|
2020-06-17 06:06:40 +00:00
|
|
|
func (*UnimplementedAuthServiceServer) Validate(ctx context.Context, req *empty.Empty) (*_struct.Struct, error) {
|
2020-03-23 15:56:02 +00:00
|
|
|
return nil, status.Errorf(codes.Unimplemented, "method Validate not implemented")
|
|
|
|
}
|
2020-06-17 06:06:40 +00:00
|
|
|
func (*UnimplementedAuthServiceServer) GetMyUserSessions(ctx context.Context, req *empty.Empty) (*UserSessionViews, error) {
|
2020-03-23 15:56:02 +00:00
|
|
|
return nil, status.Errorf(codes.Unimplemented, "method GetMyUserSessions not implemented")
|
|
|
|
}
|
2020-06-17 06:06:40 +00:00
|
|
|
func (*UnimplementedAuthServiceServer) GetMyUserProfile(ctx context.Context, req *empty.Empty) (*UserProfileView, error) {
|
2020-03-23 15:56:02 +00:00
|
|
|
return nil, status.Errorf(codes.Unimplemented, "method GetMyUserProfile not implemented")
|
|
|
|
}
|
2020-06-17 06:06:40 +00:00
|
|
|
func (*UnimplementedAuthServiceServer) UpdateMyUserProfile(ctx context.Context, req *UpdateUserProfileRequest) (*UserProfile, error) {
|
2020-03-23 15:56:02 +00:00
|
|
|
return nil, status.Errorf(codes.Unimplemented, "method UpdateMyUserProfile not implemented")
|
|
|
|
}
|
2020-06-17 06:06:40 +00:00
|
|
|
func (*UnimplementedAuthServiceServer) GetMyUserEmail(ctx context.Context, req *empty.Empty) (*UserEmailView, error) {
|
2020-03-23 15:56:02 +00:00
|
|
|
return nil, status.Errorf(codes.Unimplemented, "method GetMyUserEmail not implemented")
|
|
|
|
}
|
2020-06-17 06:06:40 +00:00
|
|
|
func (*UnimplementedAuthServiceServer) ChangeMyUserEmail(ctx context.Context, req *UpdateUserEmailRequest) (*UserEmail, error) {
|
2020-03-23 15:56:02 +00:00
|
|
|
return nil, status.Errorf(codes.Unimplemented, "method ChangeMyUserEmail not implemented")
|
|
|
|
}
|
2020-06-17 06:06:40 +00:00
|
|
|
func (*UnimplementedAuthServiceServer) VerifyMyUserEmail(ctx context.Context, req *VerifyMyUserEmailRequest) (*empty.Empty, error) {
|
2020-03-23 15:56:02 +00:00
|
|
|
return nil, status.Errorf(codes.Unimplemented, "method VerifyMyUserEmail not implemented")
|
|
|
|
}
|
2020-06-17 06:06:40 +00:00
|
|
|
func (*UnimplementedAuthServiceServer) ResendMyEmailVerificationMail(ctx context.Context, req *empty.Empty) (*empty.Empty, error) {
|
2020-03-23 15:56:02 +00:00
|
|
|
return nil, status.Errorf(codes.Unimplemented, "method ResendMyEmailVerificationMail not implemented")
|
|
|
|
}
|
2020-06-17 06:06:40 +00:00
|
|
|
func (*UnimplementedAuthServiceServer) GetMyUserPhone(ctx context.Context, req *empty.Empty) (*UserPhoneView, error) {
|
2020-03-23 15:56:02 +00:00
|
|
|
return nil, status.Errorf(codes.Unimplemented, "method GetMyUserPhone not implemented")
|
|
|
|
}
|
2020-06-17 06:06:40 +00:00
|
|
|
func (*UnimplementedAuthServiceServer) ChangeMyUserPhone(ctx context.Context, req *UpdateUserPhoneRequest) (*UserPhone, error) {
|
2020-03-23 15:56:02 +00:00
|
|
|
return nil, status.Errorf(codes.Unimplemented, "method ChangeMyUserPhone not implemented")
|
|
|
|
}
|
2020-06-17 06:06:40 +00:00
|
|
|
func (*UnimplementedAuthServiceServer) VerifyMyUserPhone(ctx context.Context, req *VerifyUserPhoneRequest) (*empty.Empty, error) {
|
2020-03-23 15:56:02 +00:00
|
|
|
return nil, status.Errorf(codes.Unimplemented, "method VerifyMyUserPhone not implemented")
|
|
|
|
}
|
2020-06-17 06:06:40 +00:00
|
|
|
func (*UnimplementedAuthServiceServer) ResendMyPhoneVerificationCode(ctx context.Context, req *empty.Empty) (*empty.Empty, error) {
|
2020-03-23 15:56:02 +00:00
|
|
|
return nil, status.Errorf(codes.Unimplemented, "method ResendMyPhoneVerificationCode not implemented")
|
|
|
|
}
|
2020-06-17 06:06:40 +00:00
|
|
|
func (*UnimplementedAuthServiceServer) GetMyUserAddress(ctx context.Context, req *empty.Empty) (*UserAddressView, error) {
|
2020-03-23 15:56:02 +00:00
|
|
|
return nil, status.Errorf(codes.Unimplemented, "method GetMyUserAddress not implemented")
|
|
|
|
}
|
2020-06-17 06:06:40 +00:00
|
|
|
func (*UnimplementedAuthServiceServer) UpdateMyUserAddress(ctx context.Context, req *UpdateUserAddressRequest) (*UserAddress, error) {
|
2020-03-23 15:56:02 +00:00
|
|
|
return nil, status.Errorf(codes.Unimplemented, "method UpdateMyUserAddress not implemented")
|
|
|
|
}
|
2020-06-17 06:06:40 +00:00
|
|
|
func (*UnimplementedAuthServiceServer) GetMyMfas(ctx context.Context, req *empty.Empty) (*MultiFactors, error) {
|
2020-03-23 15:56:02 +00:00
|
|
|
return nil, status.Errorf(codes.Unimplemented, "method GetMyMfas not implemented")
|
|
|
|
}
|
2020-06-17 06:06:40 +00:00
|
|
|
func (*UnimplementedAuthServiceServer) ChangeMyPassword(ctx context.Context, req *PasswordChange) (*empty.Empty, error) {
|
2020-03-31 09:07:48 +00:00
|
|
|
return nil, status.Errorf(codes.Unimplemented, "method ChangeMyPassword not implemented")
|
2020-03-23 15:56:02 +00:00
|
|
|
}
|
2020-06-17 06:06:40 +00:00
|
|
|
func (*UnimplementedAuthServiceServer) AddMfaOTP(ctx context.Context, req *empty.Empty) (*MfaOtpResponse, error) {
|
2020-03-31 09:07:48 +00:00
|
|
|
return nil, status.Errorf(codes.Unimplemented, "method AddMfaOTP not implemented")
|
2020-03-23 15:56:02 +00:00
|
|
|
}
|
2020-06-17 06:06:40 +00:00
|
|
|
func (*UnimplementedAuthServiceServer) VerifyMfaOTP(ctx context.Context, req *VerifyMfaOtp) (*empty.Empty, error) {
|
2020-03-31 09:07:48 +00:00
|
|
|
return nil, status.Errorf(codes.Unimplemented, "method VerifyMfaOTP not implemented")
|
2020-03-23 15:56:02 +00:00
|
|
|
}
|
2020-06-17 06:06:40 +00:00
|
|
|
func (*UnimplementedAuthServiceServer) RemoveMfaOTP(ctx context.Context, req *empty.Empty) (*empty.Empty, error) {
|
2020-03-31 09:07:48 +00:00
|
|
|
return nil, status.Errorf(codes.Unimplemented, "method RemoveMfaOTP not implemented")
|
|
|
|
}
|
2020-06-17 06:06:40 +00:00
|
|
|
func (*UnimplementedAuthServiceServer) SearchMyUserGrant(ctx context.Context, req *UserGrantSearchRequest) (*UserGrantSearchResponse, error) {
|
2020-06-05 05:50:04 +00:00
|
|
|
return nil, status.Errorf(codes.Unimplemented, "method SearchMyUserGrant not implemented")
|
2020-03-31 09:07:48 +00:00
|
|
|
}
|
2020-06-17 06:06:40 +00:00
|
|
|
func (*UnimplementedAuthServiceServer) SearchMyProjectOrgs(ctx context.Context, req *MyProjectOrgSearchRequest) (*MyProjectOrgSearchResponse, error) {
|
2020-06-05 05:50:04 +00:00
|
|
|
return nil, status.Errorf(codes.Unimplemented, "method SearchMyProjectOrgs not implemented")
|
2020-03-31 09:07:48 +00:00
|
|
|
}
|
2020-06-17 06:06:40 +00:00
|
|
|
func (*UnimplementedAuthServiceServer) GetMyZitadelPermissions(ctx context.Context, req *empty.Empty) (*MyPermissions, error) {
|
2020-03-31 09:07:48 +00:00
|
|
|
return nil, status.Errorf(codes.Unimplemented, "method GetMyZitadelPermissions not implemented")
|
2020-03-23 15:56:02 +00:00
|
|
|
}
|
|
|
|
|
2020-03-31 09:07:48 +00:00
|
|
|
func RegisterAuthServiceServer(s *grpc.Server, srv AuthServiceServer) {
|
|
|
|
s.RegisterService(&_AuthService_serviceDesc, srv)
|
2020-03-23 15:56:02 +00:00
|
|
|
}
|
|
|
|
|
2020-03-31 09:07:48 +00:00
|
|
|
func _AuthService_Healthz_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
|
in := new(empty.Empty)
|
2020-03-23 15:56:02 +00:00
|
|
|
if err := dec(in); err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
if interceptor == nil {
|
2020-03-31 09:07:48 +00:00
|
|
|
return srv.(AuthServiceServer).Healthz(ctx, in)
|
2020-03-23 15:56:02 +00:00
|
|
|
}
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
Server: srv,
|
2020-06-09 07:22:37 +00:00
|
|
|
FullMethod: "/caos.zitadel.auth.api.v1.AuthService/Healthz",
|
2020-03-23 15:56:02 +00:00
|
|
|
}
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
2020-03-31 09:07:48 +00:00
|
|
|
return srv.(AuthServiceServer).Healthz(ctx, req.(*empty.Empty))
|
2020-03-23 15:56:02 +00:00
|
|
|
}
|
|
|
|
return interceptor(ctx, in, info, handler)
|
|
|
|
}
|
|
|
|
|
2020-03-31 09:07:48 +00:00
|
|
|
func _AuthService_Ready_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
|
in := new(empty.Empty)
|
2020-03-23 15:56:02 +00:00
|
|
|
if err := dec(in); err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
if interceptor == nil {
|
2020-03-31 09:07:48 +00:00
|
|
|
return srv.(AuthServiceServer).Ready(ctx, in)
|
2020-03-23 15:56:02 +00:00
|
|
|
}
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
Server: srv,
|
2020-06-09 07:22:37 +00:00
|
|
|
FullMethod: "/caos.zitadel.auth.api.v1.AuthService/Ready",
|
2020-03-23 15:56:02 +00:00
|
|
|
}
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
2020-03-31 09:07:48 +00:00
|
|
|
return srv.(AuthServiceServer).Ready(ctx, req.(*empty.Empty))
|
2020-03-23 15:56:02 +00:00
|
|
|
}
|
|
|
|
return interceptor(ctx, in, info, handler)
|
|
|
|
}
|
|
|
|
|
2020-03-31 09:07:48 +00:00
|
|
|
func _AuthService_Validate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
|
in := new(empty.Empty)
|
2020-03-23 15:56:02 +00:00
|
|
|
if err := dec(in); err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
if interceptor == nil {
|
2020-03-31 09:07:48 +00:00
|
|
|
return srv.(AuthServiceServer).Validate(ctx, in)
|
2020-03-23 15:56:02 +00:00
|
|
|
}
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
Server: srv,
|
2020-06-09 07:22:37 +00:00
|
|
|
FullMethod: "/caos.zitadel.auth.api.v1.AuthService/Validate",
|
2020-03-23 15:56:02 +00:00
|
|
|
}
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
2020-03-31 09:07:48 +00:00
|
|
|
return srv.(AuthServiceServer).Validate(ctx, req.(*empty.Empty))
|
2020-03-23 15:56:02 +00:00
|
|
|
}
|
|
|
|
return interceptor(ctx, in, info, handler)
|
|
|
|
}
|
|
|
|
|
2020-03-31 09:07:48 +00:00
|
|
|
func _AuthService_GetMyUserSessions_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
|
in := new(empty.Empty)
|
2020-03-23 15:56:02 +00:00
|
|
|
if err := dec(in); err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
if interceptor == nil {
|
2020-03-31 09:07:48 +00:00
|
|
|
return srv.(AuthServiceServer).GetMyUserSessions(ctx, in)
|
2020-03-23 15:56:02 +00:00
|
|
|
}
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
Server: srv,
|
2020-06-09 07:22:37 +00:00
|
|
|
FullMethod: "/caos.zitadel.auth.api.v1.AuthService/GetMyUserSessions",
|
2020-03-23 15:56:02 +00:00
|
|
|
}
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
2020-03-31 09:07:48 +00:00
|
|
|
return srv.(AuthServiceServer).GetMyUserSessions(ctx, req.(*empty.Empty))
|
2020-03-23 15:56:02 +00:00
|
|
|
}
|
|
|
|
return interceptor(ctx, in, info, handler)
|
|
|
|
}
|
|
|
|
|
|
|
|
func _AuthService_GetMyUserProfile_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
|
in := new(empty.Empty)
|
|
|
|
if err := dec(in); err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
if interceptor == nil {
|
|
|
|
return srv.(AuthServiceServer).GetMyUserProfile(ctx, in)
|
|
|
|
}
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
Server: srv,
|
2020-06-09 07:22:37 +00:00
|
|
|
FullMethod: "/caos.zitadel.auth.api.v1.AuthService/GetMyUserProfile",
|
2020-03-23 15:56:02 +00:00
|
|
|
}
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
|
return srv.(AuthServiceServer).GetMyUserProfile(ctx, req.(*empty.Empty))
|
|
|
|
}
|
|
|
|
return interceptor(ctx, in, info, handler)
|
|
|
|
}
|
|
|
|
|
|
|
|
func _AuthService_UpdateMyUserProfile_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
|
in := new(UpdateUserProfileRequest)
|
|
|
|
if err := dec(in); err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
if interceptor == nil {
|
|
|
|
return srv.(AuthServiceServer).UpdateMyUserProfile(ctx, in)
|
|
|
|
}
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
Server: srv,
|
2020-06-09 07:22:37 +00:00
|
|
|
FullMethod: "/caos.zitadel.auth.api.v1.AuthService/UpdateMyUserProfile",
|
2020-03-23 15:56:02 +00:00
|
|
|
}
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
|
return srv.(AuthServiceServer).UpdateMyUserProfile(ctx, req.(*UpdateUserProfileRequest))
|
|
|
|
}
|
|
|
|
return interceptor(ctx, in, info, handler)
|
|
|
|
}
|
|
|
|
|
|
|
|
func _AuthService_GetMyUserEmail_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
|
in := new(empty.Empty)
|
|
|
|
if err := dec(in); err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
if interceptor == nil {
|
|
|
|
return srv.(AuthServiceServer).GetMyUserEmail(ctx, in)
|
|
|
|
}
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
Server: srv,
|
2020-06-09 07:22:37 +00:00
|
|
|
FullMethod: "/caos.zitadel.auth.api.v1.AuthService/GetMyUserEmail",
|
2020-03-23 15:56:02 +00:00
|
|
|
}
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
|
return srv.(AuthServiceServer).GetMyUserEmail(ctx, req.(*empty.Empty))
|
|
|
|
}
|
|
|
|
return interceptor(ctx, in, info, handler)
|
|
|
|
}
|
|
|
|
|
|
|
|
func _AuthService_ChangeMyUserEmail_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
|
in := new(UpdateUserEmailRequest)
|
|
|
|
if err := dec(in); err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
if interceptor == nil {
|
|
|
|
return srv.(AuthServiceServer).ChangeMyUserEmail(ctx, in)
|
|
|
|
}
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
Server: srv,
|
2020-06-09 07:22:37 +00:00
|
|
|
FullMethod: "/caos.zitadel.auth.api.v1.AuthService/ChangeMyUserEmail",
|
2020-03-23 15:56:02 +00:00
|
|
|
}
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
|
return srv.(AuthServiceServer).ChangeMyUserEmail(ctx, req.(*UpdateUserEmailRequest))
|
|
|
|
}
|
|
|
|
return interceptor(ctx, in, info, handler)
|
|
|
|
}
|
|
|
|
|
|
|
|
func _AuthService_VerifyMyUserEmail_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
|
in := new(VerifyMyUserEmailRequest)
|
|
|
|
if err := dec(in); err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
if interceptor == nil {
|
|
|
|
return srv.(AuthServiceServer).VerifyMyUserEmail(ctx, in)
|
|
|
|
}
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
Server: srv,
|
2020-06-09 07:22:37 +00:00
|
|
|
FullMethod: "/caos.zitadel.auth.api.v1.AuthService/VerifyMyUserEmail",
|
2020-03-23 15:56:02 +00:00
|
|
|
}
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
|
return srv.(AuthServiceServer).VerifyMyUserEmail(ctx, req.(*VerifyMyUserEmailRequest))
|
|
|
|
}
|
|
|
|
return interceptor(ctx, in, info, handler)
|
|
|
|
}
|
|
|
|
|
|
|
|
func _AuthService_ResendMyEmailVerificationMail_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
|
in := new(empty.Empty)
|
|
|
|
if err := dec(in); err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
if interceptor == nil {
|
|
|
|
return srv.(AuthServiceServer).ResendMyEmailVerificationMail(ctx, in)
|
|
|
|
}
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
Server: srv,
|
2020-06-09 07:22:37 +00:00
|
|
|
FullMethod: "/caos.zitadel.auth.api.v1.AuthService/ResendMyEmailVerificationMail",
|
2020-03-23 15:56:02 +00:00
|
|
|
}
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
|
return srv.(AuthServiceServer).ResendMyEmailVerificationMail(ctx, req.(*empty.Empty))
|
|
|
|
}
|
|
|
|
return interceptor(ctx, in, info, handler)
|
|
|
|
}
|
|
|
|
|
|
|
|
func _AuthService_GetMyUserPhone_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
|
in := new(empty.Empty)
|
|
|
|
if err := dec(in); err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
if interceptor == nil {
|
|
|
|
return srv.(AuthServiceServer).GetMyUserPhone(ctx, in)
|
|
|
|
}
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
Server: srv,
|
2020-06-09 07:22:37 +00:00
|
|
|
FullMethod: "/caos.zitadel.auth.api.v1.AuthService/GetMyUserPhone",
|
2020-03-23 15:56:02 +00:00
|
|
|
}
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
|
return srv.(AuthServiceServer).GetMyUserPhone(ctx, req.(*empty.Empty))
|
|
|
|
}
|
|
|
|
return interceptor(ctx, in, info, handler)
|
|
|
|
}
|
|
|
|
|
|
|
|
func _AuthService_ChangeMyUserPhone_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
|
in := new(UpdateUserPhoneRequest)
|
|
|
|
if err := dec(in); err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
if interceptor == nil {
|
|
|
|
return srv.(AuthServiceServer).ChangeMyUserPhone(ctx, in)
|
|
|
|
}
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
Server: srv,
|
2020-06-09 07:22:37 +00:00
|
|
|
FullMethod: "/caos.zitadel.auth.api.v1.AuthService/ChangeMyUserPhone",
|
2020-03-23 15:56:02 +00:00
|
|
|
}
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
|
return srv.(AuthServiceServer).ChangeMyUserPhone(ctx, req.(*UpdateUserPhoneRequest))
|
|
|
|
}
|
|
|
|
return interceptor(ctx, in, info, handler)
|
|
|
|
}
|
|
|
|
|
|
|
|
func _AuthService_VerifyMyUserPhone_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
|
in := new(VerifyUserPhoneRequest)
|
|
|
|
if err := dec(in); err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
if interceptor == nil {
|
|
|
|
return srv.(AuthServiceServer).VerifyMyUserPhone(ctx, in)
|
|
|
|
}
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
Server: srv,
|
2020-06-09 07:22:37 +00:00
|
|
|
FullMethod: "/caos.zitadel.auth.api.v1.AuthService/VerifyMyUserPhone",
|
2020-03-23 15:56:02 +00:00
|
|
|
}
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
|
return srv.(AuthServiceServer).VerifyMyUserPhone(ctx, req.(*VerifyUserPhoneRequest))
|
|
|
|
}
|
|
|
|
return interceptor(ctx, in, info, handler)
|
|
|
|
}
|
|
|
|
|
|
|
|
func _AuthService_ResendMyPhoneVerificationCode_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
|
in := new(empty.Empty)
|
|
|
|
if err := dec(in); err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
if interceptor == nil {
|
|
|
|
return srv.(AuthServiceServer).ResendMyPhoneVerificationCode(ctx, in)
|
|
|
|
}
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
Server: srv,
|
2020-06-09 07:22:37 +00:00
|
|
|
FullMethod: "/caos.zitadel.auth.api.v1.AuthService/ResendMyPhoneVerificationCode",
|
2020-03-23 15:56:02 +00:00
|
|
|
}
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
|
return srv.(AuthServiceServer).ResendMyPhoneVerificationCode(ctx, req.(*empty.Empty))
|
|
|
|
}
|
|
|
|
return interceptor(ctx, in, info, handler)
|
|
|
|
}
|
|
|
|
|
|
|
|
func _AuthService_GetMyUserAddress_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
|
in := new(empty.Empty)
|
|
|
|
if err := dec(in); err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
if interceptor == nil {
|
|
|
|
return srv.(AuthServiceServer).GetMyUserAddress(ctx, in)
|
|
|
|
}
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
Server: srv,
|
2020-06-09 07:22:37 +00:00
|
|
|
FullMethod: "/caos.zitadel.auth.api.v1.AuthService/GetMyUserAddress",
|
2020-03-23 15:56:02 +00:00
|
|
|
}
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
|
return srv.(AuthServiceServer).GetMyUserAddress(ctx, req.(*empty.Empty))
|
|
|
|
}
|
|
|
|
return interceptor(ctx, in, info, handler)
|
|
|
|
}
|
|
|
|
|
|
|
|
func _AuthService_UpdateMyUserAddress_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
|
in := new(UpdateUserAddressRequest)
|
|
|
|
if err := dec(in); err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
if interceptor == nil {
|
|
|
|
return srv.(AuthServiceServer).UpdateMyUserAddress(ctx, in)
|
|
|
|
}
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
Server: srv,
|
2020-06-09 07:22:37 +00:00
|
|
|
FullMethod: "/caos.zitadel.auth.api.v1.AuthService/UpdateMyUserAddress",
|
2020-03-23 15:56:02 +00:00
|
|
|
}
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
|
return srv.(AuthServiceServer).UpdateMyUserAddress(ctx, req.(*UpdateUserAddressRequest))
|
|
|
|
}
|
|
|
|
return interceptor(ctx, in, info, handler)
|
|
|
|
}
|
|
|
|
|
|
|
|
func _AuthService_GetMyMfas_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
|
in := new(empty.Empty)
|
|
|
|
if err := dec(in); err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
if interceptor == nil {
|
|
|
|
return srv.(AuthServiceServer).GetMyMfas(ctx, in)
|
|
|
|
}
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
Server: srv,
|
2020-06-09 07:22:37 +00:00
|
|
|
FullMethod: "/caos.zitadel.auth.api.v1.AuthService/GetMyMfas",
|
2020-03-23 15:56:02 +00:00
|
|
|
}
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
|
return srv.(AuthServiceServer).GetMyMfas(ctx, req.(*empty.Empty))
|
|
|
|
}
|
|
|
|
return interceptor(ctx, in, info, handler)
|
|
|
|
}
|
|
|
|
|
|
|
|
func _AuthService_ChangeMyPassword_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
|
in := new(PasswordChange)
|
|
|
|
if err := dec(in); err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
if interceptor == nil {
|
|
|
|
return srv.(AuthServiceServer).ChangeMyPassword(ctx, in)
|
|
|
|
}
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
Server: srv,
|
2020-06-09 07:22:37 +00:00
|
|
|
FullMethod: "/caos.zitadel.auth.api.v1.AuthService/ChangeMyPassword",
|
2020-03-23 15:56:02 +00:00
|
|
|
}
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
|
return srv.(AuthServiceServer).ChangeMyPassword(ctx, req.(*PasswordChange))
|
|
|
|
}
|
|
|
|
return interceptor(ctx, in, info, handler)
|
|
|
|
}
|
|
|
|
|
|
|
|
func _AuthService_AddMfaOTP_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
|
in := new(empty.Empty)
|
|
|
|
if err := dec(in); err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
if interceptor == nil {
|
|
|
|
return srv.(AuthServiceServer).AddMfaOTP(ctx, in)
|
|
|
|
}
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
Server: srv,
|
2020-06-09 07:22:37 +00:00
|
|
|
FullMethod: "/caos.zitadel.auth.api.v1.AuthService/AddMfaOTP",
|
2020-03-23 15:56:02 +00:00
|
|
|
}
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
|
return srv.(AuthServiceServer).AddMfaOTP(ctx, req.(*empty.Empty))
|
|
|
|
}
|
|
|
|
return interceptor(ctx, in, info, handler)
|
|
|
|
}
|
|
|
|
|
|
|
|
func _AuthService_VerifyMfaOTP_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
|
in := new(VerifyMfaOtp)
|
|
|
|
if err := dec(in); err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
if interceptor == nil {
|
|
|
|
return srv.(AuthServiceServer).VerifyMfaOTP(ctx, in)
|
|
|
|
}
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
Server: srv,
|
2020-06-09 07:22:37 +00:00
|
|
|
FullMethod: "/caos.zitadel.auth.api.v1.AuthService/VerifyMfaOTP",
|
2020-03-23 15:56:02 +00:00
|
|
|
}
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
|
return srv.(AuthServiceServer).VerifyMfaOTP(ctx, req.(*VerifyMfaOtp))
|
|
|
|
}
|
|
|
|
return interceptor(ctx, in, info, handler)
|
|
|
|
}
|
|
|
|
|
|
|
|
func _AuthService_RemoveMfaOTP_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
|
in := new(empty.Empty)
|
|
|
|
if err := dec(in); err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
if interceptor == nil {
|
|
|
|
return srv.(AuthServiceServer).RemoveMfaOTP(ctx, in)
|
|
|
|
}
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
Server: srv,
|
2020-06-09 07:22:37 +00:00
|
|
|
FullMethod: "/caos.zitadel.auth.api.v1.AuthService/RemoveMfaOTP",
|
2020-03-23 15:56:02 +00:00
|
|
|
}
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
|
return srv.(AuthServiceServer).RemoveMfaOTP(ctx, req.(*empty.Empty))
|
|
|
|
}
|
|
|
|
return interceptor(ctx, in, info, handler)
|
|
|
|
}
|
|
|
|
|
2020-06-05 05:50:04 +00:00
|
|
|
func _AuthService_SearchMyUserGrant_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
|
in := new(UserGrantSearchRequest)
|
2020-03-23 15:56:02 +00:00
|
|
|
if err := dec(in); err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
if interceptor == nil {
|
2020-06-05 05:50:04 +00:00
|
|
|
return srv.(AuthServiceServer).SearchMyUserGrant(ctx, in)
|
2020-03-23 15:56:02 +00:00
|
|
|
}
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
Server: srv,
|
2020-06-09 07:22:37 +00:00
|
|
|
FullMethod: "/caos.zitadel.auth.api.v1.AuthService/SearchMyUserGrant",
|
2020-03-23 15:56:02 +00:00
|
|
|
}
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
2020-06-05 05:50:04 +00:00
|
|
|
return srv.(AuthServiceServer).SearchMyUserGrant(ctx, req.(*UserGrantSearchRequest))
|
2020-03-23 15:56:02 +00:00
|
|
|
}
|
|
|
|
return interceptor(ctx, in, info, handler)
|
|
|
|
}
|
|
|
|
|
2020-06-05 05:50:04 +00:00
|
|
|
func _AuthService_SearchMyProjectOrgs_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
|
in := new(MyProjectOrgSearchRequest)
|
2020-03-23 15:56:02 +00:00
|
|
|
if err := dec(in); err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
if interceptor == nil {
|
2020-06-05 05:50:04 +00:00
|
|
|
return srv.(AuthServiceServer).SearchMyProjectOrgs(ctx, in)
|
2020-03-23 15:56:02 +00:00
|
|
|
}
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
Server: srv,
|
2020-06-09 07:22:37 +00:00
|
|
|
FullMethod: "/caos.zitadel.auth.api.v1.AuthService/SearchMyProjectOrgs",
|
2020-03-23 15:56:02 +00:00
|
|
|
}
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
2020-06-05 05:50:04 +00:00
|
|
|
return srv.(AuthServiceServer).SearchMyProjectOrgs(ctx, req.(*MyProjectOrgSearchRequest))
|
2020-03-23 15:56:02 +00:00
|
|
|
}
|
|
|
|
return interceptor(ctx, in, info, handler)
|
|
|
|
}
|
|
|
|
|
|
|
|
func _AuthService_GetMyZitadelPermissions_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
|
in := new(empty.Empty)
|
|
|
|
if err := dec(in); err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
if interceptor == nil {
|
|
|
|
return srv.(AuthServiceServer).GetMyZitadelPermissions(ctx, in)
|
|
|
|
}
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
Server: srv,
|
2020-06-09 07:22:37 +00:00
|
|
|
FullMethod: "/caos.zitadel.auth.api.v1.AuthService/GetMyZitadelPermissions",
|
2020-03-23 15:56:02 +00:00
|
|
|
}
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
|
return srv.(AuthServiceServer).GetMyZitadelPermissions(ctx, req.(*empty.Empty))
|
|
|
|
}
|
|
|
|
return interceptor(ctx, in, info, handler)
|
|
|
|
}
|
|
|
|
|
|
|
|
var _AuthService_serviceDesc = grpc.ServiceDesc{
|
2020-06-09 07:22:37 +00:00
|
|
|
ServiceName: "caos.zitadel.auth.api.v1.AuthService",
|
2020-03-23 15:56:02 +00:00
|
|
|
HandlerType: (*AuthServiceServer)(nil),
|
|
|
|
Methods: []grpc.MethodDesc{
|
|
|
|
{
|
|
|
|
MethodName: "Healthz",
|
|
|
|
Handler: _AuthService_Healthz_Handler,
|
|
|
|
},
|
|
|
|
{
|
|
|
|
MethodName: "Ready",
|
|
|
|
Handler: _AuthService_Ready_Handler,
|
|
|
|
},
|
|
|
|
{
|
|
|
|
MethodName: "Validate",
|
|
|
|
Handler: _AuthService_Validate_Handler,
|
|
|
|
},
|
|
|
|
{
|
|
|
|
MethodName: "GetMyUserSessions",
|
|
|
|
Handler: _AuthService_GetMyUserSessions_Handler,
|
|
|
|
},
|
|
|
|
{
|
|
|
|
MethodName: "GetMyUserProfile",
|
|
|
|
Handler: _AuthService_GetMyUserProfile_Handler,
|
|
|
|
},
|
|
|
|
{
|
|
|
|
MethodName: "UpdateMyUserProfile",
|
|
|
|
Handler: _AuthService_UpdateMyUserProfile_Handler,
|
|
|
|
},
|
|
|
|
{
|
|
|
|
MethodName: "GetMyUserEmail",
|
|
|
|
Handler: _AuthService_GetMyUserEmail_Handler,
|
|
|
|
},
|
|
|
|
{
|
|
|
|
MethodName: "ChangeMyUserEmail",
|
|
|
|
Handler: _AuthService_ChangeMyUserEmail_Handler,
|
|
|
|
},
|
|
|
|
{
|
|
|
|
MethodName: "VerifyMyUserEmail",
|
|
|
|
Handler: _AuthService_VerifyMyUserEmail_Handler,
|
|
|
|
},
|
|
|
|
{
|
|
|
|
MethodName: "ResendMyEmailVerificationMail",
|
|
|
|
Handler: _AuthService_ResendMyEmailVerificationMail_Handler,
|
|
|
|
},
|
|
|
|
{
|
|
|
|
MethodName: "GetMyUserPhone",
|
|
|
|
Handler: _AuthService_GetMyUserPhone_Handler,
|
|
|
|
},
|
|
|
|
{
|
|
|
|
MethodName: "ChangeMyUserPhone",
|
|
|
|
Handler: _AuthService_ChangeMyUserPhone_Handler,
|
|
|
|
},
|
|
|
|
{
|
|
|
|
MethodName: "VerifyMyUserPhone",
|
|
|
|
Handler: _AuthService_VerifyMyUserPhone_Handler,
|
|
|
|
},
|
|
|
|
{
|
|
|
|
MethodName: "ResendMyPhoneVerificationCode",
|
|
|
|
Handler: _AuthService_ResendMyPhoneVerificationCode_Handler,
|
|
|
|
},
|
|
|
|
{
|
|
|
|
MethodName: "GetMyUserAddress",
|
|
|
|
Handler: _AuthService_GetMyUserAddress_Handler,
|
|
|
|
},
|
|
|
|
{
|
|
|
|
MethodName: "UpdateMyUserAddress",
|
|
|
|
Handler: _AuthService_UpdateMyUserAddress_Handler,
|
|
|
|
},
|
|
|
|
{
|
|
|
|
MethodName: "GetMyMfas",
|
|
|
|
Handler: _AuthService_GetMyMfas_Handler,
|
|
|
|
},
|
|
|
|
{
|
|
|
|
MethodName: "ChangeMyPassword",
|
|
|
|
Handler: _AuthService_ChangeMyPassword_Handler,
|
|
|
|
},
|
|
|
|
{
|
|
|
|
MethodName: "AddMfaOTP",
|
|
|
|
Handler: _AuthService_AddMfaOTP_Handler,
|
|
|
|
},
|
|
|
|
{
|
|
|
|
MethodName: "VerifyMfaOTP",
|
|
|
|
Handler: _AuthService_VerifyMfaOTP_Handler,
|
|
|
|
},
|
|
|
|
{
|
|
|
|
MethodName: "RemoveMfaOTP",
|
|
|
|
Handler: _AuthService_RemoveMfaOTP_Handler,
|
|
|
|
},
|
|
|
|
{
|
2020-06-05 05:50:04 +00:00
|
|
|
MethodName: "SearchMyUserGrant",
|
|
|
|
Handler: _AuthService_SearchMyUserGrant_Handler,
|
2020-03-23 15:56:02 +00:00
|
|
|
},
|
|
|
|
{
|
2020-06-05 05:50:04 +00:00
|
|
|
MethodName: "SearchMyProjectOrgs",
|
|
|
|
Handler: _AuthService_SearchMyProjectOrgs_Handler,
|
2020-03-23 15:56:02 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
MethodName: "GetMyZitadelPermissions",
|
|
|
|
Handler: _AuthService_GetMyZitadelPermissions_Handler,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
Streams: []grpc.StreamDesc{},
|
|
|
|
Metadata: "auth.proto",
|
|
|
|
}
|