Documentation ¶
Index ¶
- type AllowedGroup
- type App
- type AppKey
- type Client
- type ConsentInstance
- type ConsentLabel
- type EmailSenderConfig
- type FieldDefinition
- type Hook
- type HookApiKeyDetails
- type HostedPage
- type HostedPageGroup
- type IVRSenderConfig
- type LocaleText
- type PasswordPolicy
- type PushSenderConfig
- type RegistrationField
- type SmsSenderConfig
- type SocialProvider
- type Template
- type TemplateGroup
- type TenantInfo
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AllowedGroup ¶ added in v0.6.0
type App ¶
type App struct { ID string `json:"id,omitempty"` AcceptRolesInTheRegistration bool `json:"accept_roles_in_the_registration"` ClientId string `json:"client_id,omitempty"` ClientSecret string `json:"client_secret,omitempty"` ClientName string `json:"client_name"` ClientDisplayName string `json:"client_display_name"` IsRememberMeSelected bool `json:"is_remember_me_selected"` ClientType string `json:"client_type"` AllowDisposableEmail bool `json:"allow_disposable_email"` FdsEnabled bool `json:"fds_enabled"` EnablePasswordlessAuth bool `json:"enable_passwordless_auth"` EnableDeduplication bool `json:"enable_deduplication"` MobileNumberVerificationRequired bool `json:"mobile_number_verification_required"` HostedPageGroup string `json:"hosted_page_group"` PrimaryColor string `json:"primaryColor"` AccentColor string `json:"accentColor"` AutoLoginAfterRegister bool `json:"auto_login_after_register"` CompanyName string `json:"company_name"` CompanyAddress string `json:"company_address"` CompanyWebsite string `json:"company_website"` TemplateGroupId *string `json:"template_group_id"` TokenLifetimeInSeconds int64 `json:"token_lifetime_in_seconds"` IdTokenLifetimeInSeconds int64 `json:"id_token_lifetime_in_seconds"` RefreshTokenLifetimeInSeconds int64 `json:"refresh_token_lifetime_in_seconds"` EmailVerificationRequired bool `json:"email_verification_required"` EnableBotDetection bool `json:"enable_bot_detection"` IsLoginSuccessPageEnabled bool `json:"is_login_success_page_enabled"` AllowGuestLogin bool `json:"allow_guest_login"` JweEnabled bool `json:"jwe_enabled"` AlwaysAskMfa bool `json:"always_ask_mfa"` PasswordPolicy *string `json:"password_policy_ref,omitempty"` RegisterWithLoginInformation bool `json:"register_with_login_information"` AppOwner string `json:"app_owner,omitempty"` BotProvider string `json:"bot_provider,omitempty"` AppKey *AppKey `json:"appKey,omitempty"` AllowLoginWith []string `json:"allow_login_with"` OperationsAllowedGroups []AllowedGroup `json:"operations_allowed_groups"` AllowedGroups []AllowedGroup `json:"allowed_groups"` RedirectUris []string `json:"redirect_uris"` AllowedLogoutUrls []string `json:"allowed_logout_urls"` AllowedScopes []string `json:"allowed_scopes"` SocialProviders []SocialProvider `json:"social_providers"` AdditionalAccessTokenPayload []string `json:"additional_access_token_payload"` AllowedFields []string `json:"allowed_fields"` RequiredFields []string `json:"required_fields"` ConsentRefs []string `json:"consent_refs"` ResponseTypes []string `json:"response_types"` GrantTypes []string `json:"grant_types"` AllowedWebOrigins []string `json:"allowed_web_origins"` AllowedOrigins []string `json:"allowed_origins"` AllowedMfa []string `json:"allowed_mfa"` AllowedRoles []string `json:"allowed_roles"` }
type Client ¶
type Client interface { GetHooks() ([]*Hook, error) GetHook(ID string) (*Hook, error) UpsertHook(hook Hook) (*Hook, error) DeleteHook(ID string) error GetSocialProvider(providerName string, name string) (*SocialProvider, error) GetConsentInstance(name string) (*ConsentInstance, error) UpdatePasswordPolicy(policy PasswordPolicy) (*PasswordPolicy, error) GetPasswordPolicy(id string) (*PasswordPolicy, error) GetPasswordPolicyByName(name string) (*PasswordPolicy, error) DeletePasswordPolicy(id string) error GetTenantInfo() (*TenantInfo, error) UpsertHostedPagesGroup(group HostedPageGroup) (*HostedPageGroup, error) DeleteHostedPagesGroup(id string) error GetHostedPagesGroup(id string) (*HostedPageGroup, error) CreateApp(app *App) (*App, error) GetApp(ClientId string) (*App, error) UpdateApp(app App) (*App, error) DeleteApp(ID string) error GetRegistrationField(key string) (*RegistrationField, error) UpsertRegistrationField(field *RegistrationField) error DeleteRegistrationField(key string) error CreateTemplateGroup(group string) (*TemplateGroup, error) GetTemplateGroup(groupId string) (*TemplateGroup, error) UpdateTemplateGroup(group *TemplateGroup) error DeleteTemplateGroup(groupId string) error UpdateTemplate(template Template) (*Template, error) GetTemplate(template Template) (*Template, error) }
type ConsentInstance ¶
type ConsentLabel ¶ added in v0.4.1
type EmailSenderConfig ¶ added in v0.6.0
type FieldDefinition ¶ added in v0.4.1
type Hook ¶
type Hook struct { Id string `json:"_id,omitempty"` AuthType string `json:"auth_type,omitempty"` Events []string `json:"events"` URL string `json:"url"` CreatedTime string `json:"createdTime,omitempty"` UpdatedTime string `json:"updatedTime,omitempty"` ApiKeyDetails HookApiKeyDetails `json:"apikeyDetails,omitempty"` }
type HookApiKeyDetails ¶
type HostedPage ¶ added in v0.7.0
type HostedPageGroup ¶
type IVRSenderConfig ¶ added in v0.6.0
type LocaleText ¶ added in v0.4.1
type LocaleText struct { Locale string `json:"locale"` Language string `json:"language"` ConsentLabel ConsentLabel `json:"consentLabel"` }
type PasswordPolicy ¶
type PushSenderConfig ¶ added in v0.6.0
type RegistrationField ¶ added in v0.4.1
type RegistrationField struct { Internal bool `json:"internal"` ReadOnly bool `json:"readOnly"` Claimable bool `json:"claimable"` Required bool `json:"required"` Scopes []string `json:"scopes"` Enabled bool `json:"enabled"` LocaleText LocaleText `json:"localeText"` IsGroup bool `json:"is_group"` IsList bool `json:"is_list"` ParentGroupID string `json:"parent_group_id"` FieldType string `json:"fieldType"` ConsentRefs []string `json:"consent_refs"` ID *string `json:"_id,omitempty"` FieldKey string `json:"fieldKey"` DataType string `json:"dataType"` Order int64 `json:"order"` FieldDefinition FieldDefinition `json:"fieldDefinition"` BaseDataType string `json:"baseDataType"` }
type SmsSenderConfig ¶ added in v0.6.0
type SocialProvider ¶
type Template ¶ added in v0.5.0
type Template struct { ID *string `json:"id,omitempty"` LastSeededBy *string `json:"last_seeded_by,omitempty"` GroupId string `json:"group_id"` TemplateKey string `json:"templateKey"` TemplateType string `json:"templateType"` ProcessingType string `json:"processingType"` Locale string `json:"locale"` Language string `json:"Language"` UsageType string `json:"usageType"` Subject string `json:"subject"` Content string `json:"content"` }
type TemplateGroup ¶ added in v0.5.0
type TemplateGroup struct { Id string `json:"id,omitempty"` GroupId string `json:"group_id"` EmailSenderConfig EmailSenderConfig `json:"email_sender_config"` SmsSenderConfig SmsSenderConfig `json:"sms_sender_config"` IVRSenderConfig IVRSenderConfig `json:"ivr_sender_config"` PushSenderConfig PushSenderConfig `json:"push_sender_config"` }
Click to show internal directories.
Click to hide internal directories.