Documentation ¶
Index ¶
- Variables
- type EmailProvider
- func (*EmailProvider) Descriptor() ([]byte, []int)deprecated
- func (x *EmailProvider) GetFrom() string
- func (x *EmailProvider) GetPrivateKey() string
- func (x *EmailProvider) GetPublicKey() string
- func (x *EmailProvider) GetType() EmailProviderType
- func (*EmailProvider) ProtoMessage()
- func (x *EmailProvider) ProtoReflect() protoreflect.Message
- func (x *EmailProvider) Reset()
- func (x *EmailProvider) String() string
- type EmailProviderType
- func (EmailProviderType) Descriptor() protoreflect.EnumDescriptor
- func (x EmailProviderType) Enum() *EmailProviderType
- func (EmailProviderType) EnumDescriptor() ([]byte, []int)deprecated
- func (x EmailProviderType) Number() protoreflect.EnumNumber
- func (x EmailProviderType) String() string
- func (EmailProviderType) Type() protoreflect.EnumType
- type Entry
- func (*Entry) Descriptor() ([]byte, []int)deprecated
- func (x *Entry) GetCreatedAt() *timestamppb.Timestamp
- func (x *Entry) GetImage() *common.Image
- func (x *Entry) GetName() string
- func (x *Entry) GetProjectId() *model.UUID
- func (*Entry) ProtoMessage()
- func (x *Entry) ProtoReflect() protoreflect.Message
- func (x *Entry) Reset()
- func (x *Entry) String() string
- type OauthProvider
- func (OauthProvider) Descriptor() protoreflect.EnumDescriptor
- func (x OauthProvider) Enum() *OauthProvider
- func (OauthProvider) EnumDescriptor() ([]byte, []int)deprecated
- func (x OauthProvider) Number() protoreflect.EnumNumber
- func (x OauthProvider) String() string
- func (OauthProvider) Type() protoreflect.EnumType
- type OauthProviderSettings
- func (*OauthProviderSettings) Descriptor() ([]byte, []int)deprecated
- func (x *OauthProviderSettings) GetAllowLogin() bool
- func (x *OauthProviderSettings) GetAllowRegister() bool
- func (x *OauthProviderSettings) GetClientId() string
- func (x *OauthProviderSettings) GetClientSecret() string
- func (x *OauthProviderSettings) GetIssuer() string
- func (x *OauthProviderSettings) GetProvider() OauthProvider
- func (x *OauthProviderSettings) GetProviderUrl() string
- func (*OauthProviderSettings) ProtoMessage()
- func (x *OauthProviderSettings) ProtoReflect() protoreflect.Message
- func (x *OauthProviderSettings) Reset()
- func (x *OauthProviderSettings) String() string
- type OauthSettings
- func (*OauthSettings) Descriptor() ([]byte, []int)deprecated
- func (x *OauthSettings) GetCallbackUrls() []string
- func (x *OauthSettings) GetGithub() *OauthProviderSettings
- func (x *OauthSettings) GetGoogle() *OauthProviderSettings
- func (*OauthSettings) ProtoMessage()
- func (x *OauthSettings) ProtoReflect() protoreflect.Message
- func (x *OauthSettings) Reset()
- func (x *OauthSettings) String() string
- type Project
- func (*Project) Descriptor() ([]byte, []int)deprecated
- func (x *Project) GetCreatedAt() *timestamppb.Timestamp
- func (x *Project) GetInfo() *ProjectInfo
- func (x *Project) GetSettings() *ProjectSettings
- func (x *Project) GetUpdatedAt() *timestamppb.Timestamp
- func (x *Project) GetUserSettings() *UserSettings
- func (*Project) ProtoMessage()
- func (x *Project) ProtoReflect() protoreflect.Message
- func (x *Project) Reset()
- func (x *Project) String() string
- type ProjectInfo
- func (*ProjectInfo) Descriptor() ([]byte, []int)deprecated
- func (x *ProjectInfo) GetImage() *common.Image
- func (x *ProjectInfo) GetName() string
- func (*ProjectInfo) ProtoMessage()
- func (x *ProjectInfo) ProtoReflect() protoreflect.Message
- func (x *ProjectInfo) Reset()
- func (x *ProjectInfo) String() string
- type ProjectSettings
- func (*ProjectSettings) Descriptor() ([]byte, []int)deprecated
- func (x *ProjectSettings) GetEmailProvider() *EmailProvider
- func (x *ProjectSettings) GetTemplates() *Templates
- func (x *ProjectSettings) GetTextProvider() *TextProvider
- func (*ProjectSettings) ProtoMessage()
- func (x *ProjectSettings) ProtoReflect() protoreflect.Message
- func (x *ProjectSettings) Reset()
- func (x *ProjectSettings) String() string
- type Template
- func (*Template) Descriptor() ([]byte, []int)deprecated
- func (x *Template) GetBody() string
- func (x *Template) GetFormat() []string
- func (x *Template) GetSubject() string
- func (x *Template) GetType() TemplateType
- func (*Template) ProtoMessage()
- func (x *Template) ProtoReflect() protoreflect.Message
- func (x *Template) Reset()
- func (x *Template) String() string
- type TemplateType
- func (TemplateType) Descriptor() protoreflect.EnumDescriptor
- func (x TemplateType) Enum() *TemplateType
- func (TemplateType) EnumDescriptor() ([]byte, []int)deprecated
- func (x TemplateType) Number() protoreflect.EnumNumber
- func (x TemplateType) String() string
- func (TemplateType) Type() protoreflect.EnumType
- type Templates
- func (*Templates) Descriptor() ([]byte, []int)deprecated
- func (x *Templates) GetMagicEmail() *Template
- func (x *Templates) GetMagicText() *Template
- func (x *Templates) GetResetPasswordEmail() *Template
- func (x *Templates) GetResetPasswordText() *Template
- func (x *Templates) GetVerifyEmail() *Template
- func (x *Templates) GetVerifyPhoneNumber() *Template
- func (*Templates) ProtoMessage()
- func (x *Templates) ProtoReflect() protoreflect.Message
- func (x *Templates) Reset()
- func (x *Templates) String() string
- type TextProvider
- func (*TextProvider) Descriptor() ([]byte, []int)deprecated
- func (x *TextProvider) GetFrom() string
- func (x *TextProvider) GetPrivateKey() string
- func (x *TextProvider) GetPublicKey() string
- func (x *TextProvider) GetType() TextProviderType
- func (*TextProvider) ProtoMessage()
- func (x *TextProvider) ProtoReflect() protoreflect.Message
- func (x *TextProvider) Reset()
- func (x *TextProvider) String() string
- type TextProviderType
- func (TextProviderType) Descriptor() protoreflect.EnumDescriptor
- func (x TextProviderType) Enum() *TextProviderType
- func (TextProviderType) EnumDescriptor() ([]byte, []int)deprecated
- func (x TextProviderType) Number() protoreflect.EnumNumber
- func (x TextProviderType) String() string
- func (TextProviderType) Type() protoreflect.EnumType
- type Update
- func (*Update) Descriptor() ([]byte, []int)deprecated
- func (m *Update) GetField() isUpdate_Field
- func (x *Update) GetImage() *common.Image
- func (x *Update) GetName() string
- func (x *Update) GetProjectSettings() *ProjectSettings
- func (x *Update) GetUserSettings() *UserSettings
- func (*Update) ProtoMessage()
- func (x *Update) ProtoReflect() protoreflect.Message
- func (x *Update) Reset()
- func (x *Update) String() string
- type Update_Image
- type Update_Name
- type Update_ProjectSettings
- type Update_UserSettings
- type UserSettings
- func (*UserSettings) Descriptor() ([]byte, []int)deprecated
- func (x *UserSettings) GetAccessTokenTtl() *durationpb.Duration
- func (x *UserSettings) GetAllowRegister() bool
- func (x *UserSettings) GetIsVerifiedEmailRequired() bool
- func (x *UserSettings) GetIsVerifiedPhoneRequired() bool
- func (x *UserSettings) GetLoginMechanisms() []auth.LoginType
- func (x *UserSettings) GetOauthSettings() *OauthSettings
- func (x *UserSettings) GetPasswordHashing() *common.HashingConfig
- func (x *UserSettings) GetRefreshTokenTtl() *durationpb.Duration
- func (x *UserSettings) GetVerificationCodeTtl() *durationpb.Duration
- func (*UserSettings) ProtoMessage()
- func (x *UserSettings) ProtoReflect() protoreflect.Message
- func (x *UserSettings) Reset()
- func (x *UserSettings) String() string
Constants ¶
This section is empty.
Variables ¶
var ( EmailProviderType_name = map[int32]string{ 0: "EMAIL_PROVIDER_TYPE_UNSPECIFIED", 1: "EMAIL_PROVIDER_TYPE_DEFAULT", 2: "EMAIL_PROVIDER_TYPE_SMTP", 3: "EMAIL_PROVIDER_TYPE_MAILJET", 4: "EMAIL_PROVIDER_TYPE_MOCKEMAIL", } EmailProviderType_value = map[string]int32{ "EMAIL_PROVIDER_TYPE_UNSPECIFIED": 0, "EMAIL_PROVIDER_TYPE_DEFAULT": 1, "EMAIL_PROVIDER_TYPE_SMTP": 2, "EMAIL_PROVIDER_TYPE_MAILJET": 3, "EMAIL_PROVIDER_TYPE_MOCKEMAIL": 4, } )
Enum value maps for EmailProviderType.
var ( TextProviderType_name = map[int32]string{ 0: "TEXT_PROVIDER_TYPE_UNSPECIFIED", 1: "TEXT_PROVIDER_TYPE_TWILIO", 2: "TEXT_PROVIDER_TYPE_MOCKTEXT", } TextProviderType_value = map[string]int32{ "TEXT_PROVIDER_TYPE_UNSPECIFIED": 0, "TEXT_PROVIDER_TYPE_TWILIO": 1, "TEXT_PROVIDER_TYPE_MOCKTEXT": 2, } )
Enum value maps for TextProviderType.
var ( TemplateType_name = map[int32]string{ 0: "TEMPLATE_TYPE_UNSPECIFIED", 1: "TEMPLATE_TYPE_EMAIL_VERIFICATION", 2: "TEMPLATE_TYPE_EMAIL_RESET_PASSWORD", 3: "TEMPLATE_TYPE_EMAIL_MAGIC_LINK", 4: "TEMPLATE_TYPE_TEXT_VERIFICATION", 5: "TEMPLATE_TYPE_TEXT_RESET_PASSWORD", 6: "TEMPLATE_TYPE_TEXT_MAGIC_LINK", } TemplateType_value = map[string]int32{ "TEMPLATE_TYPE_UNSPECIFIED": 0, "TEMPLATE_TYPE_EMAIL_VERIFICATION": 1, "TEMPLATE_TYPE_EMAIL_RESET_PASSWORD": 2, "TEMPLATE_TYPE_EMAIL_MAGIC_LINK": 3, "TEMPLATE_TYPE_TEXT_VERIFICATION": 4, "TEMPLATE_TYPE_TEXT_RESET_PASSWORD": 5, "TEMPLATE_TYPE_TEXT_MAGIC_LINK": 6, } )
Enum value maps for TemplateType.
var ( OauthProvider_name = map[int32]string{ 0: "OAUTH_PROVIDER_UNSPECIFIED", 1: "OAUTH_PROVIDER_GOOGLE", 2: "OAUTH_PROVIDER_GITHUB", 3: "OAUTH_PROVIDER_FACEBOOK", } OauthProvider_value = map[string]int32{ "OAUTH_PROVIDER_UNSPECIFIED": 0, "OAUTH_PROVIDER_GOOGLE": 1, "OAUTH_PROVIDER_GITHUB": 2, "OAUTH_PROVIDER_FACEBOOK": 3, } )
Enum value maps for OauthProvider.
var File_nuntio_management_model_project_project_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type EmailProvider ¶
type EmailProvider struct { Type EmailProviderType `protobuf:"varint,1,opt,name=type,proto3,enum=nuntio.management.model.project.EmailProviderType" json:"type,omitempty"` PublicKey string `protobuf:"bytes,2,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty"` PrivateKey string `protobuf:"bytes,3,opt,name=private_key,json=privateKey,proto3" json:"private_key,omitempty"` From string `protobuf:"bytes,4,opt,name=from,proto3" json:"from,omitempty"` // contains filtered or unexported fields }
func (*EmailProvider) Descriptor
deprecated
func (*EmailProvider) Descriptor() ([]byte, []int)
Deprecated: Use EmailProvider.ProtoReflect.Descriptor instead.
func (*EmailProvider) GetFrom ¶
func (x *EmailProvider) GetFrom() string
func (*EmailProvider) GetPrivateKey ¶
func (x *EmailProvider) GetPrivateKey() string
func (*EmailProvider) GetPublicKey ¶
func (x *EmailProvider) GetPublicKey() string
func (*EmailProvider) GetType ¶
func (x *EmailProvider) GetType() EmailProviderType
func (*EmailProvider) ProtoMessage ¶
func (*EmailProvider) ProtoMessage()
func (*EmailProvider) ProtoReflect ¶
func (x *EmailProvider) ProtoReflect() protoreflect.Message
func (*EmailProvider) Reset ¶
func (x *EmailProvider) Reset()
func (*EmailProvider) String ¶
func (x *EmailProvider) String() string
type EmailProviderType ¶
type EmailProviderType int32
const ( EmailProviderType_EMAIL_PROVIDER_TYPE_UNSPECIFIED EmailProviderType = 0 EmailProviderType_EMAIL_PROVIDER_TYPE_DEFAULT EmailProviderType = 1 EmailProviderType_EMAIL_PROVIDER_TYPE_SMTP EmailProviderType = 2 EmailProviderType_EMAIL_PROVIDER_TYPE_MAILJET EmailProviderType = 3 EmailProviderType_EMAIL_PROVIDER_TYPE_MOCKEMAIL EmailProviderType = 4 )
func (EmailProviderType) Descriptor ¶
func (EmailProviderType) Descriptor() protoreflect.EnumDescriptor
func (EmailProviderType) Enum ¶
func (x EmailProviderType) Enum() *EmailProviderType
func (EmailProviderType) EnumDescriptor
deprecated
func (EmailProviderType) EnumDescriptor() ([]byte, []int)
Deprecated: Use EmailProviderType.Descriptor instead.
func (EmailProviderType) Number ¶
func (x EmailProviderType) Number() protoreflect.EnumNumber
func (EmailProviderType) String ¶
func (x EmailProviderType) String() string
func (EmailProviderType) Type ¶
func (EmailProviderType) Type() protoreflect.EnumType
type Entry ¶
type Entry struct { ProjectId *model.UUID `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` Image *common.Image `protobuf:"bytes,2,opt,name=image,proto3" json:"image,omitempty"` Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` CreatedAt *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` // contains filtered or unexported fields }
func (*Entry) GetCreatedAt ¶
func (x *Entry) GetCreatedAt() *timestamppb.Timestamp
func (*Entry) ProtoReflect ¶
func (x *Entry) ProtoReflect() protoreflect.Message
type OauthProvider ¶
type OauthProvider int32
const ( OauthProvider_OAUTH_PROVIDER_UNSPECIFIED OauthProvider = 0 OauthProvider_OAUTH_PROVIDER_GOOGLE OauthProvider = 1 OauthProvider_OAUTH_PROVIDER_GITHUB OauthProvider = 2 OauthProvider_OAUTH_PROVIDER_FACEBOOK OauthProvider = 3 )
func (OauthProvider) Descriptor ¶
func (OauthProvider) Descriptor() protoreflect.EnumDescriptor
func (OauthProvider) Enum ¶
func (x OauthProvider) Enum() *OauthProvider
func (OauthProvider) EnumDescriptor
deprecated
func (OauthProvider) EnumDescriptor() ([]byte, []int)
Deprecated: Use OauthProvider.Descriptor instead.
func (OauthProvider) Number ¶
func (x OauthProvider) Number() protoreflect.EnumNumber
func (OauthProvider) String ¶
func (x OauthProvider) String() string
func (OauthProvider) Type ¶
func (OauthProvider) Type() protoreflect.EnumType
type OauthProviderSettings ¶
type OauthProviderSettings struct { Provider OauthProvider `protobuf:"varint,1,opt,name=provider,proto3,enum=nuntio.management.model.project.OauthProvider" json:"provider,omitempty"` ClientId string `protobuf:"bytes,2,opt,name=client_id,json=clientId,proto3" json:"client_id,omitempty"` ClientSecret string `protobuf:"bytes,3,opt,name=client_secret,json=clientSecret,proto3" json:"client_secret,omitempty"` ProviderUrl string `protobuf:"bytes,4,opt,name=provider_url,json=providerUrl,proto3" json:"provider_url,omitempty"` Issuer string `protobuf:"bytes,5,opt,name=issuer,proto3" json:"issuer,omitempty"` AllowLogin bool `protobuf:"varint,6,opt,name=allow_login,json=allowLogin,proto3" json:"allow_login,omitempty"` AllowRegister bool `protobuf:"varint,7,opt,name=allow_register,json=allowRegister,proto3" json:"allow_register,omitempty"` // contains filtered or unexported fields }
func (*OauthProviderSettings) Descriptor
deprecated
func (*OauthProviderSettings) Descriptor() ([]byte, []int)
Deprecated: Use OauthProviderSettings.ProtoReflect.Descriptor instead.
func (*OauthProviderSettings) GetAllowLogin ¶
func (x *OauthProviderSettings) GetAllowLogin() bool
func (*OauthProviderSettings) GetAllowRegister ¶
func (x *OauthProviderSettings) GetAllowRegister() bool
func (*OauthProviderSettings) GetClientId ¶
func (x *OauthProviderSettings) GetClientId() string
func (*OauthProviderSettings) GetClientSecret ¶
func (x *OauthProviderSettings) GetClientSecret() string
func (*OauthProviderSettings) GetIssuer ¶
func (x *OauthProviderSettings) GetIssuer() string
func (*OauthProviderSettings) GetProvider ¶
func (x *OauthProviderSettings) GetProvider() OauthProvider
func (*OauthProviderSettings) GetProviderUrl ¶
func (x *OauthProviderSettings) GetProviderUrl() string
func (*OauthProviderSettings) ProtoMessage ¶
func (*OauthProviderSettings) ProtoMessage()
func (*OauthProviderSettings) ProtoReflect ¶
func (x *OauthProviderSettings) ProtoReflect() protoreflect.Message
func (*OauthProviderSettings) Reset ¶
func (x *OauthProviderSettings) Reset()
func (*OauthProviderSettings) String ¶
func (x *OauthProviderSettings) String() string
type OauthSettings ¶
type OauthSettings struct { CallbackUrls []string `protobuf:"bytes,1,rep,name=callback_urls,json=callbackUrls,proto3" json:"callback_urls,omitempty"` Google *OauthProviderSettings `protobuf:"bytes,2,opt,name=google,proto3" json:"google,omitempty"` Github *OauthProviderSettings `protobuf:"bytes,3,opt,name=github,proto3" json:"github,omitempty"` // contains filtered or unexported fields }
func (*OauthSettings) Descriptor
deprecated
func (*OauthSettings) Descriptor() ([]byte, []int)
Deprecated: Use OauthSettings.ProtoReflect.Descriptor instead.
func (*OauthSettings) GetCallbackUrls ¶
func (x *OauthSettings) GetCallbackUrls() []string
func (*OauthSettings) GetGithub ¶
func (x *OauthSettings) GetGithub() *OauthProviderSettings
func (*OauthSettings) GetGoogle ¶
func (x *OauthSettings) GetGoogle() *OauthProviderSettings
func (*OauthSettings) ProtoMessage ¶
func (*OauthSettings) ProtoMessage()
func (*OauthSettings) ProtoReflect ¶
func (x *OauthSettings) ProtoReflect() protoreflect.Message
func (*OauthSettings) Reset ¶
func (x *OauthSettings) Reset()
func (*OauthSettings) String ¶
func (x *OauthSettings) String() string
type Project ¶
type Project struct { Info *ProjectInfo `protobuf:"bytes,1,opt,name=info,proto3" json:"info,omitempty"` Settings *ProjectSettings `protobuf:"bytes,2,opt,name=settings,proto3" json:"settings,omitempty"` CreatedAt *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` UpdatedAt *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` UserSettings *UserSettings `protobuf:"bytes,5,opt,name=user_settings,json=userSettings,proto3" json:"user_settings,omitempty"` // contains filtered or unexported fields }
func (*Project) GetCreatedAt ¶
func (x *Project) GetCreatedAt() *timestamppb.Timestamp
func (*Project) GetInfo ¶
func (x *Project) GetInfo() *ProjectInfo
func (*Project) GetSettings ¶
func (x *Project) GetSettings() *ProjectSettings
func (*Project) GetUpdatedAt ¶
func (x *Project) GetUpdatedAt() *timestamppb.Timestamp
func (*Project) GetUserSettings ¶
func (x *Project) GetUserSettings() *UserSettings
func (*Project) ProtoReflect ¶
func (x *Project) ProtoReflect() protoreflect.Message
type ProjectInfo ¶
type ProjectInfo struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Image *common.Image `protobuf:"bytes,2,opt,name=image,proto3" json:"image,omitempty"` // contains filtered or unexported fields }
func (*ProjectInfo) Descriptor
deprecated
func (*ProjectInfo) Descriptor() ([]byte, []int)
Deprecated: Use ProjectInfo.ProtoReflect.Descriptor instead.
func (*ProjectInfo) GetImage ¶
func (x *ProjectInfo) GetImage() *common.Image
func (*ProjectInfo) GetName ¶
func (x *ProjectInfo) GetName() string
func (*ProjectInfo) ProtoMessage ¶
func (*ProjectInfo) ProtoMessage()
func (*ProjectInfo) ProtoReflect ¶
func (x *ProjectInfo) ProtoReflect() protoreflect.Message
func (*ProjectInfo) Reset ¶
func (x *ProjectInfo) Reset()
func (*ProjectInfo) String ¶
func (x *ProjectInfo) String() string
type ProjectSettings ¶
type ProjectSettings struct { EmailProvider *EmailProvider `protobuf:"bytes,1,opt,name=email_provider,json=emailProvider,proto3" json:"email_provider,omitempty"` TextProvider *TextProvider `protobuf:"bytes,2,opt,name=text_provider,json=textProvider,proto3" json:"text_provider,omitempty"` Templates *Templates `protobuf:"bytes,3,opt,name=templates,proto3" json:"templates,omitempty"` // contains filtered or unexported fields }
func (*ProjectSettings) Descriptor
deprecated
func (*ProjectSettings) Descriptor() ([]byte, []int)
Deprecated: Use ProjectSettings.ProtoReflect.Descriptor instead.
func (*ProjectSettings) GetEmailProvider ¶
func (x *ProjectSettings) GetEmailProvider() *EmailProvider
func (*ProjectSettings) GetTemplates ¶
func (x *ProjectSettings) GetTemplates() *Templates
func (*ProjectSettings) GetTextProvider ¶
func (x *ProjectSettings) GetTextProvider() *TextProvider
func (*ProjectSettings) ProtoMessage ¶
func (*ProjectSettings) ProtoMessage()
func (*ProjectSettings) ProtoReflect ¶
func (x *ProjectSettings) ProtoReflect() protoreflect.Message
func (*ProjectSettings) Reset ¶
func (x *ProjectSettings) Reset()
func (*ProjectSettings) String ¶
func (x *ProjectSettings) String() string
type Template ¶
type Template struct { Body string `protobuf:"bytes,1,opt,name=body,proto3" json:"body,omitempty"` Type TemplateType `protobuf:"varint,2,opt,name=type,proto3,enum=nuntio.management.model.project.TemplateType" json:"type,omitempty"` Subject string `protobuf:"bytes,3,opt,name=subject,proto3" json:"subject,omitempty"` Format []string `protobuf:"bytes,4,rep,name=format,proto3" json:"format,omitempty"` // contains filtered or unexported fields }
func (*Template) GetType ¶
func (x *Template) GetType() TemplateType
func (*Template) ProtoReflect ¶
func (x *Template) ProtoReflect() protoreflect.Message
type TemplateType ¶
type TemplateType int32
const ( TemplateType_TEMPLATE_TYPE_UNSPECIFIED TemplateType = 0 TemplateType_TEMPLATE_TYPE_EMAIL_VERIFICATION TemplateType = 1 TemplateType_TEMPLATE_TYPE_EMAIL_RESET_PASSWORD TemplateType = 2 TemplateType_TEMPLATE_TYPE_EMAIL_MAGIC_LINK TemplateType = 3 TemplateType_TEMPLATE_TYPE_TEXT_VERIFICATION TemplateType = 4 TemplateType_TEMPLATE_TYPE_TEXT_RESET_PASSWORD TemplateType = 5 TemplateType_TEMPLATE_TYPE_TEXT_MAGIC_LINK TemplateType = 6 )
func (TemplateType) Descriptor ¶
func (TemplateType) Descriptor() protoreflect.EnumDescriptor
func (TemplateType) Enum ¶
func (x TemplateType) Enum() *TemplateType
func (TemplateType) EnumDescriptor
deprecated
func (TemplateType) EnumDescriptor() ([]byte, []int)
Deprecated: Use TemplateType.Descriptor instead.
func (TemplateType) Number ¶
func (x TemplateType) Number() protoreflect.EnumNumber
func (TemplateType) String ¶
func (x TemplateType) String() string
func (TemplateType) Type ¶
func (TemplateType) Type() protoreflect.EnumType
type Templates ¶
type Templates struct { ResetPasswordEmail *Template `protobuf:"bytes,1,opt,name=reset_password_email,json=resetPasswordEmail,proto3" json:"reset_password_email,omitempty"` ResetPasswordText *Template `protobuf:"bytes,2,opt,name=reset_password_text,json=resetPasswordText,proto3" json:"reset_password_text,omitempty"` VerifyEmail *Template `protobuf:"bytes,3,opt,name=verify_email,json=verifyEmail,proto3" json:"verify_email,omitempty"` VerifyPhoneNumber *Template `protobuf:"bytes,4,opt,name=verify_phone_number,json=verifyPhoneNumber,proto3" json:"verify_phone_number,omitempty"` MagicEmail *Template `protobuf:"bytes,5,opt,name=magic_email,json=magicEmail,proto3" json:"magic_email,omitempty"` MagicText *Template `protobuf:"bytes,6,opt,name=magic_text,json=magicText,proto3" json:"magic_text,omitempty"` // contains filtered or unexported fields }
func (*Templates) ProtoReflect ¶
func (x *Templates) ProtoReflect() protoreflect.Message
type TextProvider ¶
type TextProvider struct { Type TextProviderType `protobuf:"varint,1,opt,name=type,proto3,enum=nuntio.management.model.project.TextProviderType" json:"type,omitempty"` PublicKey string `protobuf:"bytes,2,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty"` PrivateKey string `protobuf:"bytes,3,opt,name=private_key,json=privateKey,proto3" json:"private_key,omitempty"` From string `protobuf:"bytes,4,opt,name=from,proto3" json:"from,omitempty"` // contains filtered or unexported fields }
func (*TextProvider) Descriptor
deprecated
func (*TextProvider) Descriptor() ([]byte, []int)
Deprecated: Use TextProvider.ProtoReflect.Descriptor instead.
func (*TextProvider) GetFrom ¶
func (x *TextProvider) GetFrom() string
func (*TextProvider) GetPrivateKey ¶
func (x *TextProvider) GetPrivateKey() string
func (*TextProvider) GetPublicKey ¶
func (x *TextProvider) GetPublicKey() string
func (*TextProvider) GetType ¶
func (x *TextProvider) GetType() TextProviderType
func (*TextProvider) ProtoMessage ¶
func (*TextProvider) ProtoMessage()
func (*TextProvider) ProtoReflect ¶
func (x *TextProvider) ProtoReflect() protoreflect.Message
func (*TextProvider) Reset ¶
func (x *TextProvider) Reset()
func (*TextProvider) String ¶
func (x *TextProvider) String() string
type TextProviderType ¶
type TextProviderType int32
const ( TextProviderType_TEXT_PROVIDER_TYPE_UNSPECIFIED TextProviderType = 0 TextProviderType_TEXT_PROVIDER_TYPE_TWILIO TextProviderType = 1 TextProviderType_TEXT_PROVIDER_TYPE_MOCKTEXT TextProviderType = 2 )
func (TextProviderType) Descriptor ¶
func (TextProviderType) Descriptor() protoreflect.EnumDescriptor
func (TextProviderType) Enum ¶
func (x TextProviderType) Enum() *TextProviderType
func (TextProviderType) EnumDescriptor
deprecated
func (TextProviderType) EnumDescriptor() ([]byte, []int)
Deprecated: Use TextProviderType.Descriptor instead.
func (TextProviderType) Number ¶
func (x TextProviderType) Number() protoreflect.EnumNumber
func (TextProviderType) String ¶
func (x TextProviderType) String() string
func (TextProviderType) Type ¶
func (TextProviderType) Type() protoreflect.EnumType
type Update ¶
type Update struct { // Types that are assignable to Field: // // *Update_Name // *Update_Image // *Update_ProjectSettings // *Update_UserSettings Field isUpdate_Field `protobuf_oneof:"field"` // contains filtered or unexported fields }
func (*Update) GetProjectSettings ¶
func (x *Update) GetProjectSettings() *ProjectSettings
func (*Update) GetUserSettings ¶
func (x *Update) GetUserSettings() *UserSettings
func (*Update) ProtoReflect ¶
func (x *Update) ProtoReflect() protoreflect.Message
type Update_Image ¶
type Update_Name ¶
type Update_Name struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3,oneof"`
}
type Update_ProjectSettings ¶
type Update_ProjectSettings struct {
ProjectSettings *ProjectSettings `protobuf:"bytes,3,opt,name=project_settings,json=projectSettings,proto3,oneof"`
}
type Update_UserSettings ¶
type Update_UserSettings struct {
UserSettings *UserSettings `protobuf:"bytes,4,opt,name=user_settings,json=userSettings,proto3,oneof"`
}
type UserSettings ¶
type UserSettings struct { AllowRegister bool `protobuf:"varint,1,opt,name=allow_register,json=allowRegister,proto3" json:"allow_register,omitempty"` IsVerifiedEmailRequired bool `` /* 135-byte string literal not displayed */ IsVerifiedPhoneRequired bool `` /* 135-byte string literal not displayed */ AccessTokenTtl *durationpb.Duration `protobuf:"bytes,4,opt,name=access_token_ttl,json=accessTokenTtl,proto3" json:"access_token_ttl,omitempty"` RefreshTokenTtl *durationpb.Duration `protobuf:"bytes,5,opt,name=refresh_token_ttl,json=refreshTokenTtl,proto3" json:"refresh_token_ttl,omitempty"` VerificationCodeTtl *durationpb.Duration `protobuf:"bytes,6,opt,name=verification_code_ttl,json=verificationCodeTtl,proto3" json:"verification_code_ttl,omitempty"` PasswordHashing *common.HashingConfig `protobuf:"bytes,7,opt,name=password_hashing,json=passwordHashing,proto3" json:"password_hashing,omitempty"` LoginMechanisms []auth.LoginType `` /* 151-byte string literal not displayed */ OauthSettings *OauthSettings `protobuf:"bytes,9,opt,name=oauth_settings,json=oauthSettings,proto3" json:"oauth_settings,omitempty"` // contains filtered or unexported fields }
func (*UserSettings) Descriptor
deprecated
func (*UserSettings) Descriptor() ([]byte, []int)
Deprecated: Use UserSettings.ProtoReflect.Descriptor instead.
func (*UserSettings) GetAccessTokenTtl ¶
func (x *UserSettings) GetAccessTokenTtl() *durationpb.Duration
func (*UserSettings) GetAllowRegister ¶
func (x *UserSettings) GetAllowRegister() bool
func (*UserSettings) GetIsVerifiedEmailRequired ¶
func (x *UserSettings) GetIsVerifiedEmailRequired() bool
func (*UserSettings) GetIsVerifiedPhoneRequired ¶
func (x *UserSettings) GetIsVerifiedPhoneRequired() bool
func (*UserSettings) GetLoginMechanisms ¶
func (x *UserSettings) GetLoginMechanisms() []auth.LoginType
func (*UserSettings) GetOauthSettings ¶
func (x *UserSettings) GetOauthSettings() *OauthSettings
func (*UserSettings) GetPasswordHashing ¶
func (x *UserSettings) GetPasswordHashing() *common.HashingConfig
func (*UserSettings) GetRefreshTokenTtl ¶
func (x *UserSettings) GetRefreshTokenTtl() *durationpb.Duration
func (*UserSettings) GetVerificationCodeTtl ¶
func (x *UserSettings) GetVerificationCodeTtl() *durationpb.Duration
func (*UserSettings) ProtoMessage ¶
func (*UserSettings) ProtoMessage()
func (*UserSettings) ProtoReflect ¶
func (x *UserSettings) ProtoReflect() protoreflect.Message
func (*UserSettings) Reset ¶
func (x *UserSettings) Reset()
func (*UserSettings) String ¶
func (x *UserSettings) String() string