Documentation ¶
Index ¶
- type AccessTokenRes
- type ActionsModel
- type AddNodeOrg
- type AddOrgNodeRequest
- type AddTenantMembersResponse
- type AllowRequest
- type App2WxappLoginStrategy
- type App2WxappLoginStrategyInput
- type Application
- type ApplicationAccessPolicies
- type ApplicationAccessPoliciesRequest
- type ApplicationActiveUsers
- type ApplicationAgreement
- type ApplicationTenantDetails
- type AssignAndRevokeRoleRequest
- type AssociateMfaAuthenticatorResponse
- type AuthorizeResourceOpt
- type AuthorizeResourceRequest
- type AuthorizedResource
- type AuthorizedResources
- type AuthorizedTargetsActionsInput
- type BatchDeleteRoleRequest
- type BatchOperationResult
- type BatchRoleUdv
- type ChangeEmailStrategy
- type ChangeEmailStrategyInput
- type ChangeExtIdpConnectionStateRequest
- type ChangePhoneStrategy
- type ChangePhoneStrategyInput
- type CheckLoginStatusResponse
- type CheckPasswordStrengthResult
- type CheckResourcePermissionBatchRequest
- type CheckUserExistsRequest
- type CheckUserExistsResponse
- type ClientCredentialInput
- type CommonMessage
- type CommonMessageAndCode
- type CommonPageRequest
- type CommonPageUsersResponse
- type ConfigEmailTemplateInput
- type ConfigTenantRequest
- type ConfirmAssociateMfaAuthenticatorRequest
- type CreateExtIdpConnectionRequest
- type CreateExtIdpRequest
- type CreateFunctionInput
- type CreateGroupsRequest
- type CreateOrgRequest
- type CreatePolicyResponse
- type CreateResourceRequest
- type CreateRoleRequest
- type CreateSocialConnectionInput
- type CreateSocialConnectionInstanceFieldInput
- type CreateSocialConnectionInstanceInput
- type CreateTenantRequest
- type CreateUserInput
- type CreateUserRequest
- type CustomSMSProvider
- type CustomSMSProviderInput
- type DeleteRole
- type DeleteRoleRequest
- type EditNamespaceRequest
- type EmailTemplate
- type EnumEmailScene
- type EnumEmailTemplateType
- type EnumOperator
- type EnumPolicyAssignmentTargetType
- type EnumPolicyEffect
- type EnumResourceType
- type EnumSortByEnum
- type EnumUDFDataType
- type EnumUDFTargetType
- type EnumUserStatus
- type EnumWhitelistType
- type Enum__DirectiveLocation
- type Enum__TypeKind
- type ExportAllOrganizationResponse
- type ExtIdpConnection
- type ExtIdpConnectionDetails
- type ExtIdpDetailResponse
- type FindUserRequest
- type FrequentRegisterCheckConfig
- type FrequentRegisterCheckConfigInput
- type Function
- type GetAccessTokenByClientCredentialsRequest
- type GetApplicationAccessPoliciesResponse
- type GetAuthorizedResourcesOfResourceKindRequest
- type GetAuthorizedTargetsRequest
- type GetGroupUserResponse
- type GetMfaAuthenticatorsResponse
- type GetOrganizationByIdData
- type GetOrganizationByIdResponse
- type GetOrganizationChildrenResponse
- type GetRoleListRequest
- type GetRoleListResponse
- type GetRoleUserListRequest
- type GetSecurityLevelResponse
- type GetTenantListResponse
- type GetUserDepartmentsRequest
- type GetUserDepartmentsResponse
- type GetUserGroupsResponse
- type GetUserRoleListRequest
- type GetUserRolesRequest
- type GetUserRolesResponse
- type GetUserTenantsResponse
- type GqlCommonErrors
- type Group
- type GroupModel
- type Identity
- type IsAllowedRequest
- type IsUserExistsRequest
- type JWTTokenStatus
- type JWTTokenStatusDetail
- type KeyValuePair
- type ListAuditLogsRequest
- type ListAuthorizedResourcesByIdRequest
- type ListAuthorizedResourcesByNodeCodeRequest
- type ListAuthorizedResourcesRequest
- type ListExtIdpResponse
- type ListGroupsAuthorizedResourcesRequest
- type ListMemberRequest
- type ListNamespaceResourceResponse
- type ListOrganizationResponse
- type ListPoliciesOnIdRequest
- type ListPoliciesRequest
- type ListPoliciesResponse
- type ListResourceRequest
- type ListUserActionRequest
- type ListUserAuthResourceRequest
- type ListUserAuthorizedResourcesResponse
- type ListUserOrgResponse
- type ListUserResponse
- type LoginByEmailInput
- type LoginByPhoneCodeInput
- type LoginByPhonePasswordInput
- type LoginBySubAccountRequest
- type LoginByUsernameInput
- type LoginFailCheckConfig
- type LoginFailCheckConfigInput
- type LoginPasswordFailCheckConfig
- type LoginPasswordFailCheckConfigInput
- type Mfa
- type MfaInput
- type Namespace
- type Node
- type NodeByIdDetail
- type NodeByIdResponse
- type OidcParams
- type Org
- type OrgModel
- type OrgNode
- type OrgNodeChildStr
- type OrgResponse
- type PaginatedAuthorizedResources
- type PaginatedAuthorizedTargets
- type PaginatedDepartments
- type PaginatedFunctions
- type PaginatedGroups
- type PaginatedOrgs
- type PaginatedPolicies
- type PaginatedPolicyAssignments
- type PaginatedRoles
- type PaginatedUserpool
- type PaginatedUsers
- type Policy
- type PolicyAssignment
- type PolicyAssignmentsRequest
- type PolicyRequest
- type PolicyStatement
- type PolicyStatementCondition
- type PolicyStatementConditionInput
- type PolicyStatementInput
- type PrincipalAuthenticateRequest
- type ProgrammaticAccessAccount
- type QrcodeLoginStrategy
- type QrcodeLoginStrategyInput
- type QueryListRequest
- type QueryUserInfoRequest
- type RefreshAccessTokenRes
- type RefreshToken
- type RegisterByEmailInput
- type RegisterByPhoneCodeInput
- type RegisterByUsernameInput
- type RegisterProfile
- type RegisterWhiteListConfig
- type RegisterWhiteListConfigInput
- type Resource
- type ResourcePermissionAssignment
- type ResourceResponse
- type RevokeResourceRequest
- type Role
- type RoleDetailRequest
- type RoleModel
- type Roles
- type SearchUserDepartmentOpt
- type SearchUserGroupOpt
- type SearchUserRequest
- type SearchUserRoleOpt
- type SetUdfInput
- type SetUdfValueBatchInput
- type SocialConnection
- type SocialConnectionField
- type SocialConnectionFieldInput
- type SocialConnectionInstance
- type SocialConnectionInstanceField
- type SwitchPolicyAssignmentsRequest
- type Tenant
- type TenantDetails
- type TenantMembersResponse
- type TenantSsoPageCustomizationSettings
- type UpdateExtIdpConnectionRequest
- type UpdateExtIdpRequest
- type UpdateFunctionInput
- type UpdateGroupsRequest
- type UpdateOrgNodeRequest
- type UpdatePolicyResponse
- type UpdateResourceRequest
- type UpdateRoleRequest
- type UpdateUserInput
- type UpdateUserpoolInput
- type User
- type UserCustomData
- type UserDdfInput
- type UserDefinedData
- type UserDefinedDataInput
- type UserDefinedDataMap
- type UserDefinedField
- type UserDepartment
- type UserDepartments
- type UserDepartmentsData
- type UserDetailData
- type UserDetailResponse
- type UserOrgs
- type UserPool
- type UserPoolEnv
- type UserPoolType
- type UserRoleOptRequest
- type Users
- type ValidateTokenRequest
- type WhiteList
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AccessTokenRes ¶
type ActionsModel ¶
type AddNodeOrg ¶
type AddNodeOrg struct { Id string `json:"id"` RootNode OrgNodeChildStr `json:"rootNode"` Nodes []OrgNodeChildStr `json:"nodes"` }
type AddOrgNodeRequest ¶
type AddOrgNodeRequest struct { OrgId string `json:"orgId"` ParentNodeId string `json:"parentNodeId"` Name string `json:"name"` Code *string `json:"code,omitempty"` Description *string `json:"description,omitempty"` Order *int `json:"order,omitempty"` NameI18N *string `json:"nameI18n,omitempty"` DescriptionI18N *string `json:"descriptionI18n,omitempty"` }
type AllowRequest ¶
type App2WxappLoginStrategy ¶
type Application ¶
type Application struct { QrcodeScanning struct { Redirect bool `json:"redirect"` Interval int `json:"interval"` } `json:"qrcodeScanning"` Id string `json:"id"` CreatedAt time.Time `json:"createdAt"` UpdatedAt time.Time `json:"updatedAt"` UserPoolId string `json:"userPoolId"` Protocol string `json:"protocol"` IsOfficial bool `json:"isOfficial"` IsDeleted bool `json:"isDeleted"` IsDefault bool `json:"isDefault"` IsDemo bool `json:"isDemo"` Name string `json:"name"` Description string `json:"description"` Secret string `json:"secret"` Identifier string `json:"identifier"` Jwks struct { Keys []struct { E string `json:"e"` N string `json:"n"` D string `json:"d"` P string `json:"p"` Q string `json:"q"` Dp string `json:"dp"` Dq string `json:"dq"` Qi string `json:"qi"` Kty string `json:"kty"` Kid string `json:"kid"` Alg string `json:"alg"` Use string `json:"use"` } `json:"keys"` } `json:"jwks"` SsoPageCustomizationSettings interface{} `json:"ssoPageCustomizationSettings"` Logo string `json:"logo"` RedirectUris []string `json:"redirectUris"` LogoutRedirectUris []interface{} `json:"logoutRedirectUris"` OidcProviderEnabled bool `json:"oidcProviderEnabled"` OauthProviderEnabled bool `json:"oauthProviderEnabled"` SamlProviderEnabled bool `json:"samlProviderEnabled"` CasProviderEnabled bool `json:"casProviderEnabled"` RegisterDisabled bool `json:"registerDisabled"` LoginTabs []string `json:"loginTabs"` PasswordTabConfig struct { EnabledLoginMethods []string `json:"enabledLoginMethods"` } `json:"passwordTabConfig"` DefaultLoginTab string `json:"defaultLoginTab"` RegisterTabs []string `json:"registerTabs"` DefaultRegisterTab string `json:"defaultRegisterTab"` LdapConnections interface{} `json:"ldapConnections"` AdConnections []interface{} `json:"adConnections"` DisabledSocialConnections interface{} `json:"disabledSocialConnections"` DisabledOidcConnections []interface{} `json:"disabledOidcConnections"` DisabledSamlConnections []interface{} `json:"disabledSamlConnections"` DisabledOauth2Connections []interface{} `json:"disabledOauth2Connections"` DisabledCasConnections []interface{} `json:"disabledCasConnections"` DisabledAzureAdConnections []interface{} `json:"disabledAzureAdConnections"` ExtendsFieldsEnabled bool `json:"extendsFieldsEnabled"` ExtendsFields []interface{} `json:"extendsFields"` Ext struct { DontFinishNotYet bool `json:"_dontFinishNotYet"` AppName string `json:"_appName"` AliyunDomain string `json:"AliyunDomain"` AliyunAccountId string `json:"AliyunAccountId"` SamlConfig struct { } `json:"samlConfig"` } `json:"ext"` Css interface{} `json:"css"` OidcConfig struct { GrantTypes []string `json:"grant_types"` ResponseTypes []string `json:"response_types"` IdTokenSignedResponseAlg string `json:"id_token_signed_response_alg"` TokenEndpointAuthMethod string `json:"token_endpoint_auth_method"` AuthorizationCodeExpire int `json:"authorization_code_expire"` IdTokenExpire int `json:"id_token_expire"` AccessTokenExpire int `json:"access_token_expire"` RefreshTokenExpire int `json:"refresh_token_expire"` CasExpire int `json:"cas_expire"` SkipConsent bool `json:"skip_consent"` RedirectUris []string `json:"redirect_uris"` PostLogoutRedirectUris []interface{} `json:"post_logout_redirect_uris"` ClientId string `json:"client_id"` ClientSecret string `json:"client_secret"` } `json:"oidcConfig"` OidcJWEConfig interface{} `json:"oidcJWEConfig"` SamlConfig struct { Acs string `json:"acs"` Audience string `json:"audience"` Recipient string `json:"recipient"` Destination string `json:"destination"` Mappings interface{} `json:"mappings"` DigestAlgorithm string `json:"digestAlgorithm"` SignatureAlgorithm string `json:"signatureAlgorithm"` AuthnContextClassRef string `json:"authnContextClassRef"` LifetimeInSeconds int `json:"lifetimeInSeconds"` SignResponse bool `json:"signResponse"` NameIdentifierFormat string `json:"nameIdentifierFormat"` SamlRequestSigningCert string `json:"samlRequestSigningCert"` SamlResponseSigningCert string `json:"samlResponseSigningCert"` SamlResponseSigningKey string `json:"samlResponseSigningKey"` SamlResponseSigningCertFingerprint string `json:"samlResponseSigningCertFingerprint"` EmailDomainSubstitution string `json:"emailDomainSubstitution"` } `json:"samlConfig"` OauthConfig interface{} `json:"oauthConfig"` CasConfig interface{} `json:"casConfig"` ShowAuthorizationPage bool `json:"showAuthorizationPage"` EnableSubAccount bool `json:"enableSubAccount"` EnableDeviceMutualExclusion bool `json:"enableDeviceMutualExclusion"` LoginRequireEmailVerified bool `json:"loginRequireEmailVerified"` AgreementEnabled bool `json:"agreementEnabled"` IsIntegrate bool `json:"isIntegrate"` SsoEnabled bool `json:"ssoEnabled"` Template string `json:"template"` SkipMfa bool `json:"skipMfa"` CasExpireBaseBrowser bool `json:"casExpireBaseBrowser"` PermissionStrategy struct { Enabled bool `json:"enabled"` DefaultStrategy string `json:"defaultStrategy"` AllowPolicyId interface{} `json:"allowPolicyId"` DenyPolicyId interface{} `json:"denyPolicyId"` } `json:"permissionStrategy"` }
type ApplicationAccessPolicies ¶
type ApplicationAccessPolicies struct { AssignedAt time.Time `json:"assignedAt"` InheritByChildren interface{} `json:"inheritByChildren"` Enabled bool `json:"enabled"` PolicyId string `json:"policyId"` Code string `json:"code"` Policy struct { Id string `json:"id"` CreatedAt time.Time `json:"createdAt"` UpdatedAt time.Time `json:"updatedAt"` UserPoolId string `json:"userPoolId"` IsDefault bool `json:"isDefault"` IsAuto bool `json:"isAuto"` Hidden bool `json:"hidden"` Code string `json:"code"` Description string `json:"description"` Statements []struct { Resource string `json:"resource"` Actions []string `json:"actions"` Effect string `json:"effect"` Condition []interface{} `json:"condition"` ResourceType EnumResourceType `json:"resourceType"` } `json:"statements"` NamespaceId int `json:"namespaceId"` } `json:"policy"` TargetNamespace string `json:"targetNamespace"` TargetType string `json:"targetType"` TargetIdentifier string `json:"targetIdentifier"` Target struct { Id string `json:"id"` CreatedAt time.Time `json:"createdAt"` UpdatedAt time.Time `json:"updatedAt"` UserPoolId string `json:"userPoolId"` Code string `json:"code"` Description string `json:"description"` ParentCode string `json:"parentCode"` IsSystem bool `json:"isSystem"` NamespaceId int `json:"namespaceId"` } `json:"target"` Namespace string `json:"namespace"` }
type ApplicationAccessPoliciesRequest ¶
type ApplicationAccessPoliciesRequest struct { TargetIdentifiers []string `json:"targetIdentifiers,omitempty"` TargetType constant.ResourceTargetTypeEnum `json:"targetType,omitempty"` Namespace string `json:"namespace,omitempty"` InheritByChildren bool `json:"inheritByChildren,omitempty"` }
type ApplicationActiveUsers ¶
type ApplicationActiveUsers struct { ThirdPartyIdentity struct { Provider string `json:"provider"` RefreshToken string `json:"refreshToken"` AccessToken string `json:"accessToken"` Scope string `json:"scope"` ExpiresIn string `json:"expiresIn"` UpdatedAt string `json:"updatedAt"` } `json:"thirdPartyIdentity"` Id string `json:"id"` CreatedAt time.Time `json:"createdAt"` UpdatedAt time.Time `json:"updatedAt"` UserPoolId string `json:"userPoolId"` IsRoot bool `json:"isRoot"` Status string `json:"status"` Oauth string `json:"oauth"` Email string `json:"email"` Phone string `json:"phone"` Username string `json:"username"` Unionid string `json:"unionid"` Openid string `json:"openid"` Nickname string `json:"nickname"` Company string `json:"company"` Photo string `json:"photo"` Browser string `json:"browser"` Device string `json:"device"` Password string `json:"password"` Salt string `json:"salt"` LoginsCount int `json:"loginsCount"` LastIp string `json:"lastIp"` Name string `json:"name"` GivenName string `json:"givenName"` FamilyName string `json:"familyName"` MiddleName string `json:"middleName"` Profile string `json:"profile"` PreferredUsername string `json:"preferredUsername"` Website string `json:"website"` Gender string `json:"gender"` Birthdate string `json:"birthdate"` Zoneinfo string `json:"zoneinfo"` Locale string `json:"locale"` Address string `json:"address"` Formatted string `json:"formatted"` StreetAddress string `json:"streetAddress"` Locality string `json:"locality"` Region string `json:"region"` PostalCode string `json:"postalCode"` City string `json:"city"` Province string `json:"province"` Country string `json:"country"` RegisterSource []string `json:"registerSource"` SecretInfo interface{} `json:"secretInfo"` EmailVerified bool `json:"emailVerified"` PhoneVerified bool `json:"phoneVerified"` LastLogin time.Time `json:"lastLogin"` Blocked bool `json:"blocked"` IsDeleted bool `json:"isDeleted"` SendSmsCount int `json:"sendSmsCount"` SendSmsLimitCount int `json:"sendSmsLimitCount"` DataVersion string `json:"dataVersion"` EncryptedPassword string `json:"encryptedPassword"` SignedUp time.Time `json:"signedUp"` ExternalId string `json:"externalId"` MainDepartmentId string `json:"mainDepartmentId"` MainDepartmentCode string `json:"mainDepartmentCode"` LastMfaTime string `json:"lastMfaTime"` PasswordSecurityLevel int `json:"passwordSecurityLevel"` ResetPasswordOnFirstLogin bool `json:"resetPasswordOnFirstLogin"` SyncExtInfo interface{} `json:"syncExtInfo"` PhoneCountryCode string `json:"phoneCountryCode"` Source interface{} `json:"source"` LastIP string `json:"lastIP"` Token string `json:"token"` TokenExpiredAt time.Time `json:"tokenExpiredAt"` }
type ApplicationAgreement ¶
type ApplicationTenantDetails ¶
type ApplicationTenantDetails struct { ID string `json:"id"` Name string `json:"name"` Logo string `json:"logo"` Domain string `json:"domain"` Description string `json:"description"` CreatedAt time.Time `json:"createdAt"` UpdatedAt time.Time `json:"updatedAt"` Protocol string `json:"protocol"` IsIntegrate bool `json:"isIntegrate"` Tenants []Tenant `json:"tenants"` }
type AuthorizeResourceOpt ¶
type AuthorizeResourceOpt struct { TargetType EnumPolicyAssignmentTargetType `json:"targetType"` TargetIdentifier string `json:"targetIdentifier"` Actions []string `json:"actions"` }
type AuthorizeResourceRequest ¶
type AuthorizeResourceRequest struct { Namespace string `json:"namespace"` Resource string `json:"resource"` ResourceType EnumResourceType `json:"resourceType"` Opts []AuthorizeResourceOpt `json:"opts"` }
type AuthorizedResource ¶
type AuthorizedResource struct { Code string `json:"code"` Type *EnumResourceType `json:"type"` Actions []string `json:"actions"` }
type AuthorizedResources ¶
type AuthorizedTargetsActionsInput ¶
type AuthorizedTargetsActionsInput struct { Op EnumOperator `json:"op"` List []*string `json:"list"` }
type BatchDeleteRoleRequest ¶
type BatchOperationResult ¶
type BatchRoleUdv ¶
type BatchRoleUdv struct { TargetId string `json:"targetId"` Data []UserDefinedData `json:"data"` }
type ChangeEmailStrategy ¶
type ChangeEmailStrategy struct {
VerifyOldEmail *bool `json:"verifyOldEmail,omitempty"`
}
type ChangeEmailStrategyInput ¶
type ChangeEmailStrategyInput struct {
VerifyOldEmail *bool `json:"verifyOldEmail,omitempty"`
}
type ChangePhoneStrategy ¶
type ChangePhoneStrategy struct {
VerifyOldPhone *bool `json:"verifyOldPhone,omitempty"`
}
type ChangePhoneStrategyInput ¶
type ChangePhoneStrategyInput struct {
VerifyOldPhone *bool `json:"verifyOldPhone,omitempty"`
}
type CheckUserExistsRequest ¶
type CheckUserExistsResponse ¶
type ClientCredentialInput ¶
type CommonMessage ¶
type CommonMessageAndCode ¶
type CommonPageRequest ¶
type CommonPageUsersResponse ¶
type ConfigEmailTemplateInput ¶
type ConfigEmailTemplateInput struct { Type EnumEmailTemplateType `json:"type"` Name string `json:"name"` Subject string `json:"subject"` Sender string `json:"sender"` Content string `json:"content"` RedirectTo *string `json:"redirectTo"` HasURL *bool `json:"hasURL"` ExpiresIn *int64 `json:"expiresIn"` }
type ConfigTenantRequest ¶
type ConfigTenantRequest struct { CSS string `json:"css,omitempty"` SsoPageCustomizationSettings *TenantSsoPageCustomizationSettings `json:"ssoPageCustomizationSettings,omitempty"` }
type CreateExtIdpConnectionRequest ¶
type CreateExtIdpConnectionRequest struct { ExtIdpId string `json:"extIdpId"` Type string `json:"type"` Identifier string `json:"identifier"` DisplayName string `json:"displayName"` Fields interface{} `json:"fields"` Logo string `json:"logo,omitempty"` UserMatchFields []string `json:"userMatchFields,omitempty"` }
type CreateExtIdpRequest ¶
type CreateExtIdpRequest struct { Name string `json:"name"` Type string `json:"type"` TenantUd string `json:"tenantUd"` Connections []ExtIdpConnection `json:"connections"` }
type CreateFunctionInput ¶
type CreateGroupsRequest ¶
type CreateOrgRequest ¶
type CreatePolicyResponse ¶
type CreatePolicyResponse struct { Namespace string `json:"namespace"` Code string `json:"code"` IsDefault bool `json:"isDefault"` Description string `json:"description"` Statements []PolicyStatement `json:"statements"` CreatedAt time.Time `json:"createdAt"` UpdatedAt time.Time `json:"updatedAt"` AssignmentsCount int `json:"assignmentsCount"` }
type CreateResourceRequest ¶
type CreateResourceRequest struct { Code string `json:"code"` Actions []ActionsModel `json:"actions,omitempty"` Type string `json:"type,omitempty"` Description *string `json:"description,omitempty"` ApiIdentifier *string `json:"apiIdentifier,omitempty"` Namespace string `json:"namespace,omitempty"` }
type CreateRoleRequest ¶
type CreateSocialConnectionInput ¶
type CreateSocialConnectionInput struct { Provider string `json:"provider"` Name string `json:"name"` Logo string `json:"logo"` Description *string `json:"description"` Fields []SocialConnectionFieldInput `json:"fields"` }
type CreateSocialConnectionInstanceInput ¶
type CreateSocialConnectionInstanceInput struct { Provider string `json:"provider"` Fields []*CreateSocialConnectionInstanceFieldInput `json:"fields"` }
type CreateTenantRequest ¶
type CreateUserInput ¶
type CreateUserInput struct { Username *string `json:"username,omitempty"` Email *string `json:"email,omitempty"` EmailVerified *bool `json:"emailVerified,omitempty"` Phone *string `json:"phone,omitempty"` PhoneVerified *bool `json:"phoneVerified,omitempty"` Unionid *string `json:"unionid,omitempty"` Openid *string `json:"openid,omitempty"` Nickname *string `json:"nickname,omitempty"` Photo *string `json:"photo,omitempty"` Password *string `json:"password,omitempty"` RegisterSource []string `json:"registerSource,omitempty"` Browser *string `json:"browser,omitempty"` Oauth *string `json:"oauth,omitempty"` LoginsCount *int64 `json:"loginsCount,omitempty"` LastLogin *string `json:"lastLogin,omitempty"` Company *string `json:"company,omitempty"` LastIP *string `json:"lastIP,omitempty"` SignedUp *string `json:"signedUp,omitempty"` Blocked *bool `json:"blocked,omitempty"` IsDeleted *bool `json:"isDeleted,omitempty"` Device *string `json:"device,omitempty"` Name *string `json:"name,omitempty"` GivenName *string `json:"givenName,omitempty"` FamilyName *string `json:"familyName,omitempty"` MiddleName *string `json:"middleName,omitempty"` Profile *string `json:"profile,omitempty"` PreferredUsername *string `json:"preferredUsername,omitempty"` Website *string `json:"website,omitempty"` Gender *string `json:"gender,omitempty"` Birthdate *string `json:"birthdate,omitempty"` Zoneinfo *string `json:"zoneinfo,omitempty"` Locale *string `json:"locale,omitempty"` Address *string `json:"address,omitempty"` Formatted *string `json:"formatted,omitempty"` StreetAddress *string `json:"streetAddress,omitempty"` Locality *string `json:"locality,omitempty"` Region *string `json:"region,omitempty"` PostalCode *string `json:"postalCode,omitempty"` Country *string `json:"country,omitempty"` ExternalId *string `json:"externalId,omitempty"` }
type CreateUserRequest ¶
type CreateUserRequest struct { UserInfo CreateUserInput `json:"userInfo,omitempty"` KeepPassword bool `json:"keepPassword,omitempty"` CustomData []KeyValuePair `json:"params,omitempty"` }
type CustomSMSProvider ¶
type CustomSMSProviderInput ¶
type DeleteRole ¶
type DeleteRole struct {
DeleteRole Role `json:"createRole"`
}
type DeleteRoleRequest ¶
type EditNamespaceRequest ¶
type EmailTemplate ¶
type EmailTemplate struct { Type EnumEmailTemplateType `json:"type"` Name string `json:"name"` Subject string `json:"subject"` Sender string `json:"sender"` Content string `json:"content"` RedirectTo *string `json:"redirectTo"` HasURL *bool `json:"hasURL"` ExpiresIn *int64 `json:"expiresIn"` Enabled *bool `json:"enabled"` IsSystem *bool `json:"isSystem"` }
type EnumEmailScene ¶
type EnumEmailScene string
const EnumEmailSceneChangeEmail EnumEmailScene = "CHANGE_EMAIL"
const EnumEmailSceneMfaVerify EnumEmailScene = "MFA_VERIFY"
const EnumEmailSceneResetPassword EnumEmailScene = "RESET_PASSWORD"
const EnumEmailSceneVerifyEmail EnumEmailScene = "VERIFY_EMAIL"
type EnumEmailTemplateType ¶
type EnumEmailTemplateType string
const EnumEmailTemplateTypeChangeEmail EnumEmailTemplateType = "CHANGE_EMAIL"
const EnumEmailTemplateTypeChangePassword EnumEmailTemplateType = "CHANGE_PASSWORD"
const EnumEmailTemplateTypePasswordResetedNotification EnumEmailTemplateType = "PASSWORD_RESETED_NOTIFICATION"
const EnumEmailTemplateTypeResetPassword EnumEmailTemplateType = "RESET_PASSWORD"
const EnumEmailTemplateTypeVerifyEmail EnumEmailTemplateType = "VERIFY_EMAIL"
const EnumEmailTemplateTypeWelcome EnumEmailTemplateType = "WELCOME"
type EnumOperator ¶
type EnumOperator string
const EnumOperatorAnd EnumOperator = "AND"
const EnumOperatorOr EnumOperator = "OR"
type EnumPolicyAssignmentTargetType ¶
type EnumPolicyAssignmentTargetType string
const EnumPolicyAssignmentTargetTypeAkSk EnumPolicyAssignmentTargetType = "AK_SK"
const EnumPolicyAssignmentTargetTypeGroup EnumPolicyAssignmentTargetType = "GROUP"
const EnumPolicyAssignmentTargetTypeOrg EnumPolicyAssignmentTargetType = "ORG"
const EnumPolicyAssignmentTargetTypeRole EnumPolicyAssignmentTargetType = "ROLE"
const EnumPolicyAssignmentTargetTypeUser EnumPolicyAssignmentTargetType = "USER"
type EnumPolicyEffect ¶
type EnumPolicyEffect string
const EnumPolicyEffectAllow EnumPolicyEffect = "ALLOW"
const EnumPolicyEffectDeny EnumPolicyEffect = "DENY"
type EnumResourceType ¶
type EnumResourceType string
const EnumResourceTypeAPI EnumResourceType = "API"
const EnumResourceTypeBUTTON EnumResourceType = "BUTTON"
const EnumResourceTypeDATA EnumResourceType = "DATA"
const EnumResourceTypeMENU EnumResourceType = "MENU"
const EnumResourceTypeUI EnumResourceType = "UI"
type EnumSortByEnum ¶
type EnumSortByEnum string
const EnumSortByEnumCREATEDAT_ASC EnumSortByEnum = "CREATEDAT_ASC"
const EnumSortByEnumCREATEDAT_DESC EnumSortByEnum = "CREATEDAT_DESC"
const EnumSortByEnumUPDATEDAT_ASC EnumSortByEnum = "UPDATEDAT_ASC"
const EnumSortByEnumUPDATEDAT_DESC EnumSortByEnum = "UPDATEDAT_DESC"
type EnumUDFDataType ¶
type EnumUDFDataType string
const EnumUDFDataTypeBOOLEAN EnumUDFDataType = "BOOLEAN"
const EnumUDFDataTypeDATETIME EnumUDFDataType = "DATETIME"
const EnumUDFDataTypeNUMBER EnumUDFDataType = "NUMBER"
const EnumUDFDataTypeOBJECT EnumUDFDataType = "OBJECT"
const EnumUDFDataTypeSTRING EnumUDFDataType = "STRING"
type EnumUDFTargetType ¶
type EnumUDFTargetType string
const EnumUDFTargetTypeAPPLICATION EnumUDFTargetType = "APPLICATION"
const EnumUDFTargetTypeNODE EnumUDFTargetType = "NODE"
const EnumUDFTargetTypeORG EnumUDFTargetType = "ORG"
const EnumUDFTargetTypePERMISSION EnumUDFTargetType = "PERMISSION"
const EnumUDFTargetTypeROLE EnumUDFTargetType = "ROLE"
const EnumUDFTargetTypeUSER EnumUDFTargetType = "USER"
const EnumUDFTargetTypeUSERPOOL EnumUDFTargetType = "USERPOOL"
type EnumUserStatus ¶
type EnumUserStatus string
const EnumUserStatusActivated EnumUserStatus = "Activated"
const EnumUserStatusArchived EnumUserStatus = "Archived"
const EnumUserStatusResigned EnumUserStatus = "Resigned"
const EnumUserStatusSuspended EnumUserStatus = "Suspended"
type EnumWhitelistType ¶
type EnumWhitelistType string
const EnumWhitelistTypeEmail EnumWhitelistType = "EMAIL"
const EnumWhitelistTypePhone EnumWhitelistType = "PHONE"
const EnumWhitelistTypeUsername EnumWhitelistType = "USERNAME"
type Enum__DirectiveLocation ¶
type Enum__DirectiveLocation string
const DirectiveLocationArgumentDefinition Enum__DirectiveLocation = "ARGUMENT_DEFINITION"
const DirectiveLocationEnum Enum__DirectiveLocation = "ENUM"
const DirectiveLocationEnumValue Enum__DirectiveLocation = "ENUM_VALUE"
const DirectiveLocationField Enum__DirectiveLocation = "FIELD"
const DirectiveLocationFieldDefinition Enum__DirectiveLocation = "FIELD_DEFINITION"
const DirectiveLocationFragmentDefinition Enum__DirectiveLocation = "FRAGMENT_DEFINITION"
const DirectiveLocationFragmentSpread Enum__DirectiveLocation = "FRAGMENT_SPREAD"
const DirectiveLocationInlineFragment Enum__DirectiveLocation = "INLINE_FRAGMENT"
const DirectiveLocationInputFieldDefinition Enum__DirectiveLocation = "INPUT_FIELD_DEFINITION"
const DirectiveLocationInputObject Enum__DirectiveLocation = "INPUT_OBJECT"
const DirectiveLocationInterface Enum__DirectiveLocation = "INTERFACE"
const DirectiveLocationMutation Enum__DirectiveLocation = "MUTATION"
const DirectiveLocationObject Enum__DirectiveLocation = "OBJECT"
const DirectiveLocationQuery Enum__DirectiveLocation = "QUERY"
const DirectiveLocationScalar Enum__DirectiveLocation = "SCALAR"
const DirectiveLocationSchema Enum__DirectiveLocation = "SCHEMA"
const DirectiveLocationSubscription Enum__DirectiveLocation = "SUBSCRIPTION"
const DirectiveLocationUnion Enum__DirectiveLocation = "UNION"
const DirectiveLocationVariableDefinition Enum__DirectiveLocation = "VARIABLE_DEFINITION"
type Enum__TypeKind ¶
type Enum__TypeKind string
const TypeKindEnum Enum__TypeKind = "ENUM"
const TypeKindInputObject Enum__TypeKind = "INPUT_OBJECT"
const TypeKindInterface Enum__TypeKind = "INTERFACE"
const TypeKindList Enum__TypeKind = "LIST"
const TypeKindNonNull Enum__TypeKind = "NON_NULL"
const TypeKindObject Enum__TypeKind = "OBJECT"
const TypeKindScalar Enum__TypeKind = "SCALAR"
const TypeKindUnion Enum__TypeKind = "UNION"
type ExtIdpConnection ¶
type ExtIdpConnectionDetails ¶
type ExtIdpConnectionDetails struct { ID string `json:"id"` ExtIdpConnection }
type ExtIdpDetailResponse ¶
type ExtIdpDetailResponse struct { ID string `json:"id"` Name string `json:"name"` Type string `json:"type"` Connections []ExtIdpConnectionDetails `json:"connections"` }
type FindUserRequest ¶
type GetAccessTokenByClientCredentialsRequest ¶
type GetAccessTokenByClientCredentialsRequest struct { Scope string `json:"scope"` ClientCredentialInput *ClientCredentialInput `json:"client_credential_input"` }
type GetApplicationAccessPoliciesResponse ¶
type GetApplicationAccessPoliciesResponse struct { List []ApplicationAccessPolicies `json:"list"` TotalCount int `json:"totalCount"` }
type GetAuthorizedTargetsRequest ¶
type GetAuthorizedTargetsRequest struct { TargetType constant.ResourceTargetTypeEnum `json:"targetType"` Namespace string `json:"namespace"` Resource string `json:"resource"` ResourceType EnumResourceType `json:"resourceType"` Actions *struct { Op constant.GetAuthorizedTargetsOpt `json:"op,omitempty"` List []string `json:"list,omitempty"` } `json:"actions,omitempty"` }
type GetGroupUserResponse ¶
type GetMfaAuthenticatorsResponse ¶
type GetMfaAuthenticatorsResponse struct { Id string `json:"id"` CreatedAt time.Time `json:"createdAt"` UpdatedAt time.Time `json:"updatedAt"` UserId string `json:"userId"` Enable bool `json:"enable"` Secret string `json:"secret"` AuthenticatorType string `json:"authenticatorType"` RecoveryCode string `json:"recoveryCode"` Source string `json:"source"` }
type GetOrganizationByIdData ¶
type GetOrganizationByIdData struct {
Org Org `json:"org"`
}
type GetOrganizationByIdResponse ¶
type GetOrganizationByIdResponse struct {
Data GetOrganizationByIdData `json:"data"`
}
type GetRoleListRequest ¶
type GetRoleListRequest struct { Page int `json:"page"` Limit int `json:"limit"` SortBy enum.SortByEnum `json:"sortBy"` Namespace string `json:"namespace"` }
type GetRoleListResponse ¶
type GetRoleListResponse struct {
Data Roles `json:"data"`
}
type GetRoleUserListRequest ¶
type GetTenantListResponse ¶
type GetUserDepartmentsResponse ¶
type GetUserDepartmentsResponse struct {
Data UserDepartmentsData `json:"data"`
}
type GetUserGroupsResponse ¶
type GetUserGroupsResponse struct { Groups struct { TotalCount int `json:"totalCount"` List []GroupModel `json:"list"` } `json:"groups"` }
type GetUserRoleListRequest ¶
type GetUserRolesRequest ¶
type GetUserRolesResponse ¶
type GetUserTenantsResponse ¶
type GqlCommonErrors ¶
type GqlCommonErrors struct { Message CommonMessageAndCode `json:"message"` Locations []struct { Line int `json:"line"` Column int `json:"column"` } `json:"locations"` Extensions struct { Code string `json:"code"` Extension struct { Name string `json:"name"` } `json:"extension"` } }
type Group ¶
type Group struct { Code string `json:"code"` Name string `json:"name"` Description *string `json:"description"` CreatedAt *string `json:"createdAt"` UpdatedAt *string `json:"updatedAt"` Users PaginatedUsers `json:"users"` AuthorizedResources *PaginatedAuthorizedResources `json:"authorizedResources"` }
type GroupModel ¶
type Identity ¶
type Identity struct { Id *string `json:"id"` Openid *string `json:"openid"` UserIdInIdp *string `json:"userIdInIdp"` UserId *string `json:"userId"` ExtIdpId *string `json:"extIdpId"` IsSocial *bool `json:"isSocial"` Provider *string `json:"provider"` UserPoolId *string `json:"userPoolId"` RefreshToken *string `json:"refreshToken"` AccessToken *string `json:"accessToken"` Type *string `json:"type"` UserInfoInIdp *interface{} `json:"userInfoInIdp"` }
type IsAllowedRequest ¶
type IsUserExistsRequest ¶
type JWTTokenStatus ¶
type JWTTokenStatusDetail ¶
type KeyValuePair ¶
type KeyValuePair struct { Key string `json:"key"` Value interface{} `json:"value"` }
type ListAuditLogsRequest ¶
type ListAuditLogsRequest struct { ClientIp *string `json:"clientip,omitempty"` OperationNames *[]string `json:"operation_name,omitempty"` UserIds *[]string `json:"operator_arn,omitempty"` AppIds *[]string `json:"app_id,omitempty"` Page *int `json:"page,omitempty"` Limit *int `json:"limit,omitempty"` }
type ListAuthorizedResourcesRequest ¶
type ListAuthorizedResourcesRequest struct { TargetIdentifier string `json:"targetIdentifier"` Namespace string `json:"namespace"` TargetType constant.ResourceTargetTypeEnum `json:"targetType"` ResourceType *EnumResourceType `json:"resourceType"` }
type ListExtIdpResponse ¶
type ListExtIdpResponse struct { ID string `json:"id"` Name string `json:"name"` Type string `json:"type"` TenantID string `json:"tenantId"` Connections []struct { ID string `json:"id"` Type string `json:"type"` Identifier string `json:"identifier"` DisplayName string `json:"displayName"` Logo string `json:"logo"` Enabled bool `json:"enabled"` } `json:"connections"` }
type ListGroupsAuthorizedResourcesRequest ¶
type ListGroupsAuthorizedResourcesRequest struct { Code string `json:"code"` Namespace *string `json:"namespace,omitempty"` ResourceType *EnumResourceType `json:"resourceType,omitempty"` }
type ListMemberRequest ¶
type ListOrganizationResponse ¶
type ListOrganizationResponse struct { Message string `json:"message"` Code int64 `json:"code"` Data PaginatedOrgs `json:"data"` }
type ListPoliciesOnIdRequest ¶
type ListPoliciesRequest ¶
type ListPoliciesResponse ¶
type ListResourceRequest ¶
type ListResourceRequest struct { Namespace string `json:"namespace"` ResourceType EnumResourceType `json:"resourceType,omitempty"` Page int `json:"page"` Limit int `json:"limit"` }
type ListUserActionRequest ¶
type ListUserAuthResourceRequest ¶
type ListUserAuthResourceRequest struct { Id string `json:"id"` Namespace string `json:"namespace"` ResourceType EnumResourceType `json:"resourceType"` }
type ListUserAuthorizedResourcesResponse ¶
type ListUserAuthorizedResourcesResponse struct {
User User `json:"user"`
}
type ListUserOrgResponse ¶
type ListUserResponse ¶
type ListUserResponse struct {
Data Users `json:"data"`
}
type LoginByEmailInput ¶
type LoginByPhoneCodeInput ¶
type LoginByUsernameInput ¶
type LoginFailCheckConfig ¶
type Namespace ¶
type Namespace struct { UserPoolId string `json:"userPoolId"` Name string `json:"name"` Code string `json:"code"` Description string `json:"description"` Status int `json:"status"` ApplicationId string `json:"applicationId"` IsIntegrateApp bool `json:"isIntegrateApp"` IsDefaultApp bool `json:"isDefaultApp"` Id int `json:"id"` }
type Node ¶
type Node struct { Id string `json:"id"` OrgId *string `json:"orgId"` Name string `json:"name"` NameI18n *string `json:"nameI18n"` Description *string `json:"description"` DescriptionI18n *string `json:"descriptionI18n"` Order *int64 `json:"order"` Code *string `json:"code"` Root *bool `json:"root"` Depth *int64 `json:"depth"` Path []string `json:"path"` CodePath []*string `json:"codePath"` NamePath []string `json:"namePath"` CreatedAt *string `json:"createdAt"` UpdatedAt *string `json:"updatedAt"` Children []string `json:"children"` Users PaginatedUsers `json:"users"` AuthorizedResources *PaginatedAuthorizedResources `json:"authorizedResources"` }
type NodeByIdDetail ¶
type NodeByIdDetail struct {
NodeById Node `json:"nodeById"`
}
type NodeByIdResponse ¶
type NodeByIdResponse struct {
Data NodeByIdDetail `json:"data"`
}
type OidcParams ¶
type OrgModel ¶
type OrgModel struct { RootNodeId string `json:"rootNodeId"` Logo string `json:"logo"` Type string `json:"type"` Id string `json:"id"` CreatedAt time.Time `json:"createdAt"` UpdatedAt time.Time `json:"updatedAt"` UserPoolId string `json:"userPoolId"` OrgId string `json:"orgId"` Name string `json:"name"` NameI18N string `json:"nameI18n"` Description string `json:"description"` DescriptionI18N string `json:"descriptionI18n"` Order string `json:"order"` Code string `json:"code"` LeaderUserId string `json:"leaderUserId"` Source []string `json:"source"` DataVersion string `json:"dataVersion"` SourceData string `json:"sourceData"` }
type OrgNode ¶
type OrgNode struct { Id string `json:"id"` OrgId *string `json:"orgId"` CreatedAt *string `json:"createdAt"` UpdatedAt *string `json:"updatedAt"` UserPoolId *string `json:"userPoolId"` Name string `json:"name"` Description *string `json:"description"` DescriptionI18n *string `json:"descriptionI18n"` Order *int64 `json:"order"` Code *string `json:"code"` Members *[]User `json:"members,omitempty"` Children *[]OrgNode `json:"children,omitempty"` }
type OrgNodeChildStr ¶
type OrgNodeChildStr struct { Id string `json:"id"` OrgId *string `json:"orgId"` Name string `json:"name"` NameI18n *string `json:"nameI18n"` Description *string `json:"description"` DescriptionI18n *string `json:"descriptionI18n"` Order *int64 `json:"order"` Code *string `json:"code"` Root *bool `json:"root"` Depth *int64 `json:"depth"` Path []string `json:"path"` CodePath []*string `json:"codePath"` NamePath []string `json:"namePath"` CreatedAt *string `json:"createdAt"` UpdatedAt *string `json:"updatedAt"` Children []string `json:"children"` }
type OrgResponse ¶
type PaginatedAuthorizedResources ¶
type PaginatedAuthorizedResources struct { TotalCount int64 `json:"totalCount"` List []AuthorizedResource `json:"list"` }
type PaginatedAuthorizedTargets ¶
type PaginatedAuthorizedTargets struct { List []*ResourcePermissionAssignment `json:"list"` TotalCount *int64 `json:"totalCount"` }
type PaginatedDepartments ¶
type PaginatedDepartments struct { List []UserDepartment `json:"list"` TotalCount int64 `json:"totalCount"` }
type PaginatedFunctions ¶
type PaginatedGroups ¶
type PaginatedOrgs ¶
type PaginatedPolicies ¶
type PaginatedPolicyAssignments ¶
type PaginatedPolicyAssignments struct { TotalCount int64 `json:"totalCount"` List []PolicyAssignment `json:"list"` }
type PaginatedRoles ¶
type PaginatedUserpool ¶
type PaginatedUsers ¶
type Policy ¶
type Policy struct { Namespace string `json:"namespace"` Code string `json:"code"` IsDefault bool `json:"isDefault"` Description *string `json:"description"` Statements []PolicyStatement `json:"statements"` CreatedAt *string `json:"createdAt"` UpdatedAt *string `json:"updatedAt"` AssignmentsCount int64 `json:"assignmentsCount"` Assignments []PolicyAssignment `json:"assignments"` }
type PolicyAssignment ¶
type PolicyAssignment struct { Code string `json:"code"` TargetType EnumPolicyAssignmentTargetType `json:"targetType"` TargetIdentifier string `json:"targetIdentifier"` }
type PolicyAssignmentsRequest ¶
type PolicyAssignmentsRequest struct { Policies []string `json:"policies"` TargetType EnumPolicyAssignmentTargetType `json:"targetType"` TargetIdentifiers []string `json:"targetIdentifiers"` }
type PolicyRequest ¶
type PolicyRequest struct { Code string `json:"code"` Description *string `json:"description,omitempty"` Statements []PolicyStatement `json:"statements,omitempty"` }
type PolicyStatement ¶
type PolicyStatement struct { Resource string `json:"resource"` Actions []string `json:"actions"` Effect *EnumPolicyEffect `json:"effect"` Condition []PolicyStatementCondition `json:"condition,omitempty"` }
type PolicyStatementInput ¶
type PolicyStatementInput struct { Resource string `json:"resource"` Actions []string `json:"actions"` Effect *EnumPolicyEffect `json:"effect"` Condition []PolicyStatementConditionInput `json:"condition"` }
type PrincipalAuthenticateRequest ¶
type PrincipalAuthenticateRequest struct { Type constant.PrincipalAuthenticateType `json:"type"` Name string `json:"name"` IdCard string `json:"idCard"` Ext string `json:"ext"` }
type ProgrammaticAccessAccount ¶
type ProgrammaticAccessAccount struct { AppId string `json:"appId"` Secret string `json:"secret"` TokenLifetime int `json:"tokenLifetime"` CreatedAt time.Time `json:"createdAt"` UpdatedAt time.Time `json:"updatedAt"` Id string `json:"id"` Remarks string `json:"remarks"` UserId string `json:"userId"` Enabled bool `json:"enabled"` }
type QrcodeLoginStrategy ¶
type QrcodeLoginStrategyInput ¶
type QrcodeLoginStrategyInput struct { QrcodeExpiresAfter *int64 `json:"qrcodeExpiresAfter,omitempty"` ReturnFullUserInfo *bool `json:"returnFullUserInfo,omitempty"` AllowExchangeUserInfoFromBrowser *bool `json:"allowExchangeUserInfoFromBrowser,omitempty"` TicketExpiresAfter *int64 `json:"ticketExpiresAfter,omitempty"` }
type QueryListRequest ¶
type QueryListRequest struct { Page int `json:"page"` Limit int `json:"limit"` SortBy enum.SortByEnum `json:"sortBy"` WithCustomData *bool }
type QueryUserInfoRequest ¶ added in v0.2.5
type RefreshAccessTokenRes ¶
type RefreshToken ¶
type RegisterByEmailInput ¶
type RegisterByEmailInput struct { Email string `json:"email"` Password string `json:"password"` Profile *RegisterProfile `json:"profile,omitempty"` ForceLogin *bool `json:"forceLogin,omitempty"` GenerateToken *bool `json:"generateToken,omitempty"` ClientIp *string `json:"clientIp,omitempty"` Params *string `json:"params,omitempty"` Context *string `json:"context,omitempty"` }
type RegisterByPhoneCodeInput ¶
type RegisterByPhoneCodeInput struct { Phone string `json:"phone"` Code string `json:"code"` Password *string `json:"password"` Profile *RegisterProfile `json:"profile"` ForceLogin *bool `json:"forceLogin"` GenerateToken *bool `json:"generateToken"` ClientIp *string `json:"clientIp"` Params *string `json:"params"` Context *string `json:"context"` }
type RegisterByUsernameInput ¶
type RegisterByUsernameInput struct { Username string `json:"username"` Password string `json:"password"` Profile *RegisterProfile `json:"profile"` ForceLogin *bool `json:"forceLogin"` GenerateToken *bool `json:"generateToken"` ClientIp *string `json:"clientIp"` Params *string `json:"params"` Context *string `json:"context"` }
type RegisterProfile ¶
type RegisterProfile struct { Ip *string `json:"ip"` Oauth *string `json:"oauth"` Username *string `json:"username"` Nickname *string `json:"nickname"` Company *string `json:"company"` Photo *string `json:"photo"` Device *string `json:"device"` Browser *string `json:"browser"` Name *string `json:"name"` GivenName *string `json:"givenName"` FamilyName *string `json:"familyName"` MiddleName *string `json:"middleName"` Profile *string `json:"profile"` PreferredUsername *string `json:"preferredUsername"` Website *string `json:"website"` Gender *string `json:"gender"` Birthdate *string `json:"birthdate"` Zoneinfo *string `json:"zoneinfo"` Locale *string `json:"locale"` Address *string `json:"address"` Formatted *string `json:"formatted"` StreetAddress *string `json:"streetAddress"` Locality *string `json:"locality"` Region *string `json:"region"` PostalCode *string `json:"postalCode"` Country *string `json:"country"` Udf []UserDdfInput `json:"udf"` }
type RegisterWhiteListConfig ¶
type Resource ¶
type Resource struct { Id string `json:"id"` CreatedAt time.Time `json:"createdAt"` UpdatedAt time.Time `json:"updatedAt"` UserPoolId string `json:"userPoolId"` Code string `json:"code"` Actions []ActionsModel `json:"actions"` Type string `json:"type"` Description string `json:"description"` NamespaceId int `json:"namespaceId"` ApiIdentifier *string `json:"apiIdentifier"` Namespace string `json:"namespace,omitempty"` }
type ResourcePermissionAssignment ¶
type ResourcePermissionAssignment struct { TargetType *EnumPolicyAssignmentTargetType `json:"targetType"` TargetIdentifier *string `json:"targetIdentifier"` Actions []string `json:"actions"` }
type ResourceResponse ¶
type ResourceResponse struct { Id string `json:"id"` CreatedAt time.Time `json:"createdAt"` UpdatedAt time.Time `json:"updatedAt"` UserPoolId string `json:"userPoolId"` Code string `json:"code"` Actions []ActionsModel `json:"actions"` Type string `json:"type"` Description string `json:"description"` NamespaceId int `json:"namespaceId"` ApiIdentifier *string `json:"apiIdentifier"` }
type RevokeResourceRequest ¶
type RevokeResourceRequest struct { Namespace string `json:"namespace"` Resource string `json:"resource"` ResourceType EnumResourceType `json:"resourceType"` Opts []AuthorizeResourceOpt `json:"opts"` }
type Role ¶
type Role struct { Id string `json:"id"` Namespace string `json:"namespace"` Code string `json:"code"` Arn string `json:"arn"` Description *string `json:"description,omitempty"` IsSystem *bool `json:"isSystem,omitempty"` CreatedAt *string `json:"createdAt,omitempty"` UpdatedAt *string `json:"updatedAt,omitempty"` Users PaginatedUsers `json:"users"` AuthorizedResources *PaginatedAuthorizedResources `json:"authorizedResources,omitempty"` Parent *Role `json:"parent,omitempty"` }
type RoleDetailRequest ¶
type RoleModel ¶
type RoleModel struct { Id string `json:"id"` Namespace string `json:"namespace"` Code string `json:"code"` Arn string `json:"arn"` Description *string `json:"description,omitempty"` CreatedAt *string `json:"createdAt,omitempty"` UpdatedAt *string `json:"updatedAt,omitempty"` Parent *struct { Id string `json:"id,omitempty"` Namespace string `json:"namespace,omitempty"` Code string `json:"code,omitempty"` Arn string `json:"arn,omitempty"` Description *string `json:"description,omitempty"` CreatedAt *string `json:"createdAt,omitempty"` UpdatedAt *string `json:"updatedAt,omitempty"` } `json:"parent,omitempty"` }
type Roles ¶
type Roles struct {
Roles PaginatedRoles `json:"roles"`
}
type SearchUserDepartmentOpt ¶
type SearchUserGroupOpt ¶
type SearchUserGroupOpt struct {
Code *string `json:"code"`
}
type SearchUserRequest ¶
type SearchUserRoleOpt ¶
type SetUdfInput ¶
type SetUdfInput struct { TargetType EnumUDFTargetType `json:"targetType"` Key string `json:"key"` DataType EnumUDFDataType `json:"dataType"` Label string `json:"label"` }
type SetUdfValueBatchInput ¶
type SocialConnection ¶
type SocialConnection struct { Provider string `json:"provider"` Name string `json:"name"` Logo string `json:"logo"` Description *string `json:"description"` Fields []SocialConnectionField `json:"fields"` }
type SocialConnectionField ¶
type SocialConnectionField struct { Key *string `json:"key"` Label *string `json:"label"` Type *string `json:"type"` Placeholder *string `json:"placeholder"` Children []*SocialConnectionField `json:"children"` }
type SocialConnectionFieldInput ¶
type SocialConnectionFieldInput struct { Key *string `json:"key"` Label *string `json:"label"` Type *string `json:"type"` Placeholder *string `json:"placeholder"` Children []*SocialConnectionFieldInput `json:"children"` }
type SocialConnectionInstance ¶
type SocialConnectionInstance struct { Provider string `json:"provider"` Enabled bool `json:"enabled"` Fields []*SocialConnectionInstanceField `json:"fields"` }
type SwitchPolicyAssignmentsRequest ¶
type SwitchPolicyAssignmentsRequest struct { Policy string `json:"policy"` TargetType EnumPolicyAssignmentTargetType `json:"targetType"` TargetIdentifier string `json:"targetIdentifier"` Namespace *string `json:"namespace,omitempty"` }
type Tenant ¶
type Tenant struct { ID string `json:"id"` CreatedAt time.Time `json:"createdAt"` UpdatedAt time.Time `json:"updatedAt"` UserPoolID string `json:"userPoolId"` Name string `json:"name"` Logo string `json:"logo"` Description interface{} `json:"description"` CSS interface{} `json:"css"` SsoPageCustomizationSettings interface{} `json:"ssoPageCustomizationSettings"` DefaultLoginTab string `json:"defaultLoginTab"` DefaultRegisterTab string `json:"defaultRegisterTab"` PasswordTabConfig struct { EnabledLoginMethods []string `json:"enabledLoginMethods"` } `json:"passwordTabConfig"` LoginTabs []string `json:"loginTabs"` RegisterTabs []string `json:"registerTabs"` ExtendsFields interface{} `json:"extendsFields"` }
type TenantDetails ¶
type TenantDetails struct { Tenant Apps []struct { QrcodeScanning struct { Redirect bool `json:"redirect"` Interval int `json:"interval"` } `json:"qrcodeScanning"` ID string `json:"id"` CreatedAt time.Time `json:"createdAt"` UpdatedAt time.Time `json:"updatedAt"` UserPoolID string `json:"userPoolId"` Protocol string `json:"protocol"` IsOfficial bool `json:"isOfficial"` IsDeleted bool `json:"isDeleted"` IsDefault bool `json:"isDefault"` IsDemo bool `json:"isDemo"` Name string `json:"name"` Description interface{} `json:"description"` Secret string `json:"secret"` Identifier string `json:"identifier"` Jwks struct { Keys []struct { E string `json:"e"` N string `json:"n"` D string `json:"d"` P string `json:"p"` Q string `json:"q"` Dp string `json:"dp"` Dq string `json:"dq"` Qi string `json:"qi"` Kty string `json:"kty"` Kid string `json:"kid"` Alg string `json:"alg"` Use string `json:"use"` } `json:"keys"` } `json:"jwks"` SsoPageCustomizationSettings interface{} `json:"ssoPageCustomizationSettings"` Logo string `json:"logo"` RedirectUris []string `json:"redirectUris"` LogoutRedirectUris []interface{} `json:"logoutRedirectUris"` InitLoginURL interface{} `json:"initLoginUrl"` OidcProviderEnabled bool `json:"oidcProviderEnabled"` OauthProviderEnabled bool `json:"oauthProviderEnabled"` SamlProviderEnabled bool `json:"samlProviderEnabled"` CasProviderEnabled bool `json:"casProviderEnabled"` RegisterDisabled bool `json:"registerDisabled"` LoginTabs []string `json:"loginTabs"` PasswordTabConfig struct { EnabledLoginMethods []string `json:"enabledLoginMethods"` } `json:"passwordTabConfig"` DefaultLoginTab string `json:"defaultLoginTab"` RegisterTabs []string `json:"registerTabs"` DefaultRegisterTab string `json:"defaultRegisterTab"` ExtendsFieldsEnabled bool `json:"extendsFieldsEnabled"` ExtendsFields []interface{} `json:"extendsFields"` ComplateFiledsPlace []interface{} `json:"complateFiledsPlace"` SkipComplateFileds bool `json:"skipComplateFileds"` Ext interface{} `json:"ext"` CSS interface{} `json:"css"` OidcConfig struct { GrantTypes []string `json:"grant_types"` ResponseTypes []string `json:"response_types"` IDTokenSignedResponseAlg string `json:"id_token_signed_response_alg"` TokenEndpointAuthMethod string `json:"token_endpoint_auth_method"` AuthorizationCodeExpire int `json:"authorization_code_expire"` IDTokenExpire int `json:"id_token_expire"` AccessTokenExpire int `json:"access_token_expire"` RefreshTokenExpire int `json:"refresh_token_expire"` CasExpire int `json:"cas_expire"` SkipConsent bool `json:"skip_consent"` RedirectUris []string `json:"redirect_uris"` PostLogoutRedirectUris []interface{} `json:"post_logout_redirect_uris"` ClientID string `json:"client_id"` ClientSecret string `json:"client_secret"` } `json:"oidcConfig"` OidcJWEConfig interface{} `json:"oidcJWEConfig"` SamlConfig interface{} `json:"samlConfig"` OauthConfig struct { ID string `json:"id"` ClientSecret string `json:"client_secret"` RedirectUris []string `json:"redirect_uris"` Grants []string `json:"grants"` AccessTokenLifetime int `json:"access_token_lifetime"` RefreshTokenLifetime int `json:"refresh_token_lifetime"` IntrospectionEndpointAuthMethod string `json:"introspection_endpoint_auth_method"` RevocationEndpointAuthMethod string `json:"revocation_endpoint_auth_method"` } `json:"oauthConfig"` CasConfig interface{} `json:"casConfig"` ShowAuthorizationPage bool `json:"showAuthorizationPage"` EnableSubAccount bool `json:"enableSubAccount"` EnableDeviceMutualExclusion bool `json:"enableDeviceMutualExclusion"` LoginRequireEmailVerified bool `json:"loginRequireEmailVerified"` AgreementEnabled bool `json:"agreementEnabled"` IsIntegrate bool `json:"isIntegrate"` SsoEnabled bool `json:"ssoEnabled"` Template interface{} `json:"template"` SkipMfa bool `json:"skipMfa"` CasExpireBaseBrowser bool `json:"casExpireBaseBrowser"` AppType string `json:"appType"` PermissionStrategy struct { Enabled bool `json:"enabled"` DefaultStrategy string `json:"defaultStrategy"` AllowPolicyID interface{} `json:"allowPolicyId"` DenyPolicyID interface{} `json:"denyPolicyId"` } `json:"permissionStrategy"` } `json:"apps"` }
type TenantMembersResponse ¶
type UpdateExtIdpRequest ¶
type UpdateExtIdpRequest struct {
Name string `json:"name"`
}
type UpdateFunctionInput ¶
type UpdateGroupsRequest ¶
type UpdateOrgNodeRequest ¶
type UpdatePolicyResponse ¶
type UpdateResourceRequest ¶
type UpdateResourceRequest struct { Actions []ActionsModel `json:"actions,omitempty"` Type string `json:"type,omitempty"` Description *string `json:"description,omitempty"` ApiIdentifier *string `json:"apiIdentifier,omitempty"` Namespace string `json:"namespace,omitempty"` }
type UpdateRoleRequest ¶
type UpdateUserInput ¶
type UpdateUserInput struct { Email *string `json:"email,omitempty"` Unionid *string `json:"unionid,omitempty"` Openid *string `json:"openid,omitempty"` EmailVerified *bool `json:"emailVerified,omitempty"` Phone *string `json:"phone,omitempty"` PhoneVerified *bool `json:"phoneVerified,omitempty"` Username *string `json:"username,omitempty"` Nickname *string `json:"nickname,omitempty"` Password *string `json:"password,omitempty"` Photo *string `json:"photo,omitempty"` Company *string `json:"company,omitempty"` Browser *string `json:"browser,omitempty"` Device *string `json:"device,omitempty"` Oauth *string `json:"oauth,omitempty"` TokenExpiredAt *string `json:"tokenExpiredAt,omitempty"` LoginsCount *int64 `json:"loginsCount,omitempty"` LastLogin *string `json:"lastLogin,omitempty"` LastIP *string `json:"lastIP,omitempty"` Blocked *bool `json:"blocked,omitempty"` Name *string `json:"name,omitempty"` GivenName *string `json:"givenName,omitempty"` FamilyName *string `json:"familyName,omitempty"` MiddleName *string `json:"middleName,omitempty"` Profile *string `json:"profile,omitempty"` PreferredUsername *string `json:"preferredUsername"` Website *string `json:"website,omitempty"` Gender *string `json:"gender,omitempty"` Birthdate *string `json:"birthdate,omitempty"` Zoneinfo *string `json:"zoneinfo,omitempty"` Locale *string `json:"locale,omitempty"` Address *string `json:"address,omitempty"` Formatted *string `json:"formatted,omitempty"` StreetAddress *string `json:"streetAddress,omitempty"` Locality *string `json:"locality,omitempty"` Region *string `json:"region,omitempty"` PostalCode *string `json:"postalCode,omitempty"` City *string `json:"city,omitempty"` Province *string `json:"province,omitempty"` Country *string `json:"country,omitempty"` ExternalId *string `json:"externalId,omitempty"` }
type UpdateUserpoolInput ¶
type UpdateUserpoolInput struct { Name *string `json:"name,omitempty"` Logo *string `json:"logo,omitempty"` Domain *string `json:"domain,omitempty"` Description *string `json:"description,omitempty"` UserpoolTypes []string `json:"userpoolTypes,omitempty"` EmailVerifiedDefault *bool `json:"emailVerifiedDefault,omitempty"` SendWelcomeEmail *bool `json:"sendWelcomeEmail,omitempty"` RegisterDisabled *bool `json:"registerDisabled,omitempty"` AppSsoEnabled *bool `json:"appSsoEnabled,omitempty"` AllowedOrigins *string `json:"allowedOrigins,omitempty"` TokenExpiresAfter *int64 `json:"tokenExpiresAfter,omitempty"` FrequentRegisterCheck *FrequentRegisterCheckConfigInput `json:"frequentRegisterCheck,omitempty"` LoginFailCheck *LoginFailCheckConfigInput `json:"loginFailCheck,omitempty"` LoginFailStrategy *string `json:"loginFailStrategy,omitempty"` LoginPasswordFailCheck *LoginPasswordFailCheckConfigInput `json:"loginPasswordFailCheck,omitempty"` ChangePhoneStrategy *ChangePhoneStrategyInput `json:"changePhoneStrategy,omitempty"` ChangeEmailStrategy *ChangeEmailStrategyInput `json:"changeEmailStrategy,omitempty"` QrcodeLoginStrategy *QrcodeLoginStrategyInput `json:"qrcodeLoginStrategy,omitempty"` App2WxappLoginStrategy *App2WxappLoginStrategyInput `json:"app2WxappLoginStrategy,omitempty"` Whitelist *RegisterWhiteListConfigInput `json:"whitelist,omitempty"` CustomSMSProvider *CustomSMSProviderInput `json:"customSMSProvider,omitempty"` LoginRequireEmailVerified *bool `json:"loginRequireEmailVerified,omitempty"` VerifyCodeLength *int64 `json:"verifyCodeLength,omitempty"` }
type User ¶
type User struct { Id string `json:"id"` Arn string `json:"arn"` Status *EnumUserStatus `json:"status"` UserPoolId string `json:"userPoolId"` Username *string `json:"username"` Email *string `json:"email"` EmailVerified *bool `json:"emailVerified"` Phone *string `json:"phone"` PhoneVerified *bool `json:"phoneVerified"` Unionid *string `json:"unionid"` Openid *string `json:"openid"` Identities []*Identity `json:"identities"` Nickname *string `json:"nickname"` RegisterSource []string `json:"registerSource"` Photo *string `json:"photo"` Password *string `json:"password"` Oauth *string `json:"oauth"` Token *string `json:"token"` TokenExpiredAt *string `json:"tokenExpiredAt"` LoginsCount *int64 `json:"loginsCount"` LastLogin *string `json:"lastLogin"` LastIP *string `json:"lastIP"` SignedUp *string `json:"signedUp"` Blocked *bool `json:"blocked"` IsDeleted *bool `json:"isDeleted"` Device *string `json:"device"` Browser *string `json:"browser"` Company *string `json:"company"` Name *string `json:"name"` GivenName *string `json:"givenName"` FamilyName *string `json:"familyName"` MiddleName *string `json:"middleName"` Profile *string `json:"profile"` PreferredUsername *string `json:"preferredUsername"` Website *string `json:"website"` Gender *string `json:"gender"` Birthdate *string `json:"birthdate"` Zoneinfo *string `json:"zoneinfo"` Locale *string `json:"locale"` Address *string `json:"address"` Formatted *string `json:"formatted"` StreetAddress *string `json:"streetAddress"` Locality *string `json:"locality"` Region *string `json:"region"` PostalCode *string `json:"postalCode"` City *string `json:"city"` Province *string `json:"province"` Country *string `json:"country"` CreatedAt *string `json:"createdAt"` UpdatedAt *string `json:"updatedAt"` Roles *PaginatedRoles `json:"roles"` Groups *PaginatedGroups `json:"groups"` Departments *PaginatedDepartments `json:"departments"` AuthorizedResources *PaginatedAuthorizedResources `json:"authorizedResources"` ExternalId *string `json:"externalId"` CustomData []*UserCustomData `json:"customData"` }
type UserCustomData ¶
type UserCustomData struct { Key string `json:"key,omitempty"` Value *string `json:"value,omitempty"` Label *string `json:"label,omitempty"` DataType EnumUDFDataType `json:"dataType,omitempty"` }
type UserDdfInput ¶
type UserDefinedData ¶
type UserDefinedData struct { Key string `json:"key,omitempty"` DataType EnumUDFDataType `json:"dataType,omitempty"` Value string `json:"value,omitempty"` Label *string `json:"label,omitempty"` }
type UserDefinedDataInput ¶
type UserDefinedDataMap ¶
type UserDefinedDataMap struct { TargetId string `json:"targetId"` Data []UserDefinedData `json:"data"` }
type UserDefinedField ¶
type UserDefinedField struct { TargetType EnumUDFTargetType `json:"targetType"` DataType EnumUDFDataType `json:"dataType"` Key string `json:"key"` Label *string `json:"label"` Options *string `json:"options"` }
type UserDepartment ¶
type UserDepartments ¶
type UserDepartments struct {
Departments *PaginatedDepartments `json:"departments"`
}
type UserDepartmentsData ¶
type UserDepartmentsData struct {
User UserDepartments `json:"user"`
}
type UserDetailData ¶
type UserDetailData struct {
ThirdPartyIdentity User `json:"thirdPartyIdentity"`
}
type UserDetailResponse ¶
type UserOrgs ¶
type UserOrgs []struct { Type string `json:"type"` Id string `json:"id"` CreatedAt time.Time `json:"createdAt"` UpdatedAt time.Time `json:"updatedAt"` UserPoolId string `json:"userPoolId"` RootNodeId string `json:"rootNodeId,omitempty"` Logo string `json:"logo"` OrgId string `json:"orgId,omitempty"` Name string `json:"name,omitempty"` NameI18N string `json:"nameI18n"` Description *string `json:"description,omitempty"` DescriptionI18N string `json:"descriptionI18n"` Order string `json:"order"` Code *string `json:"code,omitempty"` LeaderUserId string `json:"leaderUserId"` Source []interface{} `json:"source,omitempty"` DataVersion interface{} `json:"dataVersion"` SourceData interface{} `json:"sourceData"` }
type UserPool ¶
type UserPool struct { Id string `json:"id"` Name string `json:"name"` Domain string `json:"domain"` Description *string `json:"description"` Secret string `json:"secret"` JwtSecret string `json:"jwtSecret"` OwnerId *string `json:"ownerId"` UserpoolTypes []UserPoolType `json:"userpoolTypes"` Logo string `json:"logo"` CreatedAt *string `json:"createdAt"` UpdatedAt *string `json:"updatedAt"` EmailVerifiedDefault bool `json:"emailVerifiedDefault"` SendWelcomeEmail bool `json:"sendWelcomeEmail"` RegisterDisabled bool `json:"registerDisabled"` AppSsoEnabled bool `json:"appSsoEnabled"` ShowWxQRCodeWhenRegisterDisabled *bool `json:"showWxQRCodeWhenRegisterDisabled"` AllowedOrigins *string `json:"allowedOrigins"` TokenExpiresAfter *int64 `json:"tokenExpiresAfter"` IsDeleted *bool `json:"isDeleted"` FrequentRegisterCheck *FrequentRegisterCheckConfig `json:"frequentRegisterCheck"` LoginFailCheck *LoginFailCheckConfig `json:"loginFailCheck"` LoginPasswordFailCheck *LoginPasswordFailCheckConfig `json:"loginPasswordFailCheck"` LoginFailStrategy *string `json:"loginFailStrategy"` ChangePhoneStrategy *ChangePhoneStrategy `json:"changePhoneStrategy"` ChangeEmailStrategy *ChangeEmailStrategy `json:"changeEmailStrategy"` QrcodeLoginStrategy *QrcodeLoginStrategy `json:"qrcodeLoginStrategy"` App2WxappLoginStrategy *App2WxappLoginStrategy `json:"app2WxappLoginStrategy"` Whitelist *RegisterWhiteListConfig `json:"whitelist"` CustomSMSProvider *CustomSMSProvider `json:"customSMSProvider"` PackageType *int64 `json:"packageType"` UseCustomUserStore *bool `json:"useCustomUserStore"` LoginRequireEmailVerified *bool `json:"loginRequireEmailVerified"` VerifyCodeLength *int64 `json:"verifyCodeLength"` }
type UserPoolEnv ¶
type UserPoolType ¶
type UserRoleOptRequest ¶
type Users ¶
type Users struct {
Users PaginatedUsers `json:"users"`
}
type ValidateTokenRequest ¶
Click to show internal directories.
Click to hide internal directories.