Documentation
¶
Index ¶
- Variables
- func GetAppID(ctx context.Context) (string, bool)
- func GetEnvironmentID(ctx context.Context) (string, bool)
- func GetUserID(ctx context.Context) (string, bool)
- func SetContextAppAndEnvironment(ctx context.Context, appID, envID string) context.Context
- func WithAppID(ctx context.Context, appID string) context.Context
- func WithEnvironmentID(ctx context.Context, envID string) context.Context
- func WithUserID(ctx context.Context, userID string) context.Context
- type AMLMatch
- type APIKey
- type AcceptInvitationRequest
- type AccessConfig
- type AccessTokenClaims
- type AccountAutoSendConfig
- type AccountLockedResponse
- type AccountLockoutError
- type ActionResponse
- type ActionsListResponse
- type Adapter
- type AdaptiveMFAConfig
- type AddCustomPermission_req
- type AddFieldRequest
- type AddMemberRequest
- type AddTeamMemberRequest
- type AddTeamMember_req
- type AddTrustedContactRequest
- type AddTrustedContactResponse
- type AdminAddProviderRequest
- type AdminBlockUserRequest
- type AdminBlockUserResponse
- type AdminBlockUser_req
- type AdminBypassRequest
- type AdminGetUserVerificationStatusResponse
- type AdminGetUserVerificationsResponse
- type AdminHandler
- type AdminPolicyRequest
- type AdminUnblockUserResponse
- type AdminUpdateProviderRequest
- type AmountRule
- type AnalyticsResponse
- type AnalyticsSummary
- type App
- type AppHandler
- type AppServiceAdapter
- type ApproveDeletionRequestResponse
- type ApproveRecoveryRequest
- type ApproveRecoveryResponse
- type ArchiveEntryRequest
- type AssignRoleRequest
- type AsyncAdapter
- type AsyncConfig
- type AuditConfig
- type AuditEvent
- type AuditLog
- type AuditLogEntry
- type AuditLogResponse
- type AuditServiceAdapter
- type AuthAutoSendConfig
- type AuthURLResponse
- type AuthorizeRequest
- type AutoCleanupConfig
- type AutoSendConfig
- type AutomatedChecksConfig
- type BackupAuthCodesResponse
- type BackupAuthConfigResponse
- type BackupAuthContactResponse
- type BackupAuthContactsResponse
- type BackupAuthDocumentResponse
- type BackupAuthQuestionsResponse
- type BackupAuthRecoveryResponse
- type BackupAuthSessionsResponse
- type BackupAuthStatsResponse
- type BackupAuthStatusResponse
- type BackupAuthVideoResponse
- type BackupCodeFactorAdapter
- type BackupCodesConfig
- type BanUserRequest
- type BanUserRequestDTO
- type BaseFactorAdapter
- type BatchEvaluateRequest
- type BatchEvaluateResponse
- type BatchEvaluationResult
- type BeginLoginRequest
- type BeginLoginResponse
- type BeginRegisterRequest
- type BeginRegisterResponse
- type BlockUserRequest
- type BulkDeleteRequest
- type BulkPublishRequest
- type BulkRequest
- type BulkUnpublishRequest
- type BunRepository
- type CallbackDataResponse
- type CallbackResponse
- type CallbackResult
- type CancelRecoveryRequest
- type CancelRecoveryResponse
- type Challenge
- type ChallengeRequest
- type ChallengeResponse
- type ChallengeSession
- type ChallengeStatus
- type ChallengeStatusResponse
- type ChangePasswordRequest
- type ChangePasswordResponse
- type ChannelsResponse
- type CheckDependencies
- type CheckMetadata
- type CheckRegistry
- type CheckResult
- type CheckSubResult
- type Client
- func (c *Client) ChangePassword(ctx context.Context, req *ChangePasswordRequest) (*ChangePasswordResponse, error)
- func (c *Client) ConfirmEmailChange(ctx context.Context, req *ConfirmEmailChangeRequest) (*ConfirmEmailChangeResponse, error)
- func (c *Client) ForgeMiddleware() forge.Middleware
- func (c *Client) GetAppContext() (appID, envID string)
- func (c *Client) GetCurrentSession(ctx context.Context) (*Session, error)
- func (c *Client) GetCurrentUser(ctx context.Context) (*User, error)
- func (c *Client) GetPlugin(id string) (Plugin, bool)
- func (c *Client) GetSession(ctx context.Context) (*GetSessionResponse, error)
- func (c *Client) ListDevices(ctx context.Context) (*ListDevicesResponse, error)
- func (c *Client) NewHTTPClientWithAuth() *http.Client
- func (c *Client) OptionalAuth() forge.Middleware
- func (c *Client) RefreshSession(ctx context.Context, req *RefreshSessionRequest) (*RefreshSessionResponse, error)
- func (c *Client) Request(ctx context.Context, method, path string, body interface{}, result interface{}, ...) error
- func (c *Client) RequestEmailChange(ctx context.Context, req *RequestEmailChangeRequest) (*RequestEmailChangeResponse, error)
- func (c *Client) RequestPasswordReset(ctx context.Context, req *RequestPasswordResetRequest) (*RequestPasswordResetResponse, error)
- func (c *Client) RequireAuth() forge.Middleware
- func (c *Client) ResetPassword(ctx context.Context, req *ResetPasswordRequest) (*ResetPasswordResponse, error)
- func (c *Client) RevokeDevice(ctx context.Context, req *RevokeDeviceRequest) (*RevokeDeviceResponse, error)
- func (c *Client) RoundTripper() http.RoundTripper
- func (c *Client) SetAPIKey(apiKey string)
- func (c *Client) SetAppContext(appID, envID string)
- func (c *Client) SetToken(token string)
- func (c *Client) SignIn(ctx context.Context, req *SignInRequest) (*SignInResponse, error)
- func (c *Client) SignOut(ctx context.Context) (*SignOutResponse, error)
- func (c *Client) SignUp(ctx context.Context, req *SignUpRequest) (*SignUpResponse, error)
- func (c *Client) UpdateUser(ctx context.Context, req *UpdateUserRequest) (*UpdateUserResponse, error)
- func (c *Client) ValidateResetToken(ctx context.Context) (*ValidateResetTokenResponse, error)
- type ClientAuthResult
- type ClientAuthenticator
- type ClientDetailsResponse
- type ClientRegistrationRequest
- type ClientRegistrationResponse
- type ClientSummary
- type ClientUpdateRequest
- type ClientsListResponse
- type CloneContentTypeRequest
- type CodesResponse
- type CompareRevisionsRequest
- type CompleteRecoveryRequest
- type CompleteRecoveryResponse
- type CompleteTrainingRequest
- type CompleteTrainingResponse
- type CompleteTraining_req
- type CompleteVideoSessionRequest
- type CompleteVideoSessionResponse
- type ComplianceCheck
- type ComplianceCheckResponse
- type ComplianceChecksResponse
- type ComplianceDashboardResponse
- type ComplianceEvidence
- type ComplianceEvidenceResponse
- type ComplianceEvidencesResponse
- type CompliancePoliciesResponse
- type CompliancePolicy
- type CompliancePolicyResponse
- type ComplianceProfile
- type ComplianceProfileResponse
- type ComplianceReport
- type ComplianceReportFileResponse
- type ComplianceReportResponse
- type ComplianceReportsResponse
- type ComplianceStandard
- type ComplianceStatus
- type ComplianceStatusDetailsResponse
- type ComplianceStatusResponse
- type ComplianceTemplate
- type ComplianceTemplateResponse
- type ComplianceTemplatesResponse
- type ComplianceTraining
- type ComplianceTrainingResponse
- type ComplianceTrainingsResponse
- type ComplianceUserTrainingResponse
- type ComplianceViolation
- type ComplianceViolationResponse
- type ComplianceViolationsResponse
- type Config
- type ConfigSourceConfig
- type ConfirmEmailChangeRequest
- type ConfirmEmailChangeResponse
- type ConnectionResponse
- type ConnectionsResponse
- type ConsentAuditConfig
- type ConsentAuditLog
- type ConsentAuditLogsResponse
- type ConsentCookieResponse
- type ConsentDashboardConfig
- type ConsentDecision
- type ConsentDeletionResponse
- type ConsentExpiryConfig
- type ConsentExportFileResponse
- type ConsentExportResponse
- type ConsentManager
- type ConsentNotificationsConfig
- type ConsentPolicy
- type ConsentPolicyResponse
- type ConsentRecord
- type ConsentRecordResponse
- type ConsentReport
- type ConsentReportResponse
- type ConsentRequest
- type ConsentService
- type ConsentSettingsResponse
- type ConsentStats
- type ConsentStatusResponse
- type ConsentSummary
- type ConsentTypeStatus
- type ConsentsResponse
- type ContentEntryHandler
- type ContentTypeHandler
- type ContextRule
- type ContinueRecoveryRequest
- type ContinueRecoveryResponse
- type CookieConsent
- type CookieConsentConfig
- type CookieConsentRequest
- type CreateABTestVariant_req
- type CreateAPIKeyRequest
- type CreateAPIKeyResponse
- type CreateActionRequest
- type CreateAppRequest
- type CreateConsentPolicyRequest
- type CreateConsentPolicyResponse
- type CreateConsentRequest
- type CreateConsentResponse
- type CreateDPARequest
- type CreateEntryRequest
- type CreateEvidenceRequest
- type CreateEvidenceResponse
- type CreateEvidence_req
- type CreateJWTKeyRequest
- type CreateNamespaceRequest
- type CreateOrganizationHandlerRequest
- type CreatePolicyRequest
- type CreatePolicyResponse
- type CreatePolicy_req
- type CreateProfileFromTemplateRequest
- type CreateProfileFromTemplateResponse
- type CreateProfileFromTemplate_req
- type CreateProfileRequest
- type CreateProfileResponse
- type CreateProvider_req
- type CreateRequest
- type CreateResourceRequest
- type CreateResponse
- type CreateSecretRequest
- type CreateSessionHTTPRequest
- type CreateSessionRequest
- type CreateTeamHandlerRequest
- type CreateTeamRequest
- type CreateTemplateResponse
- type CreateTemplateVersion_req
- type CreateTrainingRequest
- type CreateTrainingResponse
- type CreateTraining_req
- type CreateUserRequest
- type CreateUserRequestDTO
- type CreateVerificationRequest
- type CreateVerificationSessionRequest
- type CreateVerificationSessionResponse
- type CreateVerificationSession_req
- type DashboardConfig
- type DashboardExtension
- type DataDeletionConfig
- type DataDeletionRequest
- type DataDeletionRequestInput
- type DataExportConfig
- type DataExportRequest
- type DataExportRequestInput
- type DataProcessingAgreement
- type DeclareABTestWinnerRequest
- type DeclareABTestWinner_req
- type DeclineInvitationRequest
- type DefaultProviderRegistry
- type DeleteAPIKeyRequest
- type DeleteAppRequest
- type DeleteContentTypeRequest
- type DeleteEntryRequest
- type DeleteEvidenceResponse
- type DeleteFactorRequest
- type DeleteFieldRequest
- type DeleteOrganizationRequest
- type DeletePasskeyRequest
- type DeletePolicyResponse
- type DeleteProfileResponse
- type DeleteProviderRequest
- type DeleteRequest
- type DeleteResponse
- type DeleteSecretRequest
- type DeleteTeamRequest
- type DeleteTemplateRequest
- type DeleteTemplateResponse
- type DeleteUserRequestDTO
- type Device
- type DeviceInfo
- type DevicesResponse
- type DisableRequest
- type DiscoverProviderRequest
- type DiscoveryResponse
- type DiscoveryService
- type DocumentCheckConfig
- type DocumentVerification
- type DocumentVerificationConfig
- type DocumentVerificationRequest
- type DocumentVerificationResult
- type DownloadDataExportResponse
- type DownloadReportResponse
- type Email
- type EmailConfig
- type EmailFactorAdapter
- type EmailProviderConfig
- type EmailServiceAdapter
- type EmailVerificationConfig
- type EnableRequest
- type EnableRequest2FA
- type EnableResponse
- type EncryptionConfig
- type EncryptionService
- type EndImpersonationRequest
- type EndImpersonationResponse
- type EnrollFactorRequest
- type EnrollFactorResponse
- type Error
- type ErrorResponse
- type EvaluateRequest
- type EvaluateResponse
- type EvaluationContext
- type EvaluationResult
- type FacialCheckConfig
- type Factor
- type FactorAdapterRegistry
- type FactorEnrollmentRequest
- type FactorEnrollmentResponse
- type FactorInfo
- type FactorPriority
- type FactorStatus
- type FactorType
- type FactorVerificationRequest
- type FactorsResponse
- type FinishLoginRequest
- type FinishRegisterRequest
- type FinishRegisterResponse
- type ForgetDeviceResponse
- type GenerateBackupCodesResponse
- type GenerateConsentReportResponse
- type GenerateRecoveryCodesRequest
- type GenerateRecoveryCodesResponse
- type GenerateReportRequest
- type GenerateReportResponse
- type GenerateReport_req
- type GenerateTokenRequest
- type GetABTestResultsRequest
- type GetAPIKeyRequest
- type GetAppProfileResponse
- type GetAppRequest
- type GetAuditLogsRequestDTO
- type GetAuditLogsResponse
- type GetByIDResponse
- type GetByPathRequest
- type GetByPathResponse
- type GetChallengeStatusRequest
- type GetChallengeStatusResponse
- type GetCheckResponse
- type GetClientResponse
- type GetComplianceStatusResponse
- type GetConsentAuditLogsResponse
- type GetConsentPolicyResponse
- type GetConsentResponse
- type GetContentTypeRequest
- type GetCookieConsentResponse
- type GetCurrentResponse
- type GetDashboardResponse
- type GetDataDeletionResponse
- type GetDataExportResponse
- type GetDocumentVerificationRequest
- type GetDocumentVerificationResponse
- type GetEffectivePermissionsRequest
- type GetEntryRequest
- type GetEntryStatsRequest
- type GetEvidenceResponse
- type GetFactorRequest
- type GetFactorResponse
- type GetImpersonationRequest
- type GetInvitationRequest
- type GetMigrationStatusRequest
- type GetMigrationStatusResponse
- type GetNotificationRequest
- type GetNotificationResponse
- type GetOrganizationBySlugRequest
- type GetOrganizationRequest
- type GetPasskeyRequest
- type GetPolicyResponse
- type GetPrivacySettingsResponse
- type GetProfileResponse
- type GetProviderRequest
- type GetRecoveryConfigResponse
- type GetRecoveryStatsRequest
- type GetRecoveryStatsResponse
- type GetReportResponse
- type GetRequest
- type GetRequirementResponse
- type GetRevisionRequest
- type GetRolesRequest
- type GetSecretRequest
- type GetSecurityQuestionsRequest
- type GetSecurityQuestionsResponse
- type GetSessionResponse
- type GetStatsRequestDTO
- type GetStatsResponse
- type GetStatusRequest
- type GetStatusResponse
- type GetTeamRequest
- type GetTemplateAnalyticsRequest
- type GetTemplateDefaultsResponse
- type GetTemplateRequest
- type GetTemplateResponse
- type GetTemplateVersionRequest
- type GetTreeRequest
- type GetUserTrainingResponse
- type GetUserVerificationStatusResponse
- type GetUserVerificationsResponse
- type GetValueRequest
- type GetVerificationResponse
- type GetVerificationSessionResponse
- type GetVersionsRequest
- type GetViolationResponse
- type HandleConsentRequest
- type HandleUpdateSettings_updates
- type HandleWebhookResponse
- type Handler
- type HealthCheckResponse
- type ID
- type IDTokenClaims
- type IDVerificationErrorResponse
- type IDVerificationListResponse
- type IDVerificationResponse
- type IDVerificationSessionResponse
- type IDVerificationStatusResponse
- type IDVerificationWebhookResponse
- type IPWhitelistConfig
- type IdentityVerification
- type IdentityVerificationSession
- type ImpersonateUserRequest
- type ImpersonateUserRequestDTO
- type ImpersonationContext
- type ImpersonationEndResponse
- type ImpersonationErrorResponse
- type ImpersonationMiddleware
- type ImpersonationSession
- type ImpersonationStartResponse
- type ImpersonationVerifyResponse
- type InitiateChallengeRequest
- type InitiateChallengeResponse
- type InstantiateTemplateRequest
- type IntrospectTokenRequest
- type IntrospectTokenResponse
- type IntrospectionService
- type Invitation
- type InvitationResponse
- type InviteMemberHandlerRequest
- type InviteMemberRequest
- type JSONBMap
- type JWK
- type JWKS
- type JWKSResponse
- type JWKSService
- type JWTService
- type JumioConfig
- type JumioProvider
- type KeyPair
- type KeyStats
- type KeyStore
- type LimitResult
- type LinkAccountRequest
- type LinkAccountResponse
- type LinkRequest
- type LinkResponse
- type ListAPIKeysRequest
- type ListAppsRequest
- type ListAuditEventsRequest
- type ListChecksFilter
- type ListChecksResponse
- type ListClientsResponse
- type ListContentTypesRequest
- type ListDevicesResponse
- type ListEntriesRequest
- type ListEvidenceFilter
- type ListEvidenceResponse
- type ListFactorsRequest
- type ListFactorsResponse
- type ListImpersonationsRequest
- type ListJWTKeysRequest
- type ListMembersRequest
- type ListNotificationsResponse
- type ListOrganizationsRequest
- type ListPasskeysRequest
- type ListPasskeysResponse
- type ListPendingRequirementsResponse
- type ListPoliciesFilter
- type ListPoliciesResponse
- type ListProfilesFilter
- type ListProvidersResponse
- type ListRecoverySessionsRequest
- type ListRecoverySessionsResponse
- type ListRememberedDevicesResponse
- type ListReportsFilter
- type ListReportsResponse
- type ListRequest
- type ListResponse
- type ListRevisionsRequest
- type ListSecretsRequest
- type ListSessionsRequest
- type ListSessionsRequestDTO
- type ListSessionsResponse
- type ListTeamsRequest
- type ListTemplatesResponse
- type ListTrainingFilter
- type ListTrainingResponse
- type ListTrustedContactsResponse
- type ListTrustedDevicesResponse
- type ListUsersRequest
- type ListUsersRequestDTO
- type ListUsersResponse
- type ListVerificationsResponse
- type ListViolationsFilter
- type ListViolationsResponse
- type LoginResponse
- type MFABypassResponse
- type MFAConfigResponse
- type MFAPolicy
- type MFAPolicyResponse
- type MFASession
- type MFAStatus
- type Member
- type MemberHandler
- type MembersResponse
- type MemoryChallengeStore
- type MemoryStateStore
- type MessageResponse
- type MetadataResponse
- type Middleware
- type MigrateAllRequest
- type MigrateAllResponse
- type MigrateRBACRequest
- type MigrateRolesRequest
- type MigrationErrorResponse
- type MigrationHandler
- type MigrationResponse
- type MigrationStatusResponse
- type MockAppService
- type MockAuditService
- type MockEmailService
- type MockOrganizationUIExtension
- type MockRepository
- type MockService
- type MockSessionService
- type MockSocialAccountRepository
- type MockStateStore
- type MockUserRepository
- type MockUserService
- type MultiSessionErrorResponse
- type MultiStepRecoveryConfig
- type NamespaceResponse
- type NamespacesListResponse
- type NoOpDocumentProvider
- type NoOpEmailProvider
- type NoOpNotificationProvider
- type NoOpSMSProvider
- type NoOpVideoProvider
- type NotificationChannels
- type NotificationErrorResponse
- type NotificationListResponse
- type NotificationPreviewResponse
- type NotificationResponse
- type NotificationStatusResponse
- type NotificationTemplateListResponse
- type NotificationTemplateResponse
- type NotificationType
- type NotificationWebhookResponse
- type NotificationsConfig
- type NotificationsResponse
- type OAuthErrorResponse
- type OAuthState
- type OIDCCallbackResponse
- type OIDCLoginRequest
- type OIDCLoginResponse
- type OIDCState
- type OTPSentResponse
- type OnfidoConfig
- type OnfidoProvider
- type Option
- func WithAPIKey(apiKey string) Option
- func WithAppContext(appID, envID string) Option
- func WithCookieJar(jar http.CookieJar) Option
- func WithHTTPClient(client *http.Client) Option
- func WithHeaders(headers map[string]string) Option
- func WithPlugins(plugins ...Plugin) Option
- func WithToken(token string) Option
- type OrganizationAutoSendConfig
- type OrganizationHandler
- type OrganizationUIRegistry
- type PasskeyInfo
- type PhoneVerifyResponse
- type Plugin
- type PoliciesListResponse
- type PolicyEngine
- type PolicyPreviewResponse
- type PolicyResponse
- type PolicyStats
- type PreviewConversionRequest
- type PreviewConversionResponse
- type PreviewTemplateRequest
- type PreviewTemplateResponse
- type PreviewTemplate_req
- type PrivacySettings
- type PrivacySettingsRequest
- type ProviderCheckResult
- type ProviderConfig
- type ProviderConfigResponse
- type ProviderDetailResponse
- type ProviderDiscoveredResponse
- type ProviderInfo
- type ProviderListResponse
- type ProviderRegisteredResponse
- type ProviderSession
- type ProviderSessionRequest
- type ProvidersAppResponse
- type ProvidersConfig
- type ProvidersResponse
- type PublishContentTypeRequest
- type PublishEntryRequest
- type QueryEntriesRequest
- type RateLimit
- type RateLimitConfig
- type RateLimitRule
- type RateLimiter
- type RateLimitingConfig
- type RecordCookieConsentRequest
- type RecordCookieConsentResponse
- type RecoveryAttemptLog
- type RecoveryCodeUsage
- type RecoveryCodesConfig
- type RecoveryConfiguration
- type RecoveryMethod
- type RecoverySession
- type RecoverySessionInfo
- type RecoveryStatus
- type RedisChallengeStore
- type RedisStateStore
- type RefreshResponse
- type RefreshSessionRequest
- type RefreshSessionResponse
- type RegenerateCodesRequest
- type RegisterClientRequest
- type RegisterClientResponse
- type RegisterProviderRequest
- type RegisterProviderResponse
- type RegistrationService
- type RejectRecoveryRequest
- type RejectRecoveryResponse
- type RemoveMemberRequest
- type RemoveTeamMemberRequest
- type RemoveTrustedContactRequest
- type RemoveTrustedContactResponse
- type RenderTemplateRequest
- type RenderTemplateResponse
- type RenderTemplate_req
- type ReorderFieldsRequest
- type ReportsConfig
- type RequestDataDeletionRequest
- type RequestDataDeletionResponse
- type RequestDataExportRequest
- type RequestDataExportResponse
- type RequestEmailChangeRequest
- type RequestEmailChangeResponse
- type RequestPasswordResetRequest
- type RequestPasswordResetResponse
- type RequestReverificationRequest
- type RequestReverificationResponse
- type RequestReverification_req
- type RequestTrustedContactVerificationRequest
- type RequestTrustedContactVerificationResponse
- type RequirementsResponse
- type ResendNotificationRequest
- type ResendNotificationResponse
- type ResendRequest
- type ResendResponse
- type ResetAllTemplatesResponse
- type ResetPasswordRequest
- type ResetPasswordResponse
- type ResetTemplateRequest
- type ResetTemplateResponse
- type ResetUserMFARequest
- type ResetUserMFAResponse
- type ResolveViolationRequest
- type ResolveViolationResponse
- type ResourceAttributeRequest
- type ResourceResponse
- type ResourceRule
- type ResourceTypeStats
- type ResourcesListResponse
- type RestoreEntryRequest
- type RestoreRevisionRequest
- type RestoreTemplateVersionRequest
- type RetentionConfig
- type ReverifyRequest
- type ReviewDocumentRequest
- type ReviewDocumentResponse
- type RevisionHandler
- type RevokeAllRequest
- type RevokeAllResponse
- type RevokeConsentRequest
- type RevokeConsentResponse
- type RevokeDeviceRequest
- type RevokeDeviceResponse
- type RevokeOthersResponse
- type RevokeResponse
- type RevokeSessionRequestDTO
- type RevokeTokenRequest
- type RevokeTokenService
- type RevokeTrustedDeviceRequest
- type RiskAssessment
- type RiskAssessmentConfig
- type RiskContext
- type RiskEngine
- type RiskFactor
- type RiskLevel
- type Role
- type RolesResponse
- type RollbackRequest
- type RotateAPIKeyRequest
- type RotateAPIKeyResponse
- type RoundTripperMiddleware
- type RouteRule
- type RunCheckRequest
- type RunCheckResponse
- type RunCheck_req
- type SAMLCallbackResponse
- type SAMLLoginRequest
- type SAMLLoginResponse
- type SAMLSPMetadataResponse
- type SMSConfig
- type SMSFactorAdapter
- type SMSProviderConfig
- type SMSVerificationConfig
- type SSOAuthResponse
- type SaveBuilderTemplate_req
- type SaveNotificationSettings_req
- type ScheduleVideoSessionRequest
- type ScheduleVideoSessionResponse
- type SchemaValidator
- type ScopeDefinition
- type ScopeInfo
- type ScopeResolver
- type SecretsConfigSource
- type SecurityLevel
- type SecurityQuestion
- type SecurityQuestionInfo
- type SecurityQuestionsConfig
- type SendCodeRequest
- type SendCodeResponse
- type SendNotificationResponse
- type SendOTPRequest
- type SendOTPResponse
- type SendRequest
- type SendResponse
- type SendVerificationCodeRequest
- type SendVerificationCodeResponse
- type SendWithTemplateRequest
- type Service
- type Session
- type SessionAutoSendConfig
- type SessionStats
- type SessionStatsResponse
- type SessionTokenResponse
- type SetActiveRequest
- type SetActiveResponse
- type SetUserRoleRequest
- type SetUserRoleRequestDTO
- type SetupSecurityQuestionRequest
- type SetupSecurityQuestionsRequest
- type SetupSecurityQuestionsResponse
- type SignInRequest
- type SignInResponse
- type SignOutResponse
- type SignUpRequest
- type SignUpResponse
- type SocialAccount
- type StartImpersonationRequest
- type StartImpersonationResponse
- type StartRecoveryRequest
- type StartRecoveryResponse
- type StartVideoSessionRequest
- type StartVideoSessionResponse
- type StateStorageConfig
- type StateStore
- type StatsResponse
- type Status
- type StatusResponse
- type StepUpAttempt
- type StepUpAuditLog
- type StepUpAuditLogsResponse
- type StepUpDevicesResponse
- type StepUpErrorResponse
- type StepUpEvaluationResponse
- type StepUpPoliciesResponse
- type StepUpPolicy
- type StepUpPolicyResponse
- type StepUpRememberedDevice
- type StepUpRequirement
- type StepUpRequirementResponse
- type StepUpRequirementsResponse
- type StepUpStatusResponse
- type StepUpVerification
- type StepUpVerificationResponse
- type StepUpVerificationsResponse
- type StripeIdentityConfig
- type StripeIdentityProvider
- type SuccessResponse
- type TOTPConfig
- type TOTPFactorAdapter
- type TOTPSecret
- type Team
- type TeamHandler
- type TeamsResponse
- type TemplateDefault
- type TemplateEngine
- type TemplateResponse
- type TemplateService
- type TemplatesListResponse
- type TemplatesResponse
- type TestCase
- type TestCaseResult
- type TestPolicyRequest
- type TestPolicyResponse
- type TestProvider_req
- type TestSendTemplate_req
- type Time
- type TimeBasedRule
- type TokenIntrospectionRequest
- type TokenIntrospectionResponse
- type TokenRequest
- type TokenResponse
- type TokenRevocationRequest
- type TrackNotificationEvent_req
- type TrustDeviceRequest
- type TrustedContact
- type TrustedContactInfo
- type TrustedContactsConfig
- type TrustedDevice
- type TrustedDevicesConfig
- type TwoFABackupCodesResponse
- type TwoFAEnableResponse
- type TwoFAErrorResponse
- type TwoFARequiredResponse
- type TwoFASendOTPResponse
- type TwoFAStatusDetailResponse
- type TwoFAStatusResponse
- type UnassignRoleRequest
- type UnbanUserRequest
- type UnbanUserRequestDTO
- type UnblockUserRequest
- type UnpublishContentTypeRequest
- type UnpublishEntryRequest
- type UpdateAPIKeyRequest
- type UpdateAppRequest
- type UpdateClientRequest
- type UpdateClientResponse
- type UpdateConsentRequest
- type UpdateConsentResponse
- type UpdateContentTypeRequest
- type UpdateEntryRequest
- type UpdateFactorRequest
- type UpdateFieldRequest
- type UpdateMemberHandlerRequest
- type UpdateMemberRequest
- type UpdateMemberRoleRequest
- type UpdateNamespaceRequest
- type UpdateOrganizationHandlerRequest
- type UpdatePasskeyRequest
- type UpdatePasskeyResponse
- type UpdatePolicyRequest
- type UpdatePolicyResponse
- type UpdatePolicy_req
- type UpdatePrivacySettingsRequest
- type UpdatePrivacySettingsResponse
- type UpdateProfileRequest
- type UpdateProfileResponse
- type UpdateProviderRequest
- type UpdateProvider_req
- type UpdateRecoveryConfigRequest
- type UpdateRecoveryConfigResponse
- type UpdateRequest
- type UpdateResponse
- type UpdateSecretRequest
- type UpdateTeamHandlerRequest
- type UpdateTeamRequest
- type UpdateTemplateRequest
- type UpdateTemplateResponse
- type UpdateUserRequest
- type UpdateUserResponse
- type UploadDocumentRequest
- type UploadDocumentResponse
- type User
- type UserAdapter
- type UserInfoResponse
- type UserServiceAdapter
- type UserVerificationStatus
- type UserVerificationStatusResponse
- type ValidateContentTypeRequest
- type ValidatePolicyRequest
- type ValidatePolicyResponse
- type ValidateResetTokenResponse
- type VerificationListResponse
- type VerificationMethod
- type VerificationRepository
- type VerificationRequest
- type VerificationResponse
- type VerificationResult
- type VerificationSessionResponse
- type VerificationsResponse
- type VerifyAPIKeyRequest
- type VerifyChallengeRequest
- type VerifyChallengeResponse
- type VerifyCodeRequest
- type VerifyCodeResponse
- type VerifyEnrolledFactorRequest
- type VerifyImpersonationRequest
- type VerifyImpersonationResponse
- type VerifyRecoveryCodeRequest
- type VerifyRecoveryCodeResponse
- type VerifyRequest
- type VerifyRequest2FA
- type VerifyResponse
- type VerifySecurityAnswersRequest
- type VerifySecurityAnswersResponse
- type VerifyTokenRequest
- type VerifyTrustedContactRequest
- type VerifyTrustedContactResponse
- type VersioningConfig
- type VideoSessionInfo
- type VideoSessionResult
- type VideoVerificationConfig
- type VideoVerificationSession
- type WebAuthnConfig
- type WebAuthnFactorAdapter
- type WebAuthnWrapper
- type Webhook
- type WebhookConfig
- type WebhookPayload
- type WebhookResponse
Constants ¶
This section is empty.
Variables ¶
var ( ErrForbidden = &Error{Message: "Forbidden", StatusCode: 403, Code: "FORBIDDEN"} ErrNotFound = &Error{Message: "Not found", StatusCode: 404, Code: "NOT_FOUND"} ErrConflict = &Error{Message: "Conflict", StatusCode: 409, Code: "CONFLICT"} ErrRateLimit = &Error{Message: "Rate limit exceeded", StatusCode: 429, Code: "RATE_LIMIT"} ErrServer = &Error{Message: "Internal server error", StatusCode: 500, Code: "SERVER_ERROR"} )
Specific error types
Functions ¶
func GetEnvironmentID ¶
GetEnvironmentID retrieves environment ID from context
func SetContextAppAndEnvironment ¶
SetContextAppAndEnvironment adds both app and environment IDs to context
func WithEnvironmentID ¶
WithEnvironmentID adds environment ID to context
Types ¶
type AcceptInvitationRequest ¶
type AcceptInvitationRequest struct {
Token string `json:"token"`
}
type AccessConfig ¶
type AccessTokenClaims ¶
type AccountAutoSendConfig ¶
type AccountAutoSendConfig struct {
Deleted bool `json:"deleted"`
Email_change_request bool `json:"email_change_request"`
Email_changed bool `json:"email_changed"`
Password_changed bool `json:"password_changed"`
Reactivated bool `json:"reactivated"`
Suspended bool `json:"suspended"`
Username_changed bool `json:"username_changed"`
}
type AccountLockedResponse ¶
type AccountLockoutError ¶
type AccountLockoutError struct {
}
type ActionResponse ¶
type ActionsListResponse ¶
type ActionsListResponse struct {
Actions []*ActionResponse `json:"actions"`
TotalCount int `json:"totalCount"`
}
type AdaptiveMFAConfig ¶
type AdaptiveMFAConfig struct {
Factor_ip_reputation bool `json:"factor_ip_reputation"`
Factor_new_device bool `json:"factor_new_device"`
Factor_velocity bool `json:"factor_velocity"`
Location_change_risk float64 `json:"location_change_risk"`
New_device_risk float64 `json:"new_device_risk"`
Risk_threshold float64 `json:"risk_threshold"`
Velocity_risk float64 `json:"velocity_risk"`
Enabled bool `json:"enabled"`
Factor_location_change bool `json:"factor_location_change"`
Require_step_up_threshold float64 `json:"require_step_up_threshold"`
}
type AddCustomPermission_req ¶
type AddFieldRequest ¶
type AddFieldRequest struct {
}
type AddMemberRequest ¶
type AddTeamMemberRequest ¶
type AddTeamMemberRequest struct {
Member_id string `json:"member_id"`
}
type AddTeamMember_req ¶
type AdminAddProviderRequest ¶
type AdminBlockUserRequest ¶
type AdminBlockUserRequest struct {
Reason string `json:"reason"`
}
type AdminBlockUserResponse ¶
type AdminBlockUserResponse struct {
Status interface{} `json:"status"`
}
type AdminBlockUser_req ¶
type AdminBlockUser_req struct {
Reason string `json:"reason"`
}
type AdminBypassRequest ¶
type AdminGetUserVerificationStatusResponse ¶
type AdminGetUserVerificationStatusResponse struct {
Status interface{} `json:"status"`
}
type AdminGetUserVerificationsResponse ¶
type AdminGetUserVerificationsResponse struct {
Verifications []*interface{} `json:"verifications"`
}
type AdminHandler ¶
type AdminHandler struct {
}
type AdminPolicyRequest ¶
type AdminUnblockUserResponse ¶
type AdminUnblockUserResponse struct {
Status interface{} `json:"status"`
}
type AmountRule ¶
type AnalyticsResponse ¶
type AnalyticsResponse struct {
GeneratedAt time.Time `json:"generatedAt"`
Summary AnalyticsSummary `json:"summary"`
TimeRange interface{} `json:"timeRange"`
}
type AnalyticsSummary ¶
type AnalyticsSummary struct {
TopPolicies []PolicyStats `json:"topPolicies"`
TopResourceTypes []ResourceTypeStats `json:"topResourceTypes"`
AllowedCount int64 `json:"allowedCount"`
CacheHitRate float64 `json:"cacheHitRate"`
TotalEvaluations int64 `json:"totalEvaluations"`
TotalPolicies int `json:"totalPolicies"`
ActivePolicies int `json:"activePolicies"`
AvgLatencyMs float64 `json:"avgLatencyMs"`
DeniedCount int64 `json:"deniedCount"`
}
type AppHandler ¶
type AppHandler struct {
}
type AppServiceAdapter ¶
type AppServiceAdapter struct {
}
type ApproveDeletionRequestResponse ¶
type ApproveDeletionRequestResponse struct {
Status string `json:"status"`
}
type ApproveRecoveryRequest ¶
type ApproveRecoveryResponse ¶
type ArchiveEntryRequest ¶
type ArchiveEntryRequest struct {
}
type AssignRoleRequest ¶
type AssignRoleRequest struct {
RoleID string `json:"roleID"`
}
type AsyncAdapter ¶
type AsyncAdapter struct {
}
type AsyncConfig ¶
type AsyncConfig struct {
Max_retries int `json:"max_retries"`
Persist_failures bool `json:"persist_failures"`
Queue_size int `json:"queue_size"`
Retry_backoff []string `json:"retry_backoff"`
Retry_enabled bool `json:"retry_enabled"`
Worker_pool_size int `json:"worker_pool_size"`
Enabled bool `json:"enabled"`
}
type AuditConfig ¶
type AuditEvent ¶
type AuditEvent struct {
}
type AuditLogEntry ¶
type AuditLogEntry struct {
AppId string `json:"appId"`
NewValue interface{} `json:"newValue"`
ResourceType string `json:"resourceType"`
UserOrganizationId *string `json:"userOrganizationId"`
ActorId string `json:"actorId"`
EnvironmentId string `json:"environmentId"`
Id string `json:"id"`
IpAddress string `json:"ipAddress"`
OldValue interface{} `json:"oldValue"`
ResourceId string `json:"resourceId"`
Timestamp time.Time `json:"timestamp"`
UserAgent string `json:"userAgent"`
Action string `json:"action"`
}
type AuditLogResponse ¶
type AuditLogResponse struct {
Entries []*AuditLogEntry `json:"entries"`
Page int `json:"page"`
PageSize int `json:"pageSize"`
TotalCount int `json:"totalCount"`
}
type AuditServiceAdapter ¶
type AuditServiceAdapter struct {
}
type AuthAutoSendConfig ¶
type AuthURLResponse ¶
type AuthURLResponse struct {
Url string `json:"url"`
}
type AuthorizeRequest ¶
type AuthorizeRequest struct {
Login_hint string `json:"login_hint"`
Max_age *int `json:"max_age"`
Nonce string `json:"nonce"`
Prompt string `json:"prompt"`
Scope string `json:"scope"`
Acr_values string `json:"acr_values"`
Id_token_hint string `json:"id_token_hint"`
Redirect_uri string `json:"redirect_uri"`
Response_type string `json:"response_type"`
State string `json:"state"`
Ui_locales string `json:"ui_locales"`
Client_id string `json:"client_id"`
Code_challenge string `json:"code_challenge"`
Code_challenge_method string `json:"code_challenge_method"`
}
type AutoCleanupConfig ¶
type AutoSendConfig ¶
type AutoSendConfig struct {
Organization OrganizationAutoSendConfig `json:"organization"`
Session SessionAutoSendConfig `json:"session"`
Account AccountAutoSendConfig `json:"account"`
Auth AuthAutoSendConfig `json:"auth"`
}
type AutomatedChecksConfig ¶
type AutomatedChecksConfig struct {
AccessReview bool `json:"accessReview"`
CheckInterval time.Duration `json:"checkInterval"`
DataRetention bool `json:"dataRetention"`
Enabled bool `json:"enabled"`
InactiveUsers bool `json:"inactiveUsers"`
MfaCoverage bool `json:"mfaCoverage"`
SuspiciousActivity bool `json:"suspiciousActivity"`
PasswordPolicy bool `json:"passwordPolicy"`
SessionPolicy bool `json:"sessionPolicy"`
}
type BackupAuthCodesResponse ¶
type BackupAuthCodesResponse struct {
Codes []string `json:"codes"`
}
type BackupAuthConfigResponse ¶
type BackupAuthConfigResponse struct {
Config interface{} `json:"config"`
}
type BackupAuthContactResponse ¶
type BackupAuthContactResponse struct {
Id string `json:"id"`
}
type BackupAuthContactsResponse ¶
type BackupAuthContactsResponse struct {
Contacts []*interface{} `json:"contacts"`
}
type BackupAuthDocumentResponse ¶
type BackupAuthDocumentResponse struct {
Id string `json:"id"`
}
type BackupAuthQuestionsResponse ¶
type BackupAuthQuestionsResponse struct {
Questions []string `json:"questions"`
}
type BackupAuthRecoveryResponse ¶
type BackupAuthRecoveryResponse struct {
Session_id string `json:"session_id"`
}
type BackupAuthSessionsResponse ¶
type BackupAuthSessionsResponse struct {
Sessions []*interface{} `json:"sessions"`
}
type BackupAuthStatsResponse ¶
type BackupAuthStatsResponse struct {
Stats interface{} `json:"stats"`
}
type BackupAuthStatusResponse ¶
type BackupAuthStatusResponse struct {
Status string `json:"status"`
}
type BackupAuthVideoResponse ¶
type BackupAuthVideoResponse struct {
Session_id string `json:"session_id"`
}
type BackupCodeFactorAdapter ¶
type BackupCodeFactorAdapter struct {
}
type BackupCodesConfig ¶
type BanUserRequest ¶
type BanUserRequestDTO ¶
type BaseFactorAdapter ¶
type BaseFactorAdapter struct {
}
type BatchEvaluateRequest ¶
type BatchEvaluateRequest struct {
Requests []EvaluateRequest `json:"requests"`
}
type BatchEvaluateResponse ¶
type BatchEvaluateResponse struct {
TotalEvaluations int `json:"totalEvaluations"`
TotalTimeMs float64 `json:"totalTimeMs"`
FailureCount int `json:"failureCount"`
Results []*BatchEvaluationResult `json:"results"`
SuccessCount int `json:"successCount"`
}
type BatchEvaluationResult ¶
type BatchEvaluationResult struct {
Error string `json:"error"`
EvaluationTimeMs float64 `json:"evaluationTimeMs"`
Index int `json:"index"`
Policies []string `json:"policies"`
ResourceId string `json:"resourceId"`
ResourceType string `json:"resourceType"`
Action string `json:"action"`
Allowed bool `json:"allowed"`
}
type BeginLoginRequest ¶
type BeginLoginResponse ¶
type BeginRegisterRequest ¶
type BeginRegisterResponse ¶
type BlockUserRequest ¶
type BlockUserRequest struct {
Reason string `json:"reason"`
}
type BulkDeleteRequest ¶
type BulkDeleteRequest struct {
Ids []string `json:"ids"`
}
type BulkPublishRequest ¶
type BulkPublishRequest struct {
Ids []string `json:"ids"`
}
type BulkRequest ¶
type BulkRequest struct {
Ids []string `json:"ids"`
}
type BulkUnpublishRequest ¶
type BulkUnpublishRequest struct {
Ids []string `json:"ids"`
}
type BunRepository ¶
type BunRepository struct {
}
type CallbackDataResponse ¶
type CallbackResponse ¶
type CallbackResult ¶
type CallbackResult struct {
}
type CancelRecoveryRequest ¶
type CancelRecoveryResponse ¶
type CancelRecoveryResponse struct {
Status string `json:"status"`
}
type Challenge ¶
type Challenge struct {
UserAgent string `json:"userAgent"`
UserId xid.ID `json:"userId"`
VerifiedAt Time `json:"verifiedAt"`
Attempts int `json:"attempts"`
CreatedAt time.Time `json:"createdAt"`
ExpiresAt time.Time `json:"expiresAt"`
FactorId xid.ID `json:"factorId"`
IpAddress string `json:"ipAddress"`
MaxAttempts int `json:"maxAttempts"`
Metadata interface{} `json:"metadata"`
Id xid.ID `json:"id"`
Status ChallengeStatus `json:"status"`
Type FactorType `json:"type"`
}
type ChallengeRequest ¶
type ChallengeRequest struct {
Context string `json:"context"`
FactorTypes []FactorType `json:"factorTypes"`
Metadata interface{} `json:"metadata"`
UserId xid.ID `json:"userId"`
}
type ChallengeResponse ¶
type ChallengeSession ¶
type ChallengeSession struct {
}
type ChallengeStatus ¶
type ChallengeStatus = string
Placeholder type aliases for undefined enum/custom types
type ChallengeStatusResponse ¶
type ChallengeStatusResponse struct {
Status string `json:"status"`
CompletedAt Time `json:"completedAt"`
ExpiresAt time.Time `json:"expiresAt"`
FactorsRemaining int `json:"factorsRemaining"`
FactorsRequired int `json:"factorsRequired"`
FactorsVerified int `json:"factorsVerified"`
SessionId xid.ID `json:"sessionId"`
}
type ChangePasswordRequest ¶
type ChangePasswordResponse ¶
type ChangePasswordResponse struct {
Message string `json:"message"`
}
type ChannelsResponse ¶
type ChannelsResponse struct {
Channels interface{} `json:"channels"`
Count int `json:"count"`
}
type CheckDependencies ¶
type CheckDependencies struct {
}
type CheckMetadata ¶
type CheckRegistry ¶
type CheckRegistry struct {
}
type CheckResult ¶
type CheckSubResult ¶
type CheckSubResult struct {
}
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client is the main AuthSome client
func (*Client) ChangePassword ¶
func (c *Client) ChangePassword(ctx context.Context, req *ChangePasswordRequest) (*ChangePasswordResponse, error)
ChangePassword Change password for authenticated user
func (*Client) ConfirmEmailChange ¶
func (c *Client) ConfirmEmailChange(ctx context.Context, req *ConfirmEmailChangeRequest) (*ConfirmEmailChangeResponse, error)
ConfirmEmailChange Confirm email change using token
func (*Client) ForgeMiddleware ¶
func (c *Client) ForgeMiddleware() forge.Middleware
ForgeMiddleware returns a Forge middleware that injects auth into context This middleware verifies the session with the AuthSome backend and populates the request context with user and session information
func (*Client) GetAppContext ¶
GetAppContext returns the current app and environment IDs
func (*Client) GetCurrentSession ¶
GetCurrentSession retrieves the current session
func (*Client) GetCurrentUser ¶
GetCurrentUser retrieves the current user from the session
func (*Client) GetSession ¶
func (c *Client) GetSession(ctx context.Context) (*GetSessionResponse, error)
GetSession Get current session information
func (*Client) ListDevices ¶
func (c *Client) ListDevices(ctx context.Context) (*ListDevicesResponse, error)
ListDevices List user devices
func (*Client) NewHTTPClientWithAuth ¶
NewHTTPClientWithAuth creates a new http.Client with automatic auth injection This is a convenience function for creating HTTP clients with AuthSome authentication
func (*Client) OptionalAuth ¶
func (c *Client) OptionalAuth() forge.Middleware
OptionalAuth returns Forge middleware that optionally loads auth if present Unlike RequireAuth, this does not block unauthenticated requests
func (*Client) RefreshSession ¶
func (c *Client) RefreshSession(ctx context.Context, req *RefreshSessionRequest) (*RefreshSessionResponse, error)
RefreshSession Refresh access token using refresh token
func (*Client) Request ¶
func (c *Client) Request(ctx context.Context, method, path string, body interface{}, result interface{}, auth bool) error
Request makes an HTTP request - exposed for plugin use
func (*Client) RequestEmailChange ¶
func (c *Client) RequestEmailChange(ctx context.Context, req *RequestEmailChangeRequest) (*RequestEmailChangeResponse, error)
RequestEmailChange Request email address change
func (*Client) RequestPasswordReset ¶
func (c *Client) RequestPasswordReset(ctx context.Context, req *RequestPasswordResetRequest) (*RequestPasswordResetResponse, error)
RequestPasswordReset Request password reset link
func (*Client) RequireAuth ¶
func (c *Client) RequireAuth() forge.Middleware
RequireAuth returns Forge middleware that requires authentication Requests without valid authentication will receive a 401 response
func (*Client) ResetPassword ¶
func (c *Client) ResetPassword(ctx context.Context, req *ResetPasswordRequest) (*ResetPasswordResponse, error)
ResetPassword Reset password using token
func (*Client) RevokeDevice ¶
func (c *Client) RevokeDevice(ctx context.Context, req *RevokeDeviceRequest) (*RevokeDeviceResponse, error)
RevokeDevice Revoke a device
func (*Client) RoundTripper ¶
func (c *Client) RoundTripper() http.RoundTripper
RoundTripper returns an http.RoundTripper that injects authentication You can use this with any standard http.Client:
httpClient := &http.Client{
Transport: authClient.RoundTripper(),
}
func (*Client) SetAppContext ¶
SetAppContext sets the app and environment context
func (*Client) SignIn ¶
func (c *Client) SignIn(ctx context.Context, req *SignInRequest) (*SignInResponse, error)
SignIn Sign in with email and password
func (*Client) SignOut ¶
func (c *Client) SignOut(ctx context.Context) (*SignOutResponse, error)
SignOut Sign out and invalidate session
func (*Client) SignUp ¶
func (c *Client) SignUp(ctx context.Context, req *SignUpRequest) (*SignUpResponse, error)
SignUp Create a new user account
func (*Client) UpdateUser ¶
func (c *Client) UpdateUser(ctx context.Context, req *UpdateUserRequest) (*UpdateUserResponse, error)
UpdateUser Update current user profile
func (*Client) ValidateResetToken ¶
func (c *Client) ValidateResetToken(ctx context.Context) (*ValidateResetTokenResponse, error)
ValidateResetToken Validate password reset token
type ClientAuthResult ¶
type ClientAuthResult struct {
}
type ClientAuthenticator ¶
type ClientAuthenticator struct {
}
type ClientDetailsResponse ¶
type ClientDetailsResponse struct {
RedirectURIs []string `json:"redirectURIs"`
RequirePKCE bool `json:"requirePKCE"`
TokenEndpointAuthMethod string `json:"tokenEndpointAuthMethod"`
TrustedClient bool `json:"trustedClient"`
AllowedScopes []string `json:"allowedScopes"`
CreatedAt string `json:"createdAt"`
GrantTypes []string `json:"grantTypes"`
LogoURI string `json:"logoURI"`
TosURI string `json:"tosURI"`
Name string `json:"name"`
OrganizationID string `json:"organizationID"`
PolicyURI string `json:"policyURI"`
UpdatedAt string `json:"updatedAt"`
ApplicationType string `json:"applicationType"`
ClientID string `json:"clientID"`
RequireConsent bool `json:"requireConsent"`
ResponseTypes []string `json:"responseTypes"`
Contacts []string `json:"contacts"`
IsOrgLevel bool `json:"isOrgLevel"`
PostLogoutRedirectURIs []string `json:"postLogoutRedirectURIs"`
}
type ClientRegistrationRequest ¶
type ClientRegistrationRequest struct {
Redirect_uris []string `json:"redirect_uris"`
Trusted_client bool `json:"trusted_client"`
Contacts []string `json:"contacts"`
Grant_types []string `json:"grant_types"`
Logo_uri string `json:"logo_uri"`
Scope string `json:"scope"`
Require_consent bool `json:"require_consent"`
Token_endpoint_auth_method string `json:"token_endpoint_auth_method"`
Tos_uri string `json:"tos_uri"`
Post_logout_redirect_uris []string `json:"post_logout_redirect_uris"`
Require_pkce bool `json:"require_pkce"`
Response_types []string `json:"response_types"`
Application_type string `json:"application_type"`
Client_name string `json:"client_name"`
Policy_uri string `json:"policy_uri"`
}
type ClientRegistrationResponse ¶
type ClientRegistrationResponse struct {
Logo_uri string `json:"logo_uri"`
Tos_uri string `json:"tos_uri"`
Client_name string `json:"client_name"`
Response_types []string `json:"response_types"`
Client_id string `json:"client_id"`
Client_secret_expires_at int64 `json:"client_secret_expires_at"`
Policy_uri string `json:"policy_uri"`
Post_logout_redirect_uris []string `json:"post_logout_redirect_uris"`
Contacts []string `json:"contacts"`
Grant_types []string `json:"grant_types"`
Token_endpoint_auth_method string `json:"token_endpoint_auth_method"`
Redirect_uris []string `json:"redirect_uris"`
Scope string `json:"scope"`
Application_type string `json:"application_type"`
Client_id_issued_at int64 `json:"client_id_issued_at"`
Client_secret string `json:"client_secret"`
}
type ClientSummary ¶
type ClientUpdateRequest ¶
type ClientUpdateRequest struct {
Token_endpoint_auth_method string `json:"token_endpoint_auth_method"`
Contacts []string `json:"contacts"`
Grant_types []string `json:"grant_types"`
Logo_uri string `json:"logo_uri"`
Require_pkce *bool `json:"require_pkce"`
Tos_uri string `json:"tos_uri"`
Trusted_client *bool `json:"trusted_client"`
Allowed_scopes []string `json:"allowed_scopes"`
Name string `json:"name"`
Policy_uri string `json:"policy_uri"`
Post_logout_redirect_uris []string `json:"post_logout_redirect_uris"`
Redirect_uris []string `json:"redirect_uris"`
Require_consent *bool `json:"require_consent"`
Response_types []string `json:"response_types"`
}
type ClientsListResponse ¶
type ClientsListResponse struct {
Clients []ClientSummary `json:"clients"`
Page int `json:"page"`
PageSize int `json:"pageSize"`
Total int `json:"total"`
TotalPages int `json:"totalPages"`
}
type CloneContentTypeRequest ¶
type CloneContentTypeRequest struct {
}
type CodesResponse ¶
type CodesResponse struct {
Codes []string `json:"codes"`
}
type CompareRevisionsRequest ¶
type CompareRevisionsRequest struct {
}
type CompleteRecoveryRequest ¶
type CompleteTrainingRequest ¶
type CompleteTrainingRequest struct {
Score int `json:"score"`
}
type CompleteTrainingResponse ¶
type CompleteTrainingResponse struct {
Status string `json:"status"`
}
type CompleteTraining_req ¶
type CompleteTraining_req struct {
Score int `json:"score"`
}
type ComplianceCheck ¶
type ComplianceCheck struct {
CheckType string `json:"checkType"`
CreatedAt time.Time `json:"createdAt"`
Evidence []string `json:"evidence"`
LastCheckedAt time.Time `json:"lastCheckedAt"`
NextCheckAt time.Time `json:"nextCheckAt"`
ProfileId string `json:"profileId"`
Result interface{} `json:"result"`
Status string `json:"status"`
AppId string `json:"appId"`
Id string `json:"id"`
}
type ComplianceCheckResponse ¶
type ComplianceCheckResponse struct {
Id string `json:"id"`
}
type ComplianceChecksResponse ¶
type ComplianceChecksResponse struct {
Checks []*interface{} `json:"checks"`
}
type ComplianceDashboardResponse ¶
type ComplianceDashboardResponse struct {
Metrics interface{} `json:"metrics"`
}
type ComplianceEvidence ¶
type ComplianceEvidence struct {
EvidenceType string `json:"evidenceType"`
FileHash string `json:"fileHash"`
FileUrl string `json:"fileUrl"`
Id string `json:"id"`
ProfileId string `json:"profileId"`
Standard ComplianceStandard `json:"standard"`
Title string `json:"title"`
AppId string `json:"appId"`
CollectedBy string `json:"collectedBy"`
CreatedAt time.Time `json:"createdAt"`
Description string `json:"description"`
Metadata interface{} `json:"metadata"`
ControlId string `json:"controlId"`
}
type ComplianceEvidenceResponse ¶
type ComplianceEvidenceResponse struct {
Id string `json:"id"`
}
type ComplianceEvidencesResponse ¶
type ComplianceEvidencesResponse struct {
Evidence []*interface{} `json:"evidence"`
}
type CompliancePoliciesResponse ¶
type CompliancePoliciesResponse struct {
Policies []*interface{} `json:"policies"`
}
type CompliancePolicy ¶
type CompliancePolicy struct {
PolicyType string `json:"policyType"`
ReviewDate time.Time `json:"reviewDate"`
ApprovedBy string `json:"approvedBy"`
CreatedAt time.Time `json:"createdAt"`
EffectiveDate time.Time `json:"effectiveDate"`
Metadata interface{} `json:"metadata"`
UpdatedAt time.Time `json:"updatedAt"`
Version string `json:"version"`
AppId string `json:"appId"`
ApprovedAt Time `json:"approvedAt"`
ProfileId string `json:"profileId"`
Standard ComplianceStandard `json:"standard"`
Content string `json:"content"`
Status string `json:"status"`
Title string `json:"title"`
Id string `json:"id"`
}
type CompliancePolicyResponse ¶
type CompliancePolicyResponse struct {
Id string `json:"id"`
}
type ComplianceProfile ¶
type ComplianceProfile struct {
MfaRequired bool `json:"mfaRequired"`
RbacRequired bool `json:"rbacRequired"`
AppId string `json:"appId"`
PasswordMinLength int `json:"passwordMinLength"`
PasswordRequireLower bool `json:"passwordRequireLower"`
PasswordRequireNumber bool `json:"passwordRequireNumber"`
RegularAccessReview bool `json:"regularAccessReview"`
AuditLogExport bool `json:"auditLogExport"`
RetentionDays int `json:"retentionDays"`
SessionIpBinding bool `json:"sessionIpBinding"`
Name string `json:"name"`
ComplianceContact string `json:"complianceContact"`
Id string `json:"id"`
Status string `json:"status"`
EncryptionAtRest bool `json:"encryptionAtRest"`
LeastPrivilege bool `json:"leastPrivilege"`
PasswordExpiryDays int `json:"passwordExpiryDays"`
PasswordRequireSymbol bool `json:"passwordRequireSymbol"`
PasswordRequireUpper bool `json:"passwordRequireUpper"`
SessionIdleTimeout int `json:"sessionIdleTimeout"`
CreatedAt time.Time `json:"createdAt"`
Metadata interface{} `json:"metadata"`
UpdatedAt time.Time `json:"updatedAt"`
DataResidency string `json:"dataResidency"`
DpoContact string `json:"dpoContact"`
EncryptionInTransit bool `json:"encryptionInTransit"`
SessionMaxAge int `json:"sessionMaxAge"`
Standards []ComplianceStandard `json:"standards"`
DetailedAuditTrail bool `json:"detailedAuditTrail"`
}
type ComplianceProfileResponse ¶
type ComplianceProfileResponse struct {
Id string `json:"id"`
}
type ComplianceReport ¶
type ComplianceReport struct {
Status string `json:"status"`
AppId string `json:"appId"`
CreatedAt time.Time `json:"createdAt"`
Id string `json:"id"`
Period string `json:"period"`
ProfileId string `json:"profileId"`
Summary interface{} `json:"summary"`
ExpiresAt time.Time `json:"expiresAt"`
FileSize int64 `json:"fileSize"`
FileUrl string `json:"fileUrl"`
Format string `json:"format"`
GeneratedBy string `json:"generatedBy"`
ReportType string `json:"reportType"`
Standard ComplianceStandard `json:"standard"`
}
type ComplianceReportResponse ¶
type ComplianceReportResponse struct {
Id string `json:"id"`
}
type ComplianceReportsResponse ¶
type ComplianceReportsResponse struct {
Reports []*interface{} `json:"reports"`
}
type ComplianceStandard ¶
type ComplianceStandard = string
Placeholder type aliases for undefined enum/custom types
type ComplianceStatus ¶
type ComplianceStatus struct {
NextAudit time.Time `json:"nextAudit"`
ProfileId string `json:"profileId"`
Standard ComplianceStandard `json:"standard"`
LastChecked time.Time `json:"lastChecked"`
OverallStatus string `json:"overallStatus"`
Score int `json:"score"`
Violations int `json:"violations"`
AppId string `json:"appId"`
ChecksFailed int `json:"checksFailed"`
ChecksPassed int `json:"checksPassed"`
ChecksWarning int `json:"checksWarning"`
}
type ComplianceStatusDetailsResponse ¶
type ComplianceStatusDetailsResponse struct {
Status string `json:"status"`
}
type ComplianceStatusResponse ¶
type ComplianceStatusResponse struct {
Status string `json:"status"`
}
type ComplianceTemplate ¶
type ComplianceTemplate struct {
Name string `json:"name"`
PasswordMinLength int `json:"passwordMinLength"`
RequiredPolicies []string `json:"requiredPolicies"`
Standard ComplianceStandard `json:"standard"`
AuditFrequencyDays int `json:"auditFrequencyDays"`
DataResidency string `json:"dataResidency"`
Description string `json:"description"`
RequiredTraining []string `json:"requiredTraining"`
RetentionDays int `json:"retentionDays"`
SessionMaxAge int `json:"sessionMaxAge"`
MfaRequired bool `json:"mfaRequired"`
}
type ComplianceTemplateResponse ¶
type ComplianceTemplateResponse struct {
Standard string `json:"standard"`
}
type ComplianceTemplatesResponse ¶
type ComplianceTemplatesResponse struct {
Templates []*interface{} `json:"templates"`
}
type ComplianceTraining ¶
type ComplianceTraining struct {
AppId string `json:"appId"`
CreatedAt time.Time `json:"createdAt"`
ExpiresAt Time `json:"expiresAt"`
Id string `json:"id"`
Metadata interface{} `json:"metadata"`
Score int `json:"score"`
Status string `json:"status"`
TrainingType string `json:"trainingType"`
CompletedAt Time `json:"completedAt"`
ProfileId string `json:"profileId"`
Standard ComplianceStandard `json:"standard"`
UserId string `json:"userId"`
}
type ComplianceTrainingResponse ¶
type ComplianceTrainingResponse struct {
Id string `json:"id"`
}
type ComplianceTrainingsResponse ¶
type ComplianceTrainingsResponse struct {
Training []*interface{} `json:"training"`
}
type ComplianceUserTrainingResponse ¶
type ComplianceUserTrainingResponse struct {
User_id string `json:"user_id"`
}
type ComplianceViolation ¶
type ComplianceViolation struct {
ProfileId string `json:"profileId"`
ResolvedAt Time `json:"resolvedAt"`
Status string `json:"status"`
ViolationType string `json:"violationType"`
AppId string `json:"appId"`
CreatedAt time.Time `json:"createdAt"`
Metadata interface{} `json:"metadata"`
ResolvedBy string `json:"resolvedBy"`
Severity string `json:"severity"`
UserId string `json:"userId"`
Description string `json:"description"`
Id string `json:"id"`
}
type ComplianceViolationResponse ¶
type ComplianceViolationResponse struct {
Id string `json:"id"`
}
type ComplianceViolationsResponse ¶
type ComplianceViolationsResponse struct {
Violations []*interface{} `json:"violations"`
}
type Config ¶
type Config struct {
CcpaEnabled bool `json:"ccpaEnabled"`
DataDeletion DataDeletionConfig `json:"dataDeletion"`
DataExport DataExportConfig `json:"dataExport"`
GdprEnabled bool `json:"gdprEnabled"`
Audit ConsentAuditConfig `json:"audit"`
CookieConsent CookieConsentConfig `json:"cookieConsent"`
Dashboard ConsentDashboardConfig `json:"dashboard"`
Enabled bool `json:"enabled"`
Expiry ConsentExpiryConfig `json:"expiry"`
Notifications ConsentNotificationsConfig `json:"notifications"`
}
type ConfigSourceConfig ¶
type ConfirmEmailChangeRequest ¶
type ConfirmEmailChangeRequest struct {
Token string `json:"token"`
}
type ConfirmEmailChangeResponse ¶
type ConfirmEmailChangeResponse struct {
Message string `json:"message"`
}
type ConnectionResponse ¶
type ConnectionResponse struct {
Connection SocialAccount `json:"connection"`
}
type ConnectionsResponse ¶
type ConnectionsResponse struct {
Connections SocialAccount `json:"connections"`
}
type ConsentAuditConfig ¶
type ConsentAuditConfig struct {
Enabled bool `json:"enabled"`
ExportFormat string `json:"exportFormat"`
Immutable bool `json:"immutable"`
LogUserAgent bool `json:"logUserAgent"`
RetentionDays int `json:"retentionDays"`
ArchiveInterval time.Duration `json:"archiveInterval"`
ArchiveOldLogs bool `json:"archiveOldLogs"`
LogAllChanges bool `json:"logAllChanges"`
LogIpAddress bool `json:"logIpAddress"`
SignLogs bool `json:"signLogs"`
}
type ConsentAuditLog ¶
type ConsentAuditLog struct {
UserId string `json:"userId"`
ConsentId string `json:"consentId"`
IpAddress string `json:"ipAddress"`
NewValue JSONBMap `json:"newValue"`
Purpose string `json:"purpose"`
Reason string `json:"reason"`
Action string `json:"action"`
ConsentType string `json:"consentType"`
CreatedAt time.Time `json:"createdAt"`
Id xid.ID `json:"id"`
OrganizationId string `json:"organizationId"`
PreviousValue JSONBMap `json:"previousValue"`
UserAgent string `json:"userAgent"`
}
type ConsentAuditLogsResponse ¶
type ConsentAuditLogsResponse struct {
Audit_logs []*interface{} `json:"audit_logs"`
}
type ConsentCookieResponse ¶
type ConsentCookieResponse struct {
Preferences interface{} `json:"preferences"`
}
type ConsentDashboardConfig ¶
type ConsentDashboardConfig struct {
Enabled bool `json:"enabled"`
Path string `json:"path"`
ShowAuditLog bool `json:"showAuditLog"`
ShowConsentHistory bool `json:"showConsentHistory"`
ShowCookiePreferences bool `json:"showCookiePreferences"`
ShowDataDeletion bool `json:"showDataDeletion"`
ShowDataExport bool `json:"showDataExport"`
ShowPolicies bool `json:"showPolicies"`
}
type ConsentDecision ¶
type ConsentDecision struct {
}
type ConsentDeletionResponse ¶
type ConsentExpiryConfig ¶
type ConsentExpiryConfig struct {
AutoExpireCheck bool `json:"autoExpireCheck"`
DefaultValidityDays int `json:"defaultValidityDays"`
Enabled bool `json:"enabled"`
ExpireCheckInterval time.Duration `json:"expireCheckInterval"`
RenewalReminderDays int `json:"renewalReminderDays"`
RequireReConsent bool `json:"requireReConsent"`
AllowRenewal bool `json:"allowRenewal"`
}
type ConsentExportResponse ¶
type ConsentManager ¶
type ConsentManager struct {
}
type ConsentNotificationsConfig ¶
type ConsentNotificationsConfig struct {
NotifyOnExpiry bool `json:"notifyOnExpiry"`
NotifyOnGrant bool `json:"notifyOnGrant"`
Channels []string `json:"channels"`
NotifyDeletionComplete bool `json:"notifyDeletionComplete"`
NotifyOnRevoke bool `json:"notifyOnRevoke"`
Enabled bool `json:"enabled"`
NotifyDeletionApproved bool `json:"notifyDeletionApproved"`
NotifyDpoEmail string `json:"notifyDpoEmail"`
NotifyExportReady bool `json:"notifyExportReady"`
}
type ConsentPolicy ¶
type ConsentPolicy struct {
CreatedBy string `json:"createdBy"`
Id xid.ID `json:"id"`
Active bool `json:"active"`
ConsentType string `json:"consentType"`
Content string `json:"content"`
CreatedAt time.Time `json:"createdAt"`
Description string `json:"description"`
Metadata JSONBMap `json:"metadata"`
PublishedAt Time `json:"publishedAt"`
ValidityPeriod *int `json:"validityPeriod"`
Name string `json:"name"`
OrganizationId string `json:"organizationId"`
Renewable bool `json:"renewable"`
Required bool `json:"required"`
UpdatedAt time.Time `json:"updatedAt"`
Version string `json:"version"`
}
type ConsentPolicyResponse ¶
type ConsentPolicyResponse struct {
Id string `json:"id"`
}
type ConsentRecord ¶
type ConsentRecord struct {
Granted bool `json:"granted"`
IpAddress string `json:"ipAddress"`
CreatedAt time.Time `json:"createdAt"`
ExpiresAt Time `json:"expiresAt"`
GrantedAt time.Time `json:"grantedAt"`
Metadata JSONBMap `json:"metadata"`
Purpose string `json:"purpose"`
RevokedAt Time `json:"revokedAt"`
UpdatedAt time.Time `json:"updatedAt"`
UserId string `json:"userId"`
ConsentType string `json:"consentType"`
Id xid.ID `json:"id"`
OrganizationId string `json:"organizationId"`
Version string `json:"version"`
UserAgent string `json:"userAgent"`
}
type ConsentRecordResponse ¶
type ConsentRecordResponse struct {
Id string `json:"id"`
}
type ConsentReport ¶
type ConsentReport struct {
ConsentRate float64 `json:"consentRate"`
DataExportsThisPeriod int `json:"dataExportsThisPeriod"`
DpasActive int `json:"dpasActive"`
ReportPeriodEnd time.Time `json:"reportPeriodEnd"`
UsersWithConsent int `json:"usersWithConsent"`
CompletedDeletions int `json:"completedDeletions"`
ConsentsByType interface{} `json:"consentsByType"`
DpasExpiringSoon int `json:"dpasExpiringSoon"`
OrganizationId string `json:"organizationId"`
PendingDeletions int `json:"pendingDeletions"`
ReportPeriodStart time.Time `json:"reportPeriodStart"`
TotalUsers int `json:"totalUsers"`
}
type ConsentReportResponse ¶
type ConsentReportResponse struct {
Id string `json:"id"`
}
type ConsentRequest ¶
type ConsentRequest struct {
Code_challenge string `json:"code_challenge"`
Code_challenge_method string `json:"code_challenge_method"`
Redirect_uri string `json:"redirect_uri"`
Response_type string `json:"response_type"`
Scope string `json:"scope"`
State string `json:"state"`
Action string `json:"action"`
Client_id string `json:"client_id"`
}
type ConsentService ¶
type ConsentService struct {
}
type ConsentSettingsResponse ¶
type ConsentSettingsResponse struct {
Settings interface{} `json:"settings"`
}
type ConsentStats ¶
type ConsentStatusResponse ¶
type ConsentStatusResponse struct {
Status string `json:"status"`
}
type ConsentSummary ¶
type ConsentSummary struct {
ExpiredConsents int `json:"expiredConsents"`
GrantedConsents int `json:"grantedConsents"`
OrganizationId string `json:"organizationId"`
PendingRenewals int `json:"pendingRenewals"`
RevokedConsents int `json:"revokedConsents"`
UserId string `json:"userId"`
ConsentsByType interface{} `json:"consentsByType"`
HasPendingDeletion bool `json:"hasPendingDeletion"`
HasPendingExport bool `json:"hasPendingExport"`
LastConsentUpdate Time `json:"lastConsentUpdate"`
TotalConsents int `json:"totalConsents"`
}
type ConsentTypeStatus ¶
type ConsentsResponse ¶
type ConsentsResponse struct {
Consents interface{} `json:"consents"`
Count int `json:"count"`
}
type ContentEntryHandler ¶
type ContentEntryHandler struct {
}
type ContentTypeHandler ¶
type ContentTypeHandler struct {
}
type ContextRule ¶
type ContextRule struct {
Org_id string `json:"org_id"`
Security_level SecurityLevel `json:"security_level"`
Condition string `json:"condition"`
Description string `json:"description"`
Name string `json:"name"`
}
type ContinueRecoveryRequest ¶
type ContinueRecoveryRequest struct {
Method RecoveryMethod `json:"method"`
SessionId xid.ID `json:"sessionId"`
}
type CookieConsent ¶
type CookieConsent struct {
Marketing bool `json:"marketing"`
UpdatedAt time.Time `json:"updatedAt"`
UserAgent string `json:"userAgent"`
UserId string `json:"userId"`
ConsentBannerVersion string `json:"consentBannerVersion"`
ExpiresAt time.Time `json:"expiresAt"`
OrganizationId string `json:"organizationId"`
CreatedAt time.Time `json:"createdAt"`
Essential bool `json:"essential"`
Functional bool `json:"functional"`
Id xid.ID `json:"id"`
IpAddress string `json:"ipAddress"`
Personalization bool `json:"personalization"`
SessionId string `json:"sessionId"`
ThirdParty bool `json:"thirdParty"`
Analytics bool `json:"analytics"`
}
type CookieConsentConfig ¶
type CookieConsentConfig struct {
AllowAnonymous bool `json:"allowAnonymous"`
BannerVersion string `json:"bannerVersion"`
Categories []string `json:"categories"`
DefaultStyle string `json:"defaultStyle"`
Enabled bool `json:"enabled"`
RequireExplicit bool `json:"requireExplicit"`
ValidityPeriod time.Duration `json:"validityPeriod"`
}
type CookieConsentRequest ¶
type CookieConsentRequest struct {
BannerVersion string `json:"bannerVersion"`
Essential bool `json:"essential"`
Functional bool `json:"functional"`
Marketing bool `json:"marketing"`
Personalization bool `json:"personalization"`
SessionId string `json:"sessionId"`
ThirdParty bool `json:"thirdParty"`
Analytics bool `json:"analytics"`
}
type CreateABTestVariant_req ¶
type CreateAPIKeyRequest ¶
type CreateAPIKeyResponse ¶
type CreateActionRequest ¶
type CreateAppRequest ¶
type CreateAppRequest struct {
}
type CreateConsentPolicyRequest ¶
type CreateConsentPolicyRequest struct {
Name string `json:"name"`
Required bool `json:"required"`
Version string `json:"version"`
Content string `json:"content"`
Description string `json:"description"`
Metadata interface{} `json:"metadata"`
Renewable bool `json:"renewable"`
ValidityPeriod *int `json:"validityPeriod"`
ConsentType string `json:"consentType"`
}
type CreateConsentPolicyResponse ¶
type CreateConsentPolicyResponse struct {
Id string `json:"id"`
}
type CreateConsentRequest ¶
type CreateConsentResponse ¶
type CreateConsentResponse struct {
Id string `json:"id"`
}
type CreateDPARequest ¶
type CreateDPARequest struct {
AgreementType string `json:"agreementType"`
EffectiveDate time.Time `json:"effectiveDate"`
ExpiryDate Time `json:"expiryDate"`
SignedByEmail string `json:"signedByEmail"`
SignedByName string `json:"signedByName"`
SignedByTitle string `json:"signedByTitle"`
Version string `json:"version"`
Content string `json:"content"`
Metadata interface{} `json:"metadata"`
}
type CreateEntryRequest ¶
type CreateEntryRequest struct {
}
type CreateEvidenceRequest ¶
type CreateEvidenceResponse ¶
type CreateEvidenceResponse struct {
Id string `json:"id"`
}
type CreateEvidence_req ¶
type CreateJWTKeyRequest ¶
type CreateNamespaceRequest ¶
type CreateOrganizationHandlerRequest ¶
type CreateOrganizationHandlerRequest struct {
}
type CreatePolicyRequest ¶
type CreatePolicyRequest struct {
Name string `json:"name"`
Renewable bool `json:"renewable"`
Version string `json:"version"`
ConsentType string `json:"consentType"`
Description string `json:"description"`
Required bool `json:"required"`
ValidityPeriod *int `json:"validityPeriod"`
Content string `json:"content"`
Metadata interface{} `json:"metadata"`
}
type CreatePolicyResponse ¶
type CreatePolicyResponse struct {
Id string `json:"id"`
}
type CreatePolicy_req ¶
type CreatePolicy_req struct {
Standard ComplianceStandard `json:"standard"`
Title string `json:"title"`
Version string `json:"version"`
Content string `json:"content"`
PolicyType string `json:"policyType"`
}
type CreateProfileFromTemplateRequest ¶
type CreateProfileFromTemplateRequest struct {
Standard ComplianceStandard `json:"standard"`
}
type CreateProfileFromTemplateResponse ¶
type CreateProfileFromTemplateResponse struct {
Id string `json:"id"`
}
type CreateProfileFromTemplate_req ¶
type CreateProfileFromTemplate_req struct {
Standard ComplianceStandard `json:"standard"`
}
type CreateProfileRequest ¶
type CreateProfileRequest struct {
AppId string `json:"appId"`
AuditLogExport bool `json:"auditLogExport"`
DataResidency string `json:"dataResidency"`
MfaRequired bool `json:"mfaRequired"`
Name string `json:"name"`
PasswordExpiryDays int `json:"passwordExpiryDays"`
PasswordRequireNumber bool `json:"passwordRequireNumber"`
RbacRequired bool `json:"rbacRequired"`
ComplianceContact string `json:"complianceContact"`
DetailedAuditTrail bool `json:"detailedAuditTrail"`
EncryptionAtRest bool `json:"encryptionAtRest"`
PasswordMinLength int `json:"passwordMinLength"`
RegularAccessReview bool `json:"regularAccessReview"`
SessionIdleTimeout int `json:"sessionIdleTimeout"`
Metadata interface{} `json:"metadata"`
PasswordRequireLower bool `json:"passwordRequireLower"`
SessionIpBinding bool `json:"sessionIpBinding"`
Standards []ComplianceStandard `json:"standards"`
DpoContact string `json:"dpoContact"`
EncryptionInTransit bool `json:"encryptionInTransit"`
LeastPrivilege bool `json:"leastPrivilege"`
PasswordRequireSymbol bool `json:"passwordRequireSymbol"`
PasswordRequireUpper bool `json:"passwordRequireUpper"`
RetentionDays int `json:"retentionDays"`
SessionMaxAge int `json:"sessionMaxAge"`
}
type CreateProfileResponse ¶
type CreateProfileResponse struct {
Id string `json:"id"`
}
type CreateProvider_req ¶
type CreateRequest ¶
type CreateResourceRequest ¶
type CreateResourceRequest struct {
NamespaceId string `json:"namespaceId"`
Type string `json:"type"`
Attributes []ResourceAttributeRequest `json:"attributes"`
Description string `json:"description"`
}
type CreateResponse ¶
type CreateResponse struct {
Webhook Webhook `json:"webhook"`
}
type CreateSecretRequest ¶
type CreateSessionRequest ¶
type CreateSessionRequest struct {
}
type CreateTeamHandlerRequest ¶
type CreateTeamHandlerRequest struct {
}
type CreateTeamRequest ¶
type CreateTemplateResponse ¶
type CreateTemplateResponse struct {
Template interface{} `json:"template"`
}
type CreateTemplateVersion_req ¶
type CreateTemplateVersion_req struct {
Changes string `json:"changes"`
}
type CreateTrainingRequest ¶
type CreateTrainingRequest struct {
Standard ComplianceStandard `json:"standard"`
TrainingType string `json:"trainingType"`
UserId string `json:"userId"`
}
type CreateTrainingResponse ¶
type CreateTrainingResponse struct {
Id string `json:"id"`
}
type CreateTraining_req ¶
type CreateTraining_req struct {
Standard ComplianceStandard `json:"standard"`
TrainingType string `json:"trainingType"`
UserId string `json:"userId"`
}
type CreateUserRequest ¶
type CreateUserRequest struct {
Username string `json:"username"`
Email string `json:"email"`
Email_verified bool `json:"email_verified"`
Name string `json:"name"`
Role string `json:"role"`
User_organization_id ID `json:"user_organization_id"`
App_id xid.ID `json:"app_id"`
Metadata interface{} `json:"metadata"`
Password string `json:"password"`
}
type CreateUserRequestDTO ¶
type CreateVerificationRequest ¶
type CreateVerificationRequest struct {
}
type CreateVerificationSessionResponse ¶
type CreateVerificationSessionResponse struct {
Session interface{} `json:"session"`
}
type DashboardConfig ¶
type DashboardExtension ¶
type DashboardExtension struct {
}
type DataDeletionConfig ¶
type DataDeletionConfig struct {
ArchivePath string `json:"archivePath"`
RetentionExemptions []string `json:"retentionExemptions"`
AllowPartialDeletion bool `json:"allowPartialDeletion"`
ArchiveBeforeDeletion bool `json:"archiveBeforeDeletion"`
AutoProcessAfterGrace bool `json:"autoProcessAfterGrace"`
Enabled bool `json:"enabled"`
GracePeriodDays int `json:"gracePeriodDays"`
NotifyBeforeDeletion bool `json:"notifyBeforeDeletion"`
PreserveLegalData bool `json:"preserveLegalData"`
RequireAdminApproval bool `json:"requireAdminApproval"`
}
type DataDeletionRequest ¶
type DataDeletionRequest struct {
ArchivePath string `json:"archivePath"`
CompletedAt Time `json:"completedAt"`
ExemptionReason string `json:"exemptionReason"`
RequestReason string `json:"requestReason"`
UpdatedAt time.Time `json:"updatedAt"`
ApprovedAt Time `json:"approvedAt"`
ApprovedBy string `json:"approvedBy"`
ErrorMessage string `json:"errorMessage"`
DeleteSections []string `json:"deleteSections"`
IpAddress string `json:"ipAddress"`
OrganizationId string `json:"organizationId"`
RejectedAt Time `json:"rejectedAt"`
RetentionExempt bool `json:"retentionExempt"`
UserId string `json:"userId"`
CreatedAt time.Time `json:"createdAt"`
Id xid.ID `json:"id"`
Status string `json:"status"`
}
type DataExportConfig ¶
type DataExportConfig struct {
MaxRequests int `json:"maxRequests"`
StoragePath string `json:"storagePath"`
CleanupInterval time.Duration `json:"cleanupInterval"`
ExpiryHours int `json:"expiryHours"`
MaxExportSize int64 `json:"maxExportSize"`
RequestPeriod time.Duration `json:"requestPeriod"`
AllowedFormats []string `json:"allowedFormats"`
AutoCleanup bool `json:"autoCleanup"`
DefaultFormat string `json:"defaultFormat"`
Enabled bool `json:"enabled"`
IncludeSections []string `json:"includeSections"`
}
type DataExportRequest ¶
type DataExportRequest struct {
Status string `json:"status"`
UpdatedAt time.Time `json:"updatedAt"`
ExportPath string `json:"exportPath"`
Id xid.ID `json:"id"`
IncludeSections []string `json:"includeSections"`
UserId string `json:"userId"`
ExpiresAt Time `json:"expiresAt"`
ExportSize int64 `json:"exportSize"`
IpAddress string `json:"ipAddress"`
OrganizationId string `json:"organizationId"`
CompletedAt Time `json:"completedAt"`
ErrorMessage string `json:"errorMessage"`
Format string `json:"format"`
CreatedAt time.Time `json:"createdAt"`
ExportUrl string `json:"exportUrl"`
}
type DataExportRequestInput ¶
type DataProcessingAgreement ¶
type DataProcessingAgreement struct {
CreatedAt time.Time `json:"createdAt"`
ExpiryDate Time `json:"expiryDate"`
OrganizationId string `json:"organizationId"`
SignedByTitle string `json:"signedByTitle"`
Version string `json:"version"`
IpAddress string `json:"ipAddress"`
Metadata JSONBMap `json:"metadata"`
SignedByName string `json:"signedByName"`
Content string `json:"content"`
DigitalSignature string `json:"digitalSignature"`
EffectiveDate time.Time `json:"effectiveDate"`
AgreementType string `json:"agreementType"`
Id xid.ID `json:"id"`
SignedBy string `json:"signedBy"`
SignedByEmail string `json:"signedByEmail"`
Status string `json:"status"`
UpdatedAt time.Time `json:"updatedAt"`
}
type DeclareABTestWinnerRequest ¶
type DeclareABTestWinnerRequest struct {
}
type DeclareABTestWinner_req ¶
type DeclineInvitationRequest ¶
type DeclineInvitationRequest struct {
Token string `json:"token"`
}
type DefaultProviderRegistry ¶
type DefaultProviderRegistry struct {
}
type DeleteAPIKeyRequest ¶
type DeleteAPIKeyRequest struct {
}
type DeleteAppRequest ¶
type DeleteAppRequest struct {
}
type DeleteContentTypeRequest ¶
type DeleteContentTypeRequest struct {
}
type DeleteEntryRequest ¶
type DeleteEntryRequest struct {
}
type DeleteEvidenceResponse ¶
type DeleteEvidenceResponse struct {
Status string `json:"status"`
}
type DeleteFactorRequest ¶
type DeleteFactorRequest struct {
}
type DeleteFieldRequest ¶
type DeleteFieldRequest struct {
}
type DeleteOrganizationRequest ¶
type DeleteOrganizationRequest struct {
}
type DeletePasskeyRequest ¶
type DeletePasskeyRequest struct {
}
type DeletePolicyResponse ¶
type DeletePolicyResponse struct {
Status string `json:"status"`
}
type DeleteProfileResponse ¶
type DeleteProfileResponse struct {
Status string `json:"status"`
}
type DeleteProviderRequest ¶
type DeleteProviderRequest struct {
}
type DeleteRequest ¶
type DeleteRequest struct {
}
type DeleteResponse ¶
type DeleteSecretRequest ¶
type DeleteSecretRequest struct {
}
type DeleteTeamRequest ¶
type DeleteTeamRequest struct {
}
type DeleteTemplateRequest ¶
type DeleteTemplateRequest struct {
}
type DeleteTemplateResponse ¶
type DeleteTemplateResponse struct {
Status string `json:"status"`
}
type DeleteUserRequestDTO ¶
type DeleteUserRequestDTO struct {
}
type Device ¶
type Device struct {
LastUsedAt string `json:"lastUsedAt"`
IpAddress *string `json:"ipAddress,omitempty"`
UserAgent *string `json:"userAgent,omitempty"`
Id string `json:"id"`
UserId string `json:"userId"`
Name *string `json:"name,omitempty"`
Type *string `json:"type,omitempty"`
}
Device represents User device
type DeviceInfo ¶
type DevicesResponse ¶
type DevicesResponse struct {
Devices interface{} `json:"devices"`
Count int `json:"count"`
}
type DisableRequest ¶
type DisableRequest struct {
User_id string `json:"user_id"`
}
type DiscoverProviderRequest ¶
type DiscoverProviderRequest struct {
Email string `json:"email"`
}
type DiscoveryResponse ¶
type DiscoveryResponse struct {
Revocation_endpoint_auth_methods_supported []string `json:"revocation_endpoint_auth_methods_supported"`
Subject_types_supported []string `json:"subject_types_supported"`
Token_endpoint string `json:"token_endpoint"`
Claims_parameter_supported bool `json:"claims_parameter_supported"`
Grant_types_supported []string `json:"grant_types_supported"`
Issuer string `json:"issuer"`
Request_uri_parameter_supported bool `json:"request_uri_parameter_supported"`
Require_request_uri_registration bool `json:"require_request_uri_registration"`
Response_modes_supported []string `json:"response_modes_supported"`
Response_types_supported []string `json:"response_types_supported"`
Userinfo_endpoint string `json:"userinfo_endpoint"`
Authorization_endpoint string `json:"authorization_endpoint"`
Introspection_endpoint string `json:"introspection_endpoint"`
Introspection_endpoint_auth_methods_supported []string `json:"introspection_endpoint_auth_methods_supported"`
Request_parameter_supported bool `json:"request_parameter_supported"`
Scopes_supported []string `json:"scopes_supported"`
Code_challenge_methods_supported []string `json:"code_challenge_methods_supported"`
Id_token_signing_alg_values_supported []string `json:"id_token_signing_alg_values_supported"`
Registration_endpoint string `json:"registration_endpoint"`
Revocation_endpoint string `json:"revocation_endpoint"`
Token_endpoint_auth_methods_supported []string `json:"token_endpoint_auth_methods_supported"`
Claims_supported []string `json:"claims_supported"`
Jwks_uri string `json:"jwks_uri"`
}
type DiscoveryService ¶
type DiscoveryService struct {
}
type DocumentCheckConfig ¶
type DocumentVerification ¶
type DocumentVerification struct {
}
type DocumentVerificationConfig ¶
type DocumentVerificationConfig struct {
RequireSelfie bool `json:"requireSelfie"`
RetentionPeriod time.Duration `json:"retentionPeriod"`
StorageProvider string `json:"storageProvider"`
MinConfidenceScore float64 `json:"minConfidenceScore"`
RequireBothSides bool `json:"requireBothSides"`
RequireManualReview bool `json:"requireManualReview"`
StoragePath string `json:"storagePath"`
AcceptedDocuments []string `json:"acceptedDocuments"`
Enabled bool `json:"enabled"`
EncryptAtRest bool `json:"encryptAtRest"`
EncryptionKey string `json:"encryptionKey"`
Provider string `json:"provider"`
}
type DocumentVerificationRequest ¶
type DocumentVerificationRequest struct {
}
type DocumentVerificationResult ¶
type DocumentVerificationResult struct {
}
type DownloadReportResponse ¶
type EmailConfig ¶
type EmailFactorAdapter ¶
type EmailFactorAdapter struct {
}
type EmailProviderConfig ¶
type EmailServiceAdapter ¶
type EmailServiceAdapter struct {
}
type EmailVerificationConfig ¶
type EmailVerificationConfig struct {
CodeExpiry time.Duration `json:"codeExpiry"`
CodeLength int `json:"codeLength"`
EmailTemplate string `json:"emailTemplate"`
Enabled bool `json:"enabled"`
FromAddress string `json:"fromAddress"`
FromName string `json:"fromName"`
MaxAttempts int `json:"maxAttempts"`
RequireEmailProof bool `json:"requireEmailProof"`
}
type EnableRequest ¶
type EnableRequest struct {
}
type EnableRequest2FA ¶
type EnableResponse ¶
type EncryptionConfig ¶
type EncryptionService ¶
type EncryptionService struct {
}
type EndImpersonationRequest ¶
type EnrollFactorRequest ¶
type EnrollFactorRequest struct {
Metadata interface{} `json:"metadata"`
Name string `json:"name"`
Priority FactorPriority `json:"priority"`
Type FactorType `json:"type"`
}
type EnrollFactorResponse ¶
type EnrollFactorResponse struct {
ProvisioningData interface{} `json:"provisioningData"`
Status FactorStatus `json:"status"`
Type FactorType `json:"type"`
FactorId xid.ID `json:"factorId"`
}
type Error ¶
Error represents an API error
type ErrorResponse ¶
type EvaluateRequest ¶
type EvaluateResponse ¶
type EvaluateResponse struct {
Allowed bool `json:"allowed"`
CacheHit bool `json:"cacheHit"`
Error string `json:"error"`
EvaluatedPolicies int `json:"evaluatedPolicies"`
EvaluationTimeMs float64 `json:"evaluationTimeMs"`
MatchedPolicies []string `json:"matchedPolicies"`
Reason string `json:"reason"`
}
type EvaluationContext ¶
type EvaluationContext struct {
}
type EvaluationResult ¶
type EvaluationResult struct {
Can_remember bool `json:"can_remember"`
Grace_period_ends_at time.Time `json:"grace_period_ends_at"`
Matched_rules []string `json:"matched_rules"`
Requirement_id string `json:"requirement_id"`
Security_level SecurityLevel `json:"security_level"`
Allowed_methods []VerificationMethod `json:"allowed_methods"`
Challenge_token string `json:"challenge_token"`
Current_level SecurityLevel `json:"current_level"`
Expires_at time.Time `json:"expires_at"`
Metadata interface{} `json:"metadata"`
Reason string `json:"reason"`
Required bool `json:"required"`
}
type FacialCheckConfig ¶
type Factor ¶
type Factor struct {
Id xid.ID `json:"id"`
LastUsedAt Time `json:"lastUsedAt"`
Name string `json:"name"`
Priority FactorPriority `json:"priority"`
VerifiedAt Time `json:"verifiedAt"`
Metadata interface{} `json:"metadata"`
Status FactorStatus `json:"status"`
Type FactorType `json:"type"`
UpdatedAt time.Time `json:"updatedAt"`
UserId xid.ID `json:"userId"`
CreatedAt time.Time `json:"createdAt"`
ExpiresAt Time `json:"expiresAt"`
}
type FactorAdapterRegistry ¶
type FactorAdapterRegistry struct {
}
type FactorEnrollmentRequest ¶
type FactorEnrollmentRequest struct {
Type FactorType `json:"type"`
Metadata interface{} `json:"metadata"`
Name string `json:"name"`
Priority FactorPriority `json:"priority"`
}
type FactorEnrollmentResponse ¶
type FactorEnrollmentResponse struct {
Status FactorStatus `json:"status"`
Type FactorType `json:"type"`
FactorId xid.ID `json:"factorId"`
ProvisioningData interface{} `json:"provisioningData"`
}
type FactorInfo ¶
type FactorInfo struct {
FactorId xid.ID `json:"factorId"`
Metadata interface{} `json:"metadata"`
Name string `json:"name"`
Type FactorType `json:"type"`
}
type FactorPriority ¶
type FactorPriority = string
Placeholder type aliases for undefined enum/custom types
type FactorStatus ¶
type FactorStatus = string
Placeholder type aliases for undefined enum/custom types
type FactorsResponse ¶
type FactorsResponse struct {
Count int `json:"count"`
Factors interface{} `json:"factors"`
}
type FinishLoginRequest ¶
type FinishLoginRequest struct {
Remember bool `json:"remember"`
Response interface{} `json:"response"`
}
type FinishRegisterRequest ¶
type FinishRegisterResponse ¶
type ForgetDeviceResponse ¶
type GenerateBackupCodesResponse ¶
type GenerateBackupCodesResponse struct {
Codes []string `json:"codes"`
}
type GenerateConsentReportResponse ¶
type GenerateConsentReportResponse struct {
Id string `json:"id"`
}
type GenerateReportRequest ¶
type GenerateReportRequest struct {
Format string `json:"format"`
Period string `json:"period"`
ReportType string `json:"reportType"`
Standard ComplianceStandard `json:"standard"`
}
type GenerateReportResponse ¶
type GenerateReportResponse struct {
Id string `json:"id"`
}
type GenerateReport_req ¶
type GenerateReport_req struct {
Standard ComplianceStandard `json:"standard"`
Format string `json:"format"`
Period string `json:"period"`
ReportType string `json:"reportType"`
}
type GenerateTokenRequest ¶
type GenerateTokenRequest struct {
Audience []string `json:"audience"`
ExpiresIn time.Duration `json:"expiresIn"`
Metadata interface{} `json:"metadata"`
Permissions []string `json:"permissions"`
Scopes []string `json:"scopes"`
SessionId string `json:"sessionId"`
TokenType string `json:"tokenType"`
UserId string `json:"userId"`
}
type GetABTestResultsRequest ¶
type GetABTestResultsRequest struct {
}
type GetAPIKeyRequest ¶
type GetAPIKeyRequest struct {
}
type GetAppProfileResponse ¶
type GetAppProfileResponse struct {
Id string `json:"id"`
}
type GetAppRequest ¶
type GetAppRequest struct {
}
type GetAuditLogsRequestDTO ¶
type GetAuditLogsRequestDTO struct {
}
type GetAuditLogsResponse ¶
type GetAuditLogsResponse struct {
Audit_logs []*interface{} `json:"audit_logs"`
}
type GetByIDResponse ¶
type GetByPathRequest ¶
type GetByPathRequest struct {
}
type GetByPathResponse ¶
type GetChallengeStatusRequest ¶
type GetChallengeStatusRequest struct {
}
type GetChallengeStatusResponse ¶
type GetChallengeStatusResponse struct {
Attempts int `json:"attempts"`
AvailableFactors []FactorInfo `json:"availableFactors"`
ChallengeId xid.ID `json:"challengeId"`
FactorsRequired int `json:"factorsRequired"`
FactorsVerified int `json:"factorsVerified"`
MaxAttempts int `json:"maxAttempts"`
Status ChallengeStatus `json:"status"`
}
type GetCheckResponse ¶
type GetCheckResponse struct {
Id string `json:"id"`
}
type GetClientResponse ¶
type GetClientResponse struct {
ClientID string `json:"clientID"`
Name string `json:"name"`
OrganizationID string `json:"organizationID"`
PostLogoutRedirectURIs []string `json:"postLogoutRedirectURIs"`
RequirePKCE bool `json:"requirePKCE"`
Contacts []string `json:"contacts"`
IsOrgLevel bool `json:"isOrgLevel"`
TokenEndpointAuthMethod string `json:"tokenEndpointAuthMethod"`
TrustedClient bool `json:"trustedClient"`
RequireConsent bool `json:"requireConsent"`
CreatedAt string `json:"createdAt"`
GrantTypes []string `json:"grantTypes"`
PolicyURI string `json:"policyURI"`
RedirectURIs []string `json:"redirectURIs"`
UpdatedAt string `json:"updatedAt"`
AllowedScopes []string `json:"allowedScopes"`
ApplicationType string `json:"applicationType"`
LogoURI string `json:"logoURI"`
ResponseTypes []string `json:"responseTypes"`
TosURI string `json:"tosURI"`
}
type GetComplianceStatusResponse ¶
type GetComplianceStatusResponse struct {
Status string `json:"status"`
}
type GetConsentAuditLogsResponse ¶
type GetConsentAuditLogsResponse struct {
Audit_logs []*interface{} `json:"audit_logs"`
}
type GetConsentPolicyResponse ¶
type GetConsentPolicyResponse struct {
Id string `json:"id"`
}
type GetConsentResponse ¶
type GetConsentResponse struct {
Id string `json:"id"`
}
type GetContentTypeRequest ¶
type GetContentTypeRequest struct {
}
type GetCookieConsentResponse ¶
type GetCookieConsentResponse struct {
Preferences interface{} `json:"preferences"`
}
type GetCurrentResponse ¶
type GetDashboardResponse ¶
type GetDashboardResponse struct {
Metrics interface{} `json:"metrics"`
}
type GetDataDeletionResponse ¶
type GetDataExportResponse ¶
type GetEffectivePermissionsRequest ¶
type GetEffectivePermissionsRequest struct {
}
type GetEntryRequest ¶
type GetEntryRequest struct {
}
type GetEntryStatsRequest ¶
type GetEntryStatsRequest struct {
}
type GetEvidenceResponse ¶
type GetEvidenceResponse struct {
Id string `json:"id"`
}
type GetFactorRequest ¶
type GetFactorRequest struct {
}
type GetFactorResponse ¶
type GetFactorResponse struct {
VerifiedAt Time `json:"verifiedAt"`
CreatedAt time.Time `json:"createdAt"`
Id xid.ID `json:"id"`
LastUsedAt Time `json:"lastUsedAt"`
Metadata interface{} `json:"metadata"`
Priority FactorPriority `json:"priority"`
UpdatedAt time.Time `json:"updatedAt"`
UserId xid.ID `json:"userId"`
ExpiresAt Time `json:"expiresAt"`
Name string `json:"name"`
Status FactorStatus `json:"status"`
Type FactorType `json:"type"`
}
type GetImpersonationRequest ¶
type GetImpersonationRequest struct {
}
type GetInvitationRequest ¶
type GetInvitationRequest struct {
}
type GetMigrationStatusRequest ¶
type GetMigrationStatusRequest struct {
}
type GetNotificationRequest ¶
type GetNotificationRequest struct {
}
type GetNotificationResponse ¶
type GetNotificationResponse struct {
Notification interface{} `json:"notification"`
}
type GetOrganizationBySlugRequest ¶
type GetOrganizationBySlugRequest struct {
}
type GetOrganizationRequest ¶
type GetOrganizationRequest struct {
}
type GetPasskeyRequest ¶
type GetPasskeyRequest struct {
}
type GetPolicyResponse ¶
type GetPolicyResponse struct {
Id string `json:"id"`
}
type GetPrivacySettingsResponse ¶
type GetPrivacySettingsResponse struct {
Settings interface{} `json:"settings"`
}
type GetProfileResponse ¶
type GetProfileResponse struct {
Id string `json:"id"`
}
type GetProviderRequest ¶
type GetProviderRequest struct {
}
type GetRecoveryConfigResponse ¶
type GetRecoveryConfigResponse struct {
MinimumStepsRequired int `json:"minimumStepsRequired"`
RequireAdminReview bool `json:"requireAdminReview"`
RequireMultipleSteps bool `json:"requireMultipleSteps"`
RiskScoreThreshold float64 `json:"riskScoreThreshold"`
EnabledMethods []RecoveryMethod `json:"enabledMethods"`
}
type GetRecoveryStatsRequest ¶
type GetRecoveryStatsResponse ¶
type GetRecoveryStatsResponse struct {
PendingRecoveries int `json:"pendingRecoveries"`
TotalAttempts int `json:"totalAttempts"`
AdminReviewsRequired int `json:"adminReviewsRequired"`
FailedRecoveries int `json:"failedRecoveries"`
HighRiskAttempts int `json:"highRiskAttempts"`
SuccessRate float64 `json:"successRate"`
SuccessfulRecoveries int `json:"successfulRecoveries"`
AverageRiskScore float64 `json:"averageRiskScore"`
MethodStats interface{} `json:"methodStats"`
}
type GetReportResponse ¶
type GetReportResponse struct {
Id string `json:"id"`
}
type GetRequest ¶
type GetRequest struct {
}
type GetRequirementResponse ¶
type GetRequirementResponse struct {
Id string `json:"id"`
}
type GetRevisionRequest ¶
type GetRevisionRequest struct {
}
type GetRolesRequest ¶
type GetRolesRequest struct {
}
type GetSecretRequest ¶
type GetSecretRequest struct {
}
type GetSecurityQuestionsResponse ¶
type GetSecurityQuestionsResponse struct {
Questions []SecurityQuestionInfo `json:"questions"`
}
type GetSessionResponse ¶
type GetStatsRequestDTO ¶
type GetStatsRequestDTO struct {
}
type GetStatsResponse ¶
type GetStatusRequest ¶
type GetStatusResponse ¶
type GetTeamRequest ¶
type GetTeamRequest struct {
}
type GetTemplateAnalyticsRequest ¶
type GetTemplateAnalyticsRequest struct {
}
type GetTemplateDefaultsResponse ¶
type GetTemplateDefaultsResponse struct {
Templates []*interface{} `json:"templates"`
Total int `json:"total"`
}
type GetTemplateRequest ¶
type GetTemplateRequest struct {
}
type GetTemplateResponse ¶
type GetTemplateResponse struct {
Template interface{} `json:"template"`
}
type GetTemplateVersionRequest ¶
type GetTemplateVersionRequest struct {
}
type GetTreeRequest ¶
type GetTreeRequest struct {
}
type GetUserTrainingResponse ¶
type GetUserTrainingResponse struct {
User_id string `json:"user_id"`
}
type GetUserVerificationStatusResponse ¶
type GetUserVerificationStatusResponse struct {
Status interface{} `json:"status"`
}
type GetUserVerificationsResponse ¶
type GetUserVerificationsResponse struct {
Verifications []*interface{} `json:"verifications"`
}
type GetValueRequest ¶
type GetValueRequest struct {
}
type GetVerificationResponse ¶
type GetVerificationResponse struct {
Verification interface{} `json:"verification"`
}
type GetVerificationSessionResponse ¶
type GetVerificationSessionResponse struct {
Session interface{} `json:"session"`
}
type GetVersionsRequest ¶
type GetVersionsRequest struct {
}
type GetViolationResponse ¶
type GetViolationResponse struct {
Id string `json:"id"`
}
type HandleConsentRequest ¶
type HandleConsentRequest struct {
Code_challenge string `json:"code_challenge"`
Code_challenge_method string `json:"code_challenge_method"`
Redirect_uri string `json:"redirect_uri"`
Response_type string `json:"response_type"`
Scope string `json:"scope"`
State string `json:"state"`
Action string `json:"action"`
Client_id string `json:"client_id"`
}
type HandleUpdateSettings_updates ¶
type HandleUpdateSettings_updates struct {
}
type HandleWebhookResponse ¶
type HandleWebhookResponse struct {
Status string `json:"status"`
}
type HealthCheckResponse ¶
type HealthCheckResponse struct {
Version string `json:"version"`
EnabledMethods []RecoveryMethod `json:"enabledMethods"`
Healthy bool `json:"healthy"`
Message string `json:"message"`
ProvidersStatus interface{} `json:"providersStatus"`
}
type IDTokenClaims ¶
type IDTokenClaims struct {
Email_verified bool `json:"email_verified"`
Family_name string `json:"family_name"`
Name string `json:"name"`
Nonce string `json:"nonce"`
Auth_time int64 `json:"auth_time"`
Email string `json:"email"`
Given_name string `json:"given_name"`
Preferred_username string `json:"preferred_username"`
Session_state string `json:"session_state"`
}
type IDVerificationErrorResponse ¶
type IDVerificationErrorResponse struct {
Error string `json:"error"`
}
type IDVerificationListResponse ¶
type IDVerificationListResponse struct {
Verifications []*interface{} `json:"verifications"`
}
type IDVerificationResponse ¶
type IDVerificationResponse struct {
Verification interface{} `json:"verification"`
}
type IDVerificationSessionResponse ¶
type IDVerificationSessionResponse struct {
Session interface{} `json:"session"`
}
type IDVerificationStatusResponse ¶
type IDVerificationStatusResponse struct {
Status interface{} `json:"status"`
}
type IDVerificationWebhookResponse ¶
type IDVerificationWebhookResponse struct {
Status string `json:"status"`
}
type IPWhitelistConfig ¶
type IdentityVerification ¶
type IdentityVerification struct{}
Placeholder types for undefined/missing types
type IdentityVerificationSession ¶
type IdentityVerificationSession struct{}
Placeholder types for undefined/missing types
type ImpersonateUserRequest ¶
type ImpersonationContext ¶
type ImpersonationErrorResponse ¶
type ImpersonationErrorResponse struct {
Error string `json:"error"`
}
type ImpersonationMiddleware ¶
type ImpersonationMiddleware struct {
}
type ImpersonationSession ¶
type ImpersonationSession struct {
}
type InitiateChallengeRequest ¶
type InitiateChallengeRequest struct {
Context string `json:"context"`
FactorTypes []FactorType `json:"factorTypes"`
Metadata interface{} `json:"metadata"`
}
type InstantiateTemplateRequest ¶
type InstantiateTemplateRequest struct {
Description string `json:"description"`
Enabled bool `json:"enabled"`
Name string `json:"name"`
NamespaceId string `json:"namespaceId"`
Parameters interface{} `json:"parameters"`
Priority int `json:"priority"`
ResourceType string `json:"resourceType"`
Actions []string `json:"actions"`
}
type IntrospectTokenRequest ¶
type IntrospectTokenResponse ¶
type IntrospectTokenResponse struct {
Active bool `json:"active"`
Client_id string `json:"client_id"`
Scope string `json:"scope"`
Sub string `json:"sub"`
Username string `json:"username"`
Aud []string `json:"aud"`
Exp int64 `json:"exp"`
Iat int64 `json:"iat"`
Iss string `json:"iss"`
Jti string `json:"jti"`
Nbf int64 `json:"nbf"`
Token_type string `json:"token_type"`
}
type IntrospectionService ¶
type IntrospectionService struct {
}
type InvitationResponse ¶
type InvitationResponse struct {
Invitation Invitation `json:"invitation"`
Message string `json:"message"`
}
type InviteMemberHandlerRequest ¶
type InviteMemberHandlerRequest struct {
}
type InviteMemberRequest ¶
type JSONBMap ¶
type JSONBMap = map[string]interface{}
Placeholder type aliases for undefined enum/custom types
type JWKSResponse ¶
type JWKSResponse struct {
Keys []JWK `json:"keys"`
}
type JWKSService ¶
type JWKSService struct {
}
type JWTService ¶
type JWTService struct {
}
type JumioConfig ¶
type JumioConfig struct {
EnableLiveness bool `json:"enableLiveness"`
EnabledCountries []string `json:"enabledCountries"`
PresetId string `json:"presetId"`
VerificationType string `json:"verificationType"`
ApiToken string `json:"apiToken"`
EnableAMLScreening bool `json:"enableAMLScreening"`
Enabled bool `json:"enabled"`
EnabledDocumentTypes []string `json:"enabledDocumentTypes"`
ApiSecret string `json:"apiSecret"`
CallbackUrl string `json:"callbackUrl"`
DataCenter string `json:"dataCenter"`
EnableExtraction bool `json:"enableExtraction"`
}
type JumioProvider ¶
type JumioProvider struct {
}
type LimitResult ¶
type LimitResult struct {
}
type LinkAccountRequest ¶
type LinkAccountResponse ¶
type LinkAccountResponse struct {
Url string `json:"url"`
}
type LinkRequest ¶
type LinkResponse ¶
type LinkResponse struct {
Message string `json:"message"`
User interface{} `json:"user"`
}
type ListAPIKeysRequest ¶
type ListAPIKeysRequest struct {
}
type ListAppsRequest ¶
type ListAppsRequest struct {
}
type ListAuditEventsRequest ¶
type ListAuditEventsRequest struct {
}
type ListChecksFilter ¶
type ListChecksResponse ¶
type ListChecksResponse struct {
Checks []*interface{} `json:"checks"`
}
type ListClientsResponse ¶
type ListClientsResponse struct {
Clients []ClientSummary `json:"clients"`
Page int `json:"page"`
PageSize int `json:"pageSize"`
Total int `json:"total"`
TotalPages int `json:"totalPages"`
}
type ListContentTypesRequest ¶
type ListContentTypesRequest struct {
}
type ListDevicesResponse ¶
type ListDevicesResponse struct {
Devices []*Device `json:"devices"`
}
type ListEntriesRequest ¶
type ListEntriesRequest struct {
}
type ListEvidenceFilter ¶
type ListEvidenceFilter struct {
AppId *string `json:"appId"`
ControlId *string `json:"controlId"`
EvidenceType *string `json:"evidenceType"`
ProfileId *string `json:"profileId"`
Standard *ComplianceStandard `json:"standard"`
}
type ListEvidenceResponse ¶
type ListEvidenceResponse struct {
Evidence []*interface{} `json:"evidence"`
}
type ListFactorsRequest ¶
type ListFactorsRequest struct {
}
type ListFactorsResponse ¶
type ListImpersonationsRequest ¶
type ListImpersonationsRequest struct {
}
type ListJWTKeysRequest ¶
type ListJWTKeysRequest struct {
}
type ListMembersRequest ¶
type ListMembersRequest struct {
}
type ListNotificationsResponse ¶
type ListNotificationsResponse struct {
Notifications []*interface{} `json:"notifications"`
Total int `json:"total"`
}
type ListOrganizationsRequest ¶
type ListOrganizationsRequest struct {
}
type ListPasskeysRequest ¶
type ListPasskeysRequest struct {
}
type ListPasskeysResponse ¶
type ListPasskeysResponse struct {
Count int `json:"count"`
Passkeys []PasskeyInfo `json:"passkeys"`
}
type ListPendingRequirementsResponse ¶
type ListPendingRequirementsResponse struct {
Requirements []*interface{} `json:"requirements"`
}
type ListPoliciesFilter ¶
type ListPoliciesFilter struct {
PolicyType *string `json:"policyType"`
ProfileId *string `json:"profileId"`
Standard *ComplianceStandard `json:"standard"`
Status *string `json:"status"`
AppId *string `json:"appId"`
}
type ListPoliciesResponse ¶
type ListPoliciesResponse struct {
Policies []*interface{} `json:"policies"`
}
type ListProfilesFilter ¶
type ListProfilesFilter struct {
AppId *string `json:"appId"`
Standard *ComplianceStandard `json:"standard"`
Status *string `json:"status"`
}
type ListProvidersResponse ¶
type ListProvidersResponse struct {
Providers []string `json:"providers"`
}
type ListRecoverySessionsRequest ¶
type ListRecoverySessionsRequest struct {
Status RecoveryStatus `json:"status"`
OrganizationId string `json:"organizationId"`
Page int `json:"page"`
PageSize int `json:"pageSize"`
RequiresReview bool `json:"requiresReview"`
}
type ListRecoverySessionsResponse ¶
type ListRecoverySessionsResponse struct {
Page int `json:"page"`
PageSize int `json:"pageSize"`
Sessions []RecoverySessionInfo `json:"sessions"`
TotalCount int `json:"totalCount"`
}
type ListRememberedDevicesResponse ¶
type ListRememberedDevicesResponse struct {
Devices interface{} `json:"devices"`
Count int `json:"count"`
}
type ListReportsFilter ¶
type ListReportsResponse ¶
type ListReportsResponse struct {
Reports []*interface{} `json:"reports"`
}
type ListRequest ¶
type ListRequest struct {
}
type ListResponse ¶
type ListResponse struct {
Webhooks []*Webhook `json:"webhooks"`
}
type ListRevisionsRequest ¶
type ListRevisionsRequest struct {
}
type ListSecretsRequest ¶
type ListSecretsRequest struct {
}
type ListSessionsRequest ¶
type ListSessionsRequestDTO ¶
type ListSessionsRequestDTO struct {
}
type ListSessionsResponse ¶
type ListTeamsRequest ¶
type ListTeamsRequest struct {
}
type ListTemplatesResponse ¶
type ListTemplatesResponse struct {
Templates []*interface{} `json:"templates"`
Total int `json:"total"`
}
type ListTrainingFilter ¶
type ListTrainingResponse ¶
type ListTrainingResponse struct {
Training []*interface{} `json:"training"`
}
type ListTrustedContactsResponse ¶
type ListTrustedContactsResponse struct {
Count int `json:"count"`
Contacts []TrustedContactInfo `json:"contacts"`
}
type ListTrustedDevicesResponse ¶
type ListTrustedDevicesResponse struct {
Count int `json:"count"`
Devices []TrustedDevice `json:"devices"`
}
type ListUsersRequest ¶
type ListUsersRequestDTO ¶
type ListUsersRequestDTO struct {
}
type ListUsersResponse ¶
type ListVerificationsResponse ¶
type ListVerificationsResponse struct {
Verifications []*interface{} `json:"verifications"`
}
type ListViolationsFilter ¶
type ListViolationsResponse ¶
type ListViolationsResponse struct {
Violations []*interface{} `json:"violations"`
}
type LoginResponse ¶
type MFABypassResponse ¶
type MFAConfigResponse ¶
type MFAPolicy ¶
type MFAPolicy struct {
MaxFailedAttempts int `json:"maxFailedAttempts"`
OrganizationId xid.ID `json:"organizationId"`
RequiredFactorCount int `json:"requiredFactorCount"`
RequiredFactorTypes []FactorType `json:"requiredFactorTypes"`
StepUpRequired bool `json:"stepUpRequired"`
TrustedDeviceDays int `json:"trustedDeviceDays"`
AdaptiveMfaEnabled bool `json:"adaptiveMfaEnabled"`
AllowedFactorTypes []FactorType `json:"allowedFactorTypes"`
CreatedAt time.Time `json:"createdAt"`
GracePeriodDays int `json:"gracePeriodDays"`
UpdatedAt time.Time `json:"updatedAt"`
Id xid.ID `json:"id"`
LockoutDurationMinutes int `json:"lockoutDurationMinutes"`
}
type MFAPolicyResponse ¶
type MFAPolicyResponse struct {
OrganizationId ID `json:"organizationId"`
RequiredFactorCount int `json:"requiredFactorCount"`
AllowedFactorTypes []string `json:"allowedFactorTypes"`
AppId xid.ID `json:"appId"`
Enabled bool `json:"enabled"`
GracePeriodDays int `json:"gracePeriodDays"`
Id xid.ID `json:"id"`
}
type MFASession ¶
type MFASession struct {
FactorsRequired int `json:"factorsRequired"`
FactorsVerified int `json:"factorsVerified"`
IpAddress string `json:"ipAddress"`
Metadata interface{} `json:"metadata"`
VerifiedFactors ID `json:"verifiedFactors"`
ExpiresAt time.Time `json:"expiresAt"`
Id xid.ID `json:"id"`
RiskLevel RiskLevel `json:"riskLevel"`
SessionToken string `json:"sessionToken"`
UserAgent string `json:"userAgent"`
UserId xid.ID `json:"userId"`
CompletedAt Time `json:"completedAt"`
CreatedAt time.Time `json:"createdAt"`
}
type MemberHandler ¶
type MemberHandler struct {
}
type MembersResponse ¶
type MemoryChallengeStore ¶
type MemoryChallengeStore struct {
}
type MemoryStateStore ¶
type MemoryStateStore struct {
}
type MessageResponse ¶
type MessageResponse struct {
Message string `json:"message"`
}
MessageResponse represents Simple message response
type MetadataResponse ¶
type MetadataResponse struct {
Metadata string `json:"metadata"`
}
type Middleware ¶
type Middleware struct {
}
type MigrateAllRequest ¶
type MigrateAllResponse ¶
type MigrateAllResponse struct {
SkippedPolicies int `json:"skippedPolicies"`
CompletedAt string `json:"completedAt"`
DryRun bool `json:"dryRun"`
StartedAt string `json:"startedAt"`
TotalPolicies int `json:"totalPolicies"`
ConvertedPolicies []PolicyPreviewResponse `json:"convertedPolicies"`
Errors []MigrationErrorResponse `json:"errors"`
FailedPolicies int `json:"failedPolicies"`
MigratedPolicies int `json:"migratedPolicies"`
}
type MigrateRBACRequest ¶
type MigrateRolesRequest ¶
type MigrateRolesRequest struct {
DryRun bool `json:"dryRun"`
}
type MigrationErrorResponse ¶
type MigrationHandler ¶
type MigrationHandler struct {
}
type MigrationResponse ¶
type MigrationStatusResponse ¶
type MigrationStatusResponse struct {
StartedAt time.Time `json:"startedAt"`
UserOrganizationId *string `json:"userOrganizationId"`
ValidationPassed bool `json:"validationPassed"`
CompletedAt Time `json:"completedAt"`
Errors []string `json:"errors"`
FailedCount int `json:"failedCount"`
Progress float64 `json:"progress"`
Status string `json:"status"`
TotalPolicies int `json:"totalPolicies"`
AppId string `json:"appId"`
EnvironmentId string `json:"environmentId"`
MigratedCount int `json:"migratedCount"`
}
type MockAppService ¶
type MockAppService struct {
}
type MockAuditService ¶
type MockAuditService struct {
}
type MockEmailService ¶
type MockEmailService struct {
}
type MockOrganizationUIExtension ¶
type MockOrganizationUIExtension struct {
}
type MockRepository ¶
type MockRepository struct {
}
type MockService ¶
type MockService struct {
}
type MockSessionService ¶
type MockSessionService struct {
}
type MockSocialAccountRepository ¶
type MockSocialAccountRepository struct {
}
type MockStateStore ¶
type MockStateStore struct {
}
type MockUserRepository ¶
type MockUserRepository struct {
}
type MockUserService ¶
type MockUserService struct {
}
type MultiSessionErrorResponse ¶
type MultiSessionErrorResponse struct {
Error string `json:"error"`
}
type MultiStepRecoveryConfig ¶
type MultiStepRecoveryConfig struct {
HighRiskSteps []RecoveryMethod `json:"highRiskSteps"`
LowRiskSteps []RecoveryMethod `json:"lowRiskSteps"`
MediumRiskSteps []RecoveryMethod `json:"mediumRiskSteps"`
MinimumSteps int `json:"minimumSteps"`
SessionExpiry time.Duration `json:"sessionExpiry"`
AllowStepSkip bool `json:"allowStepSkip"`
AllowUserChoice bool `json:"allowUserChoice"`
RequireAdminApproval bool `json:"requireAdminApproval"`
Enabled bool `json:"enabled"`
}
type NamespaceResponse ¶
type NamespaceResponse struct {
Id string `json:"id"`
Name string `json:"name"`
ResourceCount int `json:"resourceCount"`
UpdatedAt time.Time `json:"updatedAt"`
AppId string `json:"appId"`
Description string `json:"description"`
InheritPlatform bool `json:"inheritPlatform"`
PolicyCount int `json:"policyCount"`
TemplateId *string `json:"templateId"`
UserOrganizationId *string `json:"userOrganizationId"`
ActionCount int `json:"actionCount"`
CreatedAt time.Time `json:"createdAt"`
EnvironmentId string `json:"environmentId"`
}
type NamespacesListResponse ¶
type NamespacesListResponse struct {
Namespaces []*NamespaceResponse `json:"namespaces"`
TotalCount int `json:"totalCount"`
}
type NoOpDocumentProvider ¶
type NoOpDocumentProvider struct {
}
type NoOpEmailProvider ¶
type NoOpEmailProvider struct {
}
type NoOpNotificationProvider ¶
type NoOpNotificationProvider struct {
}
type NoOpSMSProvider ¶
type NoOpSMSProvider struct {
}
type NoOpVideoProvider ¶
type NoOpVideoProvider struct {
}
type NotificationChannels ¶
type NotificationErrorResponse ¶
type NotificationErrorResponse struct {
Error string `json:"error"`
}
type NotificationListResponse ¶
type NotificationListResponse struct {
Total int `json:"total"`
Notifications []*interface{} `json:"notifications"`
}
type NotificationResponse ¶
type NotificationResponse struct {
Notification interface{} `json:"notification"`
}
type NotificationStatusResponse ¶
type NotificationStatusResponse struct {
Status string `json:"status"`
}
type NotificationTemplateListResponse ¶
type NotificationTemplateListResponse struct {
Total int `json:"total"`
Templates []*interface{} `json:"templates"`
}
type NotificationTemplateResponse ¶
type NotificationTemplateResponse struct {
Template interface{} `json:"template"`
}
type NotificationType ¶
type NotificationType = string
Placeholder types for undefined/missing types
type NotificationWebhookResponse ¶
type NotificationWebhookResponse struct {
Status string `json:"status"`
}
type NotificationsConfig ¶
type NotificationsConfig struct {
NotifyOnRecoveryFailed bool `json:"notifyOnRecoveryFailed"`
NotifyOnRecoveryStart bool `json:"notifyOnRecoveryStart"`
SecurityOfficerEmail string `json:"securityOfficerEmail"`
Channels []string `json:"channels"`
Enabled bool `json:"enabled"`
NotifyAdminOnHighRisk bool `json:"notifyAdminOnHighRisk"`
NotifyAdminOnReviewNeeded bool `json:"notifyAdminOnReviewNeeded"`
NotifyOnRecoveryComplete bool `json:"notifyOnRecoveryComplete"`
}
type NotificationsResponse ¶
type NotificationsResponse struct {
Count int `json:"count"`
Notifications interface{} `json:"notifications"`
}
type OAuthErrorResponse ¶
type OAuthState ¶
type OAuthState struct {
Redirect_url string `json:"redirect_url"`
User_organization_id ID `json:"user_organization_id"`
App_id xid.ID `json:"app_id"`
Created_at time.Time `json:"created_at"`
Extra_scopes []string `json:"extra_scopes"`
Link_user_id ID `json:"link_user_id"`
Provider string `json:"provider"`
}
type OIDCCallbackResponse ¶
type OIDCLoginRequest ¶
type OIDCLoginResponse ¶
type OTPSentResponse ¶
type OnfidoConfig ¶
type OnfidoConfig struct {
DocumentCheck DocumentCheckConfig `json:"documentCheck"`
IncludeDocumentReport bool `json:"includeDocumentReport"`
IncludeWatchlistReport bool `json:"includeWatchlistReport"`
WorkflowId string `json:"workflowId"`
Enabled bool `json:"enabled"`
FacialCheck FacialCheckConfig `json:"facialCheck"`
IncludeFacialReport bool `json:"includeFacialReport"`
Region string `json:"region"`
WebhookToken string `json:"webhookToken"`
ApiToken string `json:"apiToken"`
}
type OnfidoProvider ¶
type OnfidoProvider struct {
}
type Option ¶
type Option func(*Client)
Option is a functional option for configuring the client
func WithAPIKey ¶
WithAPIKey sets the API key for authentication
func WithAppContext ¶
WithAppContext sets the app and environment context for requests
func WithCookieJar ¶
WithCookieJar sets a cookie jar for session management
func WithHTTPClient ¶
WithHTTPClient sets a custom HTTP client
func WithHeaders ¶
WithHeaders sets custom headers
func WithPlugins ¶
WithPlugins adds plugins to the client
type OrganizationHandler ¶
type OrganizationHandler struct {
}
type OrganizationUIRegistry ¶
type OrganizationUIRegistry struct {
}
type PasskeyInfo ¶
type PasskeyInfo struct {
Aaguid string `json:"aaguid"`
CredentialId string `json:"credentialId"`
Id string `json:"id"`
IsResidentKey bool `json:"isResidentKey"`
LastUsedAt Time `json:"lastUsedAt"`
Name string `json:"name"`
SignCount uint `json:"signCount"`
AuthenticatorType string `json:"authenticatorType"`
CreatedAt time.Time `json:"createdAt"`
}
type PhoneVerifyResponse ¶
type Plugin ¶
type Plugin interface {
// ID returns the unique plugin identifier
ID() string
// Init initializes the plugin with the client
Init(client *Client) error
}
Plugin defines the interface for client plugins
type PoliciesListResponse ¶
type PoliciesListResponse struct {
PageSize int `json:"pageSize"`
Policies []*PolicyResponse `json:"policies"`
TotalCount int `json:"totalCount"`
Page int `json:"page"`
}
type PolicyEngine ¶
type PolicyEngine struct {
}
type PolicyPreviewResponse ¶
type PolicyResponse ¶
type PolicyResponse struct {
Actions []string `json:"actions"`
Name string `json:"name"`
NamespaceId string `json:"namespaceId"`
UpdatedAt time.Time `json:"updatedAt"`
UserOrganizationId *string `json:"userOrganizationId"`
Version int `json:"version"`
CreatedBy string `json:"createdBy"`
Description string `json:"description"`
Id string `json:"id"`
AppId string `json:"appId"`
CreatedAt time.Time `json:"createdAt"`
Enabled bool `json:"enabled"`
EnvironmentId string `json:"environmentId"`
Priority int `json:"priority"`
Expression string `json:"expression"`
ResourceType string `json:"resourceType"`
}
type PolicyStats ¶
type PreviewTemplateRequest ¶
type PreviewTemplateRequest struct {
}
type PreviewTemplateResponse ¶
type PreviewTemplate_req ¶
type PreviewTemplate_req struct {
Variables interface{} `json:"variables"`
}
type PrivacySettings ¶
type PrivacySettings struct {
DataRetentionDays int `json:"dataRetentionDays"`
Metadata JSONBMap `json:"metadata"`
OrganizationId string `json:"organizationId"`
RequireExplicitConsent bool `json:"requireExplicitConsent"`
AnonymousConsentEnabled bool `json:"anonymousConsentEnabled"`
AutoDeleteAfterDays int `json:"autoDeleteAfterDays"`
ConsentRequired bool `json:"consentRequired"`
CookieConsentStyle string `json:"cookieConsentStyle"`
DpoEmail string `json:"dpoEmail"`
ExportFormat []string `json:"exportFormat"`
Id xid.ID `json:"id"`
ContactPhone string `json:"contactPhone"`
CookieConsentEnabled bool `json:"cookieConsentEnabled"`
RequireAdminApprovalForDeletion bool `json:"requireAdminApprovalForDeletion"`
CcpaMode bool `json:"ccpaMode"`
CreatedAt time.Time `json:"createdAt"`
DeletionGracePeriodDays int `json:"deletionGracePeriodDays"`
GdprMode bool `json:"gdprMode"`
UpdatedAt time.Time `json:"updatedAt"`
AllowDataPortability bool `json:"allowDataPortability"`
ContactEmail string `json:"contactEmail"`
DataExportExpiryHours int `json:"dataExportExpiryHours"`
}
type PrivacySettingsRequest ¶
type PrivacySettingsRequest struct {
ConsentRequired *bool `json:"consentRequired"`
DataRetentionDays *int `json:"dataRetentionDays"`
DpoEmail string `json:"dpoEmail"`
RequireExplicitConsent *bool `json:"requireExplicitConsent"`
AllowDataPortability *bool `json:"allowDataPortability"`
AnonymousConsentEnabled *bool `json:"anonymousConsentEnabled"`
ExportFormat []string `json:"exportFormat"`
AutoDeleteAfterDays *int `json:"autoDeleteAfterDays"`
CookieConsentEnabled *bool `json:"cookieConsentEnabled"`
CookieConsentStyle string `json:"cookieConsentStyle"`
DeletionGracePeriodDays *int `json:"deletionGracePeriodDays"`
RequireAdminApprovalForDeletion *bool `json:"requireAdminApprovalForDeletion"`
CcpaMode *bool `json:"ccpaMode"`
ContactEmail string `json:"contactEmail"`
ContactPhone string `json:"contactPhone"`
DataExportExpiryHours *int `json:"dataExportExpiryHours"`
GdprMode *bool `json:"gdprMode"`
}
type ProviderCheckResult ¶
type ProviderCheckResult struct {
}
type ProviderConfigResponse ¶
type ProviderDetailResponse ¶
type ProviderDetailResponse struct {
AttributeMapping interface{} `json:"attributeMapping"`
OidcClientID string `json:"oidcClientID"`
OidcIssuer string `json:"oidcIssuer"`
ProviderId string `json:"providerId"`
SamlEntryPoint string `json:"samlEntryPoint"`
SamlIssuer string `json:"samlIssuer"`
Type string `json:"type"`
UpdatedAt string `json:"updatedAt"`
CreatedAt string `json:"createdAt"`
Domain string `json:"domain"`
HasSamlCert bool `json:"hasSamlCert"`
OidcRedirectURI string `json:"oidcRedirectURI"`
}
type ProviderInfo ¶
type ProviderListResponse ¶
type ProviderListResponse struct {
Providers []ProviderInfo `json:"providers"`
Total int `json:"total"`
}
type ProviderSession ¶
type ProviderSession struct {
}
type ProviderSessionRequest ¶
type ProviderSessionRequest struct {
}
type ProvidersAppResponse ¶
type ProvidersConfig ¶
type ProvidersConfig struct {
Reddit ProviderConfig `json:"reddit"`
Apple ProviderConfig `json:"apple"`
Github ProviderConfig `json:"github"`
Spotify ProviderConfig `json:"spotify"`
Line ProviderConfig `json:"line"`
Microsoft ProviderConfig `json:"microsoft"`
Twitch ProviderConfig `json:"twitch"`
Twitter ProviderConfig `json:"twitter"`
Dropbox ProviderConfig `json:"dropbox"`
Facebook ProviderConfig `json:"facebook"`
Gitlab ProviderConfig `json:"gitlab"`
Google ProviderConfig `json:"google"`
Notion ProviderConfig `json:"notion"`
Slack ProviderConfig `json:"slack"`
Bitbucket ProviderConfig `json:"bitbucket"`
Discord ProviderConfig `json:"discord"`
Linkedin ProviderConfig `json:"linkedin"`
}
type ProvidersResponse ¶
type ProvidersResponse struct {
Providers []string `json:"providers"`
}
type PublishContentTypeRequest ¶
type PublishContentTypeRequest struct {
}
type PublishEntryRequest ¶
type PublishEntryRequest struct {
}
type QueryEntriesRequest ¶
type QueryEntriesRequest struct {
}
type RateLimitConfig ¶
type RateLimitRule ¶
type RateLimiter ¶
type RateLimiter struct {
}
type RateLimitingConfig ¶
type RateLimitingConfig struct {
ExponentialBackoff bool `json:"exponentialBackoff"`
IpCooldownPeriod time.Duration `json:"ipCooldownPeriod"`
LockoutAfterAttempts int `json:"lockoutAfterAttempts"`
LockoutDuration time.Duration `json:"lockoutDuration"`
MaxAttemptsPerDay int `json:"maxAttemptsPerDay"`
MaxAttemptsPerHour int `json:"maxAttemptsPerHour"`
MaxAttemptsPerIp int `json:"maxAttemptsPerIp"`
Enabled bool `json:"enabled"`
}
type RecordCookieConsentRequest ¶
type RecordCookieConsentRequest struct {
Analytics bool `json:"analytics"`
BannerVersion string `json:"bannerVersion"`
Essential bool `json:"essential"`
Functional bool `json:"functional"`
Marketing bool `json:"marketing"`
Personalization bool `json:"personalization"`
SessionId string `json:"sessionId"`
ThirdParty bool `json:"thirdParty"`
}
type RecordCookieConsentResponse ¶
type RecordCookieConsentResponse struct {
Preferences interface{} `json:"preferences"`
}
type RecoveryAttemptLog ¶
type RecoveryAttemptLog struct {
}
type RecoveryCodeUsage ¶
type RecoveryCodeUsage struct {
}
type RecoveryCodesConfig ¶
type RecoveryCodesConfig struct {
AllowPrint bool `json:"allowPrint"`
AutoRegenerate bool `json:"autoRegenerate"`
CodeCount int `json:"codeCount"`
CodeLength int `json:"codeLength"`
Enabled bool `json:"enabled"`
Format string `json:"format"`
RegenerateCount int `json:"regenerateCount"`
AllowDownload bool `json:"allowDownload"`
}
type RecoveryConfiguration ¶
type RecoveryConfiguration struct {
}
type RecoveryMethod ¶
type RecoveryMethod = string
Placeholder type aliases for undefined enum/custom types
type RecoverySession ¶
type RecoverySession struct {
}
type RecoverySessionInfo ¶
type RecoverySessionInfo struct {
CompletedAt Time `json:"completedAt"`
CreatedAt time.Time `json:"createdAt"`
CurrentStep int `json:"currentStep"`
ExpiresAt time.Time `json:"expiresAt"`
Id xid.ID `json:"id"`
RequiresReview bool `json:"requiresReview"`
TotalSteps int `json:"totalSteps"`
UserEmail string `json:"userEmail"`
Method RecoveryMethod `json:"method"`
RiskScore float64 `json:"riskScore"`
Status RecoveryStatus `json:"status"`
UserId xid.ID `json:"userId"`
}
type RecoveryStatus ¶
type RecoveryStatus = string
Placeholder type aliases for undefined enum/custom types
type RedisChallengeStore ¶
type RedisChallengeStore struct {
}
type RedisStateStore ¶
type RedisStateStore struct {
}
type RefreshResponse ¶
type RefreshSessionRequest ¶
type RefreshSessionRequest struct {
RefreshToken string `json:"refreshToken"`
}
type RefreshSessionResponse ¶
type RegenerateCodesRequest ¶
type RegisterClientRequest ¶
type RegisterClientRequest struct {
Client_name string `json:"client_name"`
Contacts []string `json:"contacts"`
Logo_uri string `json:"logo_uri"`
Tos_uri string `json:"tos_uri"`
Trusted_client bool `json:"trusted_client"`
Grant_types []string `json:"grant_types"`
Require_pkce bool `json:"require_pkce"`
Policy_uri string `json:"policy_uri"`
Redirect_uris []string `json:"redirect_uris"`
Require_consent bool `json:"require_consent"`
Scope string `json:"scope"`
Token_endpoint_auth_method string `json:"token_endpoint_auth_method"`
Application_type string `json:"application_type"`
Post_logout_redirect_uris []string `json:"post_logout_redirect_uris"`
Response_types []string `json:"response_types"`
}
type RegisterClientResponse ¶
type RegisterClientResponse struct {
Contacts []string `json:"contacts"`
Grant_types []string `json:"grant_types"`
Tos_uri string `json:"tos_uri"`
Application_type string `json:"application_type"`
Client_secret string `json:"client_secret"`
Response_types []string `json:"response_types"`
Scope string `json:"scope"`
Client_id string `json:"client_id"`
Client_name string `json:"client_name"`
Client_secret_expires_at int64 `json:"client_secret_expires_at"`
Policy_uri string `json:"policy_uri"`
Post_logout_redirect_uris []string `json:"post_logout_redirect_uris"`
Redirect_uris []string `json:"redirect_uris"`
Client_id_issued_at int64 `json:"client_id_issued_at"`
Logo_uri string `json:"logo_uri"`
Token_endpoint_auth_method string `json:"token_endpoint_auth_method"`
}
type RegisterProviderRequest ¶
type RegisterProviderRequest struct {
ProviderId string `json:"providerId"`
SamlCert string `json:"samlCert"`
SamlEntryPoint string `json:"samlEntryPoint"`
Domain string `json:"domain"`
OidcClientID string `json:"oidcClientID"`
OidcClientSecret string `json:"oidcClientSecret"`
OidcRedirectURI string `json:"oidcRedirectURI"`
SamlIssuer string `json:"samlIssuer"`
Type string `json:"type"`
AttributeMapping interface{} `json:"attributeMapping"`
OidcIssuer string `json:"oidcIssuer"`
}
type RegistrationService ¶
type RegistrationService struct {
}
type RejectRecoveryRequest ¶
type RejectRecoveryResponse ¶
type RemoveMemberRequest ¶
type RemoveMemberRequest struct {
}
type RemoveTeamMemberRequest ¶
type RemoveTeamMemberRequest struct {
}
type RemoveTrustedContactResponse ¶
type RemoveTrustedContactResponse struct {
Status string `json:"status"`
}
type RenderTemplateRequest ¶
type RenderTemplateRequest struct {
}
type RenderTemplateResponse ¶
type RenderTemplate_req ¶
type RenderTemplate_req struct {
Variables interface{} `json:"variables"`
Template string `json:"template"`
}
type ReorderFieldsRequest ¶
type ReorderFieldsRequest struct {
}
type ReportsConfig ¶
type RequestEmailChangeRequest ¶
type RequestEmailChangeRequest struct {
NewEmail string `json:"newEmail"`
}
type RequestEmailChangeResponse ¶
type RequestEmailChangeResponse struct {
Message string `json:"message"`
}
type RequestPasswordResetRequest ¶
type RequestPasswordResetRequest struct {
Email string `json:"email"`
}
type RequestPasswordResetResponse ¶
type RequestPasswordResetResponse struct {
Message string `json:"message"`
}
type RequestReverificationRequest ¶
type RequestReverificationRequest struct {
Reason string `json:"reason"`
}
type RequestReverificationResponse ¶
type RequestReverificationResponse struct {
Session interface{} `json:"session"`
}
type RequestReverification_req ¶
type RequestReverification_req struct {
Reason string `json:"reason"`
}
type RequirementsResponse ¶
type RequirementsResponse struct {
Count int `json:"count"`
Requirements interface{} `json:"requirements"`
}
type ResendNotificationRequest ¶
type ResendNotificationRequest struct {
}
type ResendNotificationResponse ¶
type ResendNotificationResponse struct {
Notification interface{} `json:"notification"`
}
type ResendRequest ¶
type ResendRequest struct {
Email string `json:"email"`
}
type ResendResponse ¶
type ResendResponse struct {
Status string `json:"status"`
}
type ResetAllTemplatesResponse ¶
type ResetAllTemplatesResponse struct {
Status string `json:"status"`
}
type ResetPasswordRequest ¶
type ResetPasswordResponse ¶
type ResetPasswordResponse struct {
Message string `json:"message"`
}
type ResetTemplateRequest ¶
type ResetTemplateRequest struct {
}
type ResetTemplateResponse ¶
type ResetTemplateResponse struct {
Status string `json:"status"`
}
type ResetUserMFARequest ¶
type ResetUserMFARequest struct {
Reason string `json:"reason"`
}
type ResetUserMFAResponse ¶
type ResolveViolationRequest ¶
type ResolveViolationResponse ¶
type ResolveViolationResponse struct {
Status string `json:"status"`
}
type ResourceResponse ¶
type ResourceRule ¶
type ResourceTypeStats ¶
type ResourcesListResponse ¶
type ResourcesListResponse struct {
Resources []*ResourceResponse `json:"resources"`
TotalCount int `json:"totalCount"`
}
type RestoreEntryRequest ¶
type RestoreEntryRequest struct {
}
type RestoreRevisionRequest ¶
type RestoreRevisionRequest struct {
}
type RestoreTemplateVersionRequest ¶
type RestoreTemplateVersionRequest struct {
}
type RetentionConfig ¶
type ReverifyRequest ¶
type ReverifyRequest struct {
Reason string `json:"reason"`
}
type ReviewDocumentRequest ¶
type ReviewDocumentResponse ¶
type ReviewDocumentResponse struct {
Status string `json:"status"`
}
type RevisionHandler ¶
type RevisionHandler struct {
}
type RevokeAllRequest ¶
type RevokeAllRequest struct {
IncludeCurrentSession bool `json:"includeCurrentSession"`
}
type RevokeAllResponse ¶
type RevokeConsentRequest ¶
type RevokeConsentResponse ¶
type RevokeConsentResponse struct {
Status string `json:"status"`
}
type RevokeDeviceRequest ¶
type RevokeDeviceRequest struct {
Fingerprint string `json:"fingerprint"`
}
type RevokeDeviceResponse ¶
type RevokeDeviceResponse struct {
Status string `json:"status"`
}
type RevokeOthersResponse ¶
type RevokeResponse ¶
type RevokeSessionRequestDTO ¶
type RevokeSessionRequestDTO struct {
}
type RevokeTokenRequest ¶
type RevokeTokenService ¶
type RevokeTokenService struct {
}
type RevokeTrustedDeviceRequest ¶
type RevokeTrustedDeviceRequest struct {
}
type RiskAssessment ¶
type RiskAssessment struct {
Metadata interface{} `json:"metadata"`
Recommended []FactorType `json:"recommended"`
Score float64 `json:"score"`
Factors []string `json:"factors"`
Level RiskLevel `json:"level"`
}
type RiskAssessmentConfig ¶
type RiskAssessmentConfig struct {
BlockHighRisk bool `json:"blockHighRisk"`
Enabled bool `json:"enabled"`
MediumRiskThreshold float64 `json:"mediumRiskThreshold"`
NewDeviceWeight float64 `json:"newDeviceWeight"`
RequireReviewAbove float64 `json:"requireReviewAbove"`
VelocityWeight float64 `json:"velocityWeight"`
HighRiskThreshold float64 `json:"highRiskThreshold"`
HistoryWeight float64 `json:"historyWeight"`
LowRiskThreshold float64 `json:"lowRiskThreshold"`
NewIpWeight float64 `json:"newIpWeight"`
NewLocationWeight float64 `json:"newLocationWeight"`
}
type RiskContext ¶
type RiskContext struct {
}
type RiskEngine ¶
type RiskEngine struct {
}
type RiskFactor ¶
type RiskFactor struct {
}
type RolesResponse ¶
type RolesResponse struct {
Roles Role `json:"roles"`
}
type RollbackRequest ¶
type RollbackRequest struct {
Reason string `json:"reason"`
}
type RotateAPIKeyRequest ¶
type RotateAPIKeyRequest struct {
}
type RotateAPIKeyResponse ¶
type RoundTripperMiddleware ¶
type RoundTripperMiddleware struct {
// contains filtered or unexported fields
}
RoundTripperMiddleware wraps http.RoundTripper with auth injection Use this to automatically inject authentication headers and context into all HTTP requests made by a standard http.Client
type RouteRule ¶
type RouteRule struct {
Security_level SecurityLevel `json:"security_level"`
Description string `json:"description"`
Method string `json:"method"`
Org_id string `json:"org_id"`
Pattern string `json:"pattern"`
}
type RunCheckRequest ¶
type RunCheckRequest struct {
CheckType string `json:"checkType"`
}
type RunCheckResponse ¶
type RunCheckResponse struct {
Id string `json:"id"`
}
type RunCheck_req ¶
type RunCheck_req struct {
CheckType string `json:"checkType"`
}
type SAMLCallbackResponse ¶
type SAMLLoginRequest ¶
type SAMLLoginRequest struct {
RelayState string `json:"relayState"`
}
type SAMLLoginResponse ¶
type SAMLSPMetadataResponse ¶
type SAMLSPMetadataResponse struct {
Metadata string `json:"metadata"`
}
type SMSFactorAdapter ¶
type SMSFactorAdapter struct {
}
type SMSProviderConfig ¶
type SMSVerificationConfig ¶
type SMSVerificationConfig struct {
Provider string `json:"provider"`
CodeExpiry time.Duration `json:"codeExpiry"`
CodeLength int `json:"codeLength"`
CooldownPeriod time.Duration `json:"cooldownPeriod"`
Enabled bool `json:"enabled"`
MaxAttempts int `json:"maxAttempts"`
MaxSmsPerDay int `json:"maxSmsPerDay"`
MessageTemplate string `json:"messageTemplate"`
}
type SSOAuthResponse ¶
type SaveBuilderTemplate_req ¶
type SchemaValidator ¶
type SchemaValidator struct {
}
type ScopeDefinition ¶
type ScopeDefinition struct {
}
type ScopeResolver ¶
type ScopeResolver struct {
}
type SecretsConfigSource ¶
type SecretsConfigSource struct {
}
type SecurityLevel ¶
type SecurityLevel = string
Placeholder type aliases for undefined enum/custom types
type SecurityQuestion ¶
type SecurityQuestion struct {
}
type SecurityQuestionInfo ¶
type SecurityQuestionsConfig ¶
type SecurityQuestionsConfig struct {
RequireMinLength int `json:"requireMinLength"`
AllowCustomQuestions bool `json:"allowCustomQuestions"`
CaseSensitive bool `json:"caseSensitive"`
MaxAttempts int `json:"maxAttempts"`
PredefinedQuestions []string `json:"predefinedQuestions"`
RequiredToRecover int `json:"requiredToRecover"`
Enabled bool `json:"enabled"`
ForbidCommonAnswers bool `json:"forbidCommonAnswers"`
LockoutDuration time.Duration `json:"lockoutDuration"`
MaxAnswerLength int `json:"maxAnswerLength"`
MinimumQuestions int `json:"minimumQuestions"`
}
type SendCodeRequest ¶
type SendCodeRequest struct {
Phone string `json:"phone"`
}
type SendCodeResponse ¶
type SendNotificationResponse ¶
type SendNotificationResponse struct {
Notification interface{} `json:"notification"`
}
type SendOTPRequest ¶
type SendOTPRequest struct {
User_id string `json:"user_id"`
}
type SendOTPResponse ¶
type SendRequest ¶
type SendRequest struct {
Email string `json:"email"`
}
type SendResponse ¶
type SendVerificationCodeRequest ¶
type SendVerificationCodeRequest struct {
Method RecoveryMethod `json:"method"`
SessionId xid.ID `json:"sessionId"`
Target string `json:"target"`
}
type SendWithTemplateRequest ¶
type Session ¶
type Session struct {
ExpiresAt string `json:"expiresAt"`
IpAddress *string `json:"ipAddress,omitempty"`
UserAgent *string `json:"userAgent,omitempty"`
CreatedAt string `json:"createdAt"`
Id string `json:"id"`
UserId string `json:"userId"`
Token string `json:"token"`
}
Session represents User session
func GetSessionFromContext ¶
GetSessionFromContext retrieves session from Forge context
type SessionAutoSendConfig ¶
type SessionStats ¶
type SessionStats struct {
}
type SessionStatsResponse ¶
type SessionTokenResponse ¶
type SetActiveRequest ¶
type SetActiveRequest struct {
Id string `json:"id"`
}
type SetActiveResponse ¶
type SetUserRoleRequest ¶
type SetUserRoleRequestDTO ¶
type SetUserRoleRequestDTO struct {
Role string `json:"role"`
}
type SetupSecurityQuestionsRequest ¶
type SetupSecurityQuestionsRequest struct {
Questions []SetupSecurityQuestionRequest `json:"questions"`
}
type SignInRequest ¶
type SignInResponse ¶
type SignInResponse struct {
Session interface{} `json:"session"`
Token string `json:"token"`
User interface{} `json:"user"`
}
type SignOutResponse ¶
type SignOutResponse struct {
Success bool `json:"success"`
}
type SignUpRequest ¶
type SignUpResponse ¶
type StartRecoveryRequest ¶
type StartRecoveryRequest struct {
UserId string `json:"userId"`
DeviceId string `json:"deviceId"`
Email string `json:"email"`
PreferredMethod RecoveryMethod `json:"preferredMethod"`
}
type StartRecoveryResponse ¶
type StartRecoveryResponse struct {
RiskScore float64 `json:"riskScore"`
SessionId xid.ID `json:"sessionId"`
Status RecoveryStatus `json:"status"`
AvailableMethods []RecoveryMethod `json:"availableMethods"`
CompletedSteps int `json:"completedSteps"`
ExpiresAt time.Time `json:"expiresAt"`
RequiredSteps int `json:"requiredSteps"`
RequiresReview bool `json:"requiresReview"`
}
type StateStorageConfig ¶
type StateStore ¶
type StateStore struct {
}
type StatsResponse ¶
type StatusResponse ¶
type StatusResponse struct {
Status string `json:"status"`
}
StatusResponse represents Status response
type StepUpAttempt ¶
type StepUpAttempt struct {
Failure_reason string `json:"failure_reason"`
Org_id string `json:"org_id"`
Requirement_id string `json:"requirement_id"`
Success bool `json:"success"`
User_agent string `json:"user_agent"`
User_id string `json:"user_id"`
Created_at time.Time `json:"created_at"`
Id string `json:"id"`
Ip string `json:"ip"`
Method VerificationMethod `json:"method"`
}
type StepUpAuditLog ¶
type StepUpAuditLog struct {
User_agent string `json:"user_agent"`
Event_data interface{} `json:"event_data"`
Event_type string `json:"event_type"`
Org_id string `json:"org_id"`
User_id string `json:"user_id"`
Created_at time.Time `json:"created_at"`
Id string `json:"id"`
Ip string `json:"ip"`
Severity string `json:"severity"`
}
type StepUpAuditLogsResponse ¶
type StepUpAuditLogsResponse struct {
Audit_logs []*interface{} `json:"audit_logs"`
}
type StepUpDevicesResponse ¶
type StepUpDevicesResponse struct {
Count int `json:"count"`
Devices interface{} `json:"devices"`
}
type StepUpErrorResponse ¶
type StepUpErrorResponse struct {
Error string `json:"error"`
}
type StepUpPoliciesResponse ¶
type StepUpPoliciesResponse struct {
Policies []*interface{} `json:"policies"`
}
type StepUpPolicy ¶
type StepUpPolicy struct {
Id string `json:"id"`
User_id string `json:"user_id"`
Created_at time.Time `json:"created_at"`
Description string `json:"description"`
Metadata interface{} `json:"metadata"`
Name string `json:"name"`
Org_id string `json:"org_id"`
Priority int `json:"priority"`
Rules interface{} `json:"rules"`
Updated_at time.Time `json:"updated_at"`
Enabled bool `json:"enabled"`
}
type StepUpPolicyResponse ¶
type StepUpPolicyResponse struct {
Id string `json:"id"`
}
type StepUpRememberedDevice ¶
type StepUpRememberedDevice struct {
Security_level SecurityLevel `json:"security_level"`
User_agent string `json:"user_agent"`
Device_id string `json:"device_id"`
Device_name string `json:"device_name"`
Expires_at time.Time `json:"expires_at"`
Id string `json:"id"`
Ip string `json:"ip"`
Org_id string `json:"org_id"`
Remembered_at time.Time `json:"remembered_at"`
User_id string `json:"user_id"`
Created_at time.Time `json:"created_at"`
Last_used_at time.Time `json:"last_used_at"`
}
type StepUpRequirement ¶
type StepUpRequirement struct {
User_agent string `json:"user_agent"`
Amount float64 `json:"amount"`
Fulfilled_at Time `json:"fulfilled_at"`
Challenge_token string `json:"challenge_token"`
Current_level SecurityLevel `json:"current_level"`
Expires_at time.Time `json:"expires_at"`
Ip string `json:"ip"`
Metadata interface{} `json:"metadata"`
Resource_type string `json:"resource_type"`
User_id string `json:"user_id"`
Created_at time.Time `json:"created_at"`
Currency string `json:"currency"`
Id string `json:"id"`
Org_id string `json:"org_id"`
Required_level SecurityLevel `json:"required_level"`
Risk_score float64 `json:"risk_score"`
Route string `json:"route"`
Rule_name string `json:"rule_name"`
Method string `json:"method"`
Reason string `json:"reason"`
Resource_action string `json:"resource_action"`
Session_id string `json:"session_id"`
Status string `json:"status"`
}
type StepUpRequirementResponse ¶
type StepUpRequirementResponse struct {
Id string `json:"id"`
}
type StepUpRequirementsResponse ¶
type StepUpRequirementsResponse struct {
Requirements []*interface{} `json:"requirements"`
}
type StepUpStatusResponse ¶
type StepUpStatusResponse struct {
Status string `json:"status"`
}
type StepUpVerification ¶
type StepUpVerification struct {
Verified_at time.Time `json:"verified_at"`
Ip string `json:"ip"`
Reason string `json:"reason"`
Security_level SecurityLevel `json:"security_level"`
User_id string `json:"user_id"`
Device_id string `json:"device_id"`
Id string `json:"id"`
Metadata interface{} `json:"metadata"`
Method VerificationMethod `json:"method"`
Org_id string `json:"org_id"`
Session_id string `json:"session_id"`
Expires_at time.Time `json:"expires_at"`
User_agent string `json:"user_agent"`
Created_at time.Time `json:"created_at"`
Rule_name string `json:"rule_name"`
}
type StepUpVerificationsResponse ¶
type StepUpVerificationsResponse struct {
Verifications []*interface{} `json:"verifications"`
}
type StripeIdentityConfig ¶
type StripeIdentityConfig struct {
Enabled bool `json:"enabled"`
RequireLiveCapture bool `json:"requireLiveCapture"`
RequireMatchingSelfie bool `json:"requireMatchingSelfie"`
ReturnUrl string `json:"returnUrl"`
UseMock bool `json:"useMock"`
WebhookSecret string `json:"webhookSecret"`
AllowedTypes []string `json:"allowedTypes"`
ApiKey string `json:"apiKey"`
}
type StripeIdentityProvider ¶
type StripeIdentityProvider struct {
}
type SuccessResponse ¶
type SuccessResponse struct {
Success bool `json:"success"`
}
SuccessResponse represents Success boolean response
type TOTPConfig ¶
type TOTPFactorAdapter ¶
type TOTPFactorAdapter struct {
}
type TOTPSecret ¶
type TOTPSecret struct {
}
type TeamHandler ¶
type TeamHandler struct {
}
type TeamsResponse ¶
type TemplateDefault ¶
type TemplateDefault struct {
}
type TemplateEngine ¶
type TemplateEngine struct {
}
type TemplateResponse ¶
type TemplateService ¶
type TemplateService struct {
}
type TemplatesListResponse ¶
type TemplatesListResponse struct {
TotalCount int `json:"totalCount"`
Categories []string `json:"categories"`
Templates []*TemplateResponse `json:"templates"`
}
type TemplatesResponse ¶
type TemplatesResponse struct {
Count int `json:"count"`
Templates interface{} `json:"templates"`
}
type TestCaseResult ¶
type TestPolicyRequest ¶
type TestPolicyResponse ¶
type TestProvider_req ¶
type TestSendTemplate_req ¶
type TestSendTemplate_req struct {
Recipient string `json:"recipient"`
Variables interface{} `json:"variables"`
}
type TimeBasedRule ¶
type TokenIntrospectionResponse ¶
type TokenIntrospectionResponse struct {
Client_id string `json:"client_id"`
Exp int64 `json:"exp"`
Iat int64 `json:"iat"`
Scope string `json:"scope"`
Token_type string `json:"token_type"`
Iss string `json:"iss"`
Jti string `json:"jti"`
Nbf int64 `json:"nbf"`
Sub string `json:"sub"`
Username string `json:"username"`
Active bool `json:"active"`
Aud []string `json:"aud"`
}
type TokenRequest ¶
type TokenRequest struct {
Audience string `json:"audience"`
Client_id string `json:"client_id"`
Code_verifier string `json:"code_verifier"`
Grant_type string `json:"grant_type"`
Scope string `json:"scope"`
Client_secret string `json:"client_secret"`
Code string `json:"code"`
Redirect_uri string `json:"redirect_uri"`
Refresh_token string `json:"refresh_token"`
}
type TokenResponse ¶
type TokenRevocationRequest ¶
type TrustDeviceRequest ¶
type TrustedContact ¶
type TrustedContact struct {
}
type TrustedContactInfo ¶
type TrustedContactsConfig ¶
type TrustedContactsConfig struct {
AllowEmailContacts bool `json:"allowEmailContacts"`
AllowPhoneContacts bool `json:"allowPhoneContacts"`
Enabled bool `json:"enabled"`
MaxNotificationsPerDay int `json:"maxNotificationsPerDay"`
MaximumContacts int `json:"maximumContacts"`
MinimumContacts int `json:"minimumContacts"`
VerificationExpiry time.Duration `json:"verificationExpiry"`
CooldownPeriod time.Duration `json:"cooldownPeriod"`
RequireVerification bool `json:"requireVerification"`
RequiredToRecover int `json:"requiredToRecover"`
}
type TrustedDevice ¶
type TrustedDevice struct {
Metadata interface{} `json:"metadata"`
UserAgent string `json:"userAgent"`
UserId xid.ID `json:"userId"`
CreatedAt time.Time `json:"createdAt"`
DeviceId string `json:"deviceId"`
ExpiresAt time.Time `json:"expiresAt"`
Id xid.ID `json:"id"`
IpAddress string `json:"ipAddress"`
Name string `json:"name"`
LastUsedAt Time `json:"lastUsedAt"`
}
type TrustedDevicesConfig ¶
type TwoFABackupCodesResponse ¶
type TwoFABackupCodesResponse struct {
Codes []string `json:"codes"`
}
type TwoFAEnableResponse ¶
type TwoFAErrorResponse ¶
type TwoFAErrorResponse struct {
Error string `json:"error"`
}
type TwoFARequiredResponse ¶
type TwoFASendOTPResponse ¶
type TwoFAStatusResponse ¶
type UnassignRoleRequest ¶
type UnassignRoleRequest struct {
}
type UnbanUserRequest ¶
type UnbanUserRequestDTO ¶
type UnbanUserRequestDTO struct {
Reason string `json:"reason"`
}
type UnblockUserRequest ¶
type UnblockUserRequest struct {
}
type UnpublishContentTypeRequest ¶
type UnpublishContentTypeRequest struct {
}
type UnpublishEntryRequest ¶
type UnpublishEntryRequest struct {
}
type UpdateAPIKeyRequest ¶
type UpdateAppRequest ¶
type UpdateAppRequest struct {
}
type UpdateClientRequest ¶
type UpdateClientRequest struct {
Require_consent *bool `json:"require_consent"`
Response_types []string `json:"response_types"`
Trusted_client *bool `json:"trusted_client"`
Allowed_scopes []string `json:"allowed_scopes"`
Contacts []string `json:"contacts"`
Name string `json:"name"`
Require_pkce *bool `json:"require_pkce"`
Token_endpoint_auth_method string `json:"token_endpoint_auth_method"`
Tos_uri string `json:"tos_uri"`
Grant_types []string `json:"grant_types"`
Logo_uri string `json:"logo_uri"`
Policy_uri string `json:"policy_uri"`
Post_logout_redirect_uris []string `json:"post_logout_redirect_uris"`
Redirect_uris []string `json:"redirect_uris"`
}
type UpdateClientResponse ¶
type UpdateClientResponse struct {
Contacts []string `json:"contacts"`
CreatedAt string `json:"createdAt"`
LogoURI string `json:"logoURI"`
PostLogoutRedirectURIs []string `json:"postLogoutRedirectURIs"`
RequirePKCE bool `json:"requirePKCE"`
UpdatedAt string `json:"updatedAt"`
ApplicationType string `json:"applicationType"`
Name string `json:"name"`
PolicyURI string `json:"policyURI"`
RequireConsent bool `json:"requireConsent"`
TokenEndpointAuthMethod string `json:"tokenEndpointAuthMethod"`
TosURI string `json:"tosURI"`
TrustedClient bool `json:"trustedClient"`
AllowedScopes []string `json:"allowedScopes"`
ClientID string `json:"clientID"`
GrantTypes []string `json:"grantTypes"`
OrganizationID string `json:"organizationID"`
RedirectURIs []string `json:"redirectURIs"`
ResponseTypes []string `json:"responseTypes"`
IsOrgLevel bool `json:"isOrgLevel"`
}
type UpdateConsentRequest ¶
type UpdateConsentResponse ¶
type UpdateConsentResponse struct {
Id string `json:"id"`
}
type UpdateContentTypeRequest ¶
type UpdateContentTypeRequest struct {
}
type UpdateEntryRequest ¶
type UpdateEntryRequest struct {
}
type UpdateFactorRequest ¶
type UpdateFactorRequest struct {
Metadata interface{} `json:"metadata"`
Name *string `json:"name"`
Priority *FactorPriority `json:"priority"`
Status *FactorStatus `json:"status"`
}
type UpdateFieldRequest ¶
type UpdateFieldRequest struct {
}
type UpdateMemberHandlerRequest ¶
type UpdateMemberHandlerRequest struct {
}
type UpdateMemberRequest ¶
type UpdateMemberRequest struct {
Role string `json:"role"`
}
type UpdateMemberRoleRequest ¶
type UpdateMemberRoleRequest struct {
Role string `json:"role"`
}
type UpdateNamespaceRequest ¶
type UpdateOrganizationHandlerRequest ¶
type UpdateOrganizationHandlerRequest struct {
}
type UpdatePasskeyRequest ¶
type UpdatePasskeyRequest struct {
Name string `json:"name"`
}
type UpdatePasskeyResponse ¶
type UpdatePolicyRequest ¶
type UpdatePolicyRequest struct {
ValidityPeriod *int `json:"validityPeriod"`
Active *bool `json:"active"`
Content string `json:"content"`
Description string `json:"description"`
Metadata interface{} `json:"metadata"`
Name string `json:"name"`
Renewable *bool `json:"renewable"`
Required *bool `json:"required"`
}
type UpdatePolicyResponse ¶
type UpdatePolicyResponse struct {
Id string `json:"id"`
}
type UpdatePolicy_req ¶
type UpdatePrivacySettingsRequest ¶
type UpdatePrivacySettingsRequest struct {
ContactPhone string `json:"contactPhone"`
CookieConsentStyle string `json:"cookieConsentStyle"`
AutoDeleteAfterDays *int `json:"autoDeleteAfterDays"`
ContactEmail string `json:"contactEmail"`
CcpaMode *bool `json:"ccpaMode"`
ConsentRequired *bool `json:"consentRequired"`
CookieConsentEnabled *bool `json:"cookieConsentEnabled"`
DataExportExpiryHours *int `json:"dataExportExpiryHours"`
DataRetentionDays *int `json:"dataRetentionDays"`
RequireAdminApprovalForDeletion *bool `json:"requireAdminApprovalForDeletion"`
RequireExplicitConsent *bool `json:"requireExplicitConsent"`
AnonymousConsentEnabled *bool `json:"anonymousConsentEnabled"`
DpoEmail string `json:"dpoEmail"`
GdprMode *bool `json:"gdprMode"`
DeletionGracePeriodDays *int `json:"deletionGracePeriodDays"`
ExportFormat []string `json:"exportFormat"`
AllowDataPortability *bool `json:"allowDataPortability"`
}
type UpdatePrivacySettingsResponse ¶
type UpdatePrivacySettingsResponse struct {
Settings interface{} `json:"settings"`
}
type UpdateProfileRequest ¶
type UpdateProfileResponse ¶
type UpdateProfileResponse struct {
Id string `json:"id"`
}
type UpdateProviderRequest ¶
type UpdateProviderRequest struct {
}
type UpdateProvider_req ¶
type UpdateRecoveryConfigRequest ¶
type UpdateRecoveryConfigRequest struct {
RiskScoreThreshold float64 `json:"riskScoreThreshold"`
EnabledMethods []RecoveryMethod `json:"enabledMethods"`
MinimumStepsRequired int `json:"minimumStepsRequired"`
RequireAdminReview bool `json:"requireAdminReview"`
RequireMultipleSteps bool `json:"requireMultipleSteps"`
}
type UpdateRecoveryConfigResponse ¶
type UpdateRecoveryConfigResponse struct {
Config interface{} `json:"config"`
}
type UpdateRequest ¶
type UpdateResponse ¶
type UpdateResponse struct {
Webhook Webhook `json:"webhook"`
}
type UpdateSecretRequest ¶
type UpdateTeamHandlerRequest ¶
type UpdateTeamHandlerRequest struct {
}
type UpdateTeamRequest ¶
type UpdateTemplateRequest ¶
type UpdateTemplateRequest struct {
}
type UpdateTemplateResponse ¶
type UpdateTemplateResponse struct {
Template interface{} `json:"template"`
}
type UpdateUserRequest ¶
type UpdateUserResponse ¶
type UpdateUserResponse struct {
User User `json:"user"`
}
type UploadDocumentRequest ¶
type UploadDocumentResponse ¶
type User ¶
type User struct {
CreatedAt string `json:"createdAt"`
UpdatedAt string `json:"updatedAt"`
OrganizationId *string `json:"organizationId,omitempty"`
Id string `json:"id"`
Email string `json:"email"`
Name *string `json:"name,omitempty"`
EmailVerified bool `json:"emailVerified"`
}
User represents User account
type UserAdapter ¶
type UserAdapter struct {
}
type UserInfoResponse ¶
type UserInfoResponse struct {
Phone_number_verified bool `json:"phone_number_verified"`
Picture string `json:"picture"`
Email string `json:"email"`
Family_name string `json:"family_name"`
Given_name string `json:"given_name"`
Phone_number string `json:"phone_number"`
Updated_at int64 `json:"updated_at"`
Email_verified bool `json:"email_verified"`
Middle_name string `json:"middle_name"`
Sub string `json:"sub"`
Birthdate string `json:"birthdate"`
Gender string `json:"gender"`
Locale string `json:"locale"`
Nickname string `json:"nickname"`
Profile string `json:"profile"`
Zoneinfo string `json:"zoneinfo"`
Name string `json:"name"`
Preferred_username string `json:"preferred_username"`
Website string `json:"website"`
}
type UserServiceAdapter ¶
type UserServiceAdapter struct {
}
type UserVerificationStatus ¶
type UserVerificationStatus = string
Placeholder types for undefined/missing types
type UserVerificationStatusResponse ¶
type UserVerificationStatusResponse struct {
Status UserVerificationStatus `json:"status"`
}
type ValidateContentTypeRequest ¶
type ValidateContentTypeRequest struct {
}
type ValidatePolicyRequest ¶
type ValidatePolicyResponse ¶
type ValidateResetTokenResponse ¶
type ValidateResetTokenResponse struct {
Valid bool `json:"valid"`
}
type VerificationListResponse ¶
type VerificationListResponse struct {
Limit int `json:"limit"`
Offset int `json:"offset"`
Total int `json:"total"`
Verifications IdentityVerification `json:"verifications"`
}
type VerificationMethod ¶
type VerificationMethod = string
Placeholder type aliases for undefined enum/custom types
type VerificationRepository ¶
type VerificationRepository struct {
}
type VerificationRequest ¶
type VerificationResponse ¶
type VerificationResponse struct {
Verification IdentityVerification `json:"verification"`
}
type VerificationResult ¶
type VerificationResult struct {
}
type VerificationSessionResponse ¶
type VerificationSessionResponse struct {
Session IdentityVerificationSession `json:"session"`
}
type VerificationsResponse ¶
type VerificationsResponse struct {
Count int `json:"count"`
Verifications interface{} `json:"verifications"`
}
type VerifyAPIKeyRequest ¶
type VerifyAPIKeyRequest struct {
Key string `json:"key"`
}
type VerifyChallengeRequest ¶
type VerifyChallengeResponse ¶
type VerifyCodeRequest ¶
type VerifyCodeResponse ¶
type VerifyEnrolledFactorRequest ¶
type VerifyEnrolledFactorRequest struct {
Code string `json:"code"`
Data interface{} `json:"data"`
}
type VerifyImpersonationRequest ¶
type VerifyImpersonationRequest struct {
}
type VerifyRequest ¶
type VerifyRequest struct {
}
type VerifyRequest2FA ¶
type VerifyResponse ¶
type VerifyTokenRequest ¶
type VerifyTrustedContactRequest ¶
type VerifyTrustedContactRequest struct {
Token string `json:"token"`
}
type VersioningConfig ¶
type VideoSessionInfo ¶
type VideoSessionInfo struct {
}
type VideoSessionResult ¶
type VideoSessionResult struct {
}
type VideoVerificationConfig ¶
type VideoVerificationConfig struct {
LivenessThreshold float64 `json:"livenessThreshold"`
RequireAdminReview bool `json:"requireAdminReview"`
RequireScheduling bool `json:"requireScheduling"`
SessionDuration time.Duration `json:"sessionDuration"`
Enabled bool `json:"enabled"`
MinScheduleAdvance time.Duration `json:"minScheduleAdvance"`
Provider string `json:"provider"`
RecordSessions bool `json:"recordSessions"`
RecordingRetention time.Duration `json:"recordingRetention"`
RequireLivenessCheck bool `json:"requireLivenessCheck"`
}
type VideoVerificationSession ¶
type VideoVerificationSession struct {
}
type WebAuthnConfig ¶
type WebAuthnConfig struct {
Rp_origins []string `json:"rp_origins"`
Timeout int `json:"timeout"`
Attestation_preference string `json:"attestation_preference"`
Authenticator_selection interface{} `json:"authenticator_selection"`
Enabled bool `json:"enabled"`
Rp_display_name string `json:"rp_display_name"`
Rp_id string `json:"rp_id"`
}
type WebAuthnFactorAdapter ¶
type WebAuthnFactorAdapter struct {
}
type WebAuthnWrapper ¶
type WebAuthnWrapper struct {
}
type Webhook ¶
type Webhook struct {
Secret string `json:"secret"`
Enabled bool `json:"enabled"`
CreatedAt string `json:"createdAt"`
Id string `json:"id"`
OrganizationId string `json:"organizationId"`
Url string `json:"url"`
Events []string `json:"events"`
}
Webhook represents Webhook configuration
type WebhookConfig ¶
type WebhookConfig struct {
Notify_on_created bool `json:"notify_on_created"`
Notify_on_deleted bool `json:"notify_on_deleted"`
Notify_on_expiring bool `json:"notify_on_expiring"`
Notify_on_rate_limit bool `json:"notify_on_rate_limit"`
Notify_on_rotated bool `json:"notify_on_rotated"`
Webhook_urls []string `json:"webhook_urls"`
Enabled bool `json:"enabled"`
Expiry_warning_days int `json:"expiry_warning_days"`
}
type WebhookPayload ¶
type WebhookPayload struct {
}