Versions in this module Expand all Collapse all v8 v8.0.0 May 6, 2026 Changes in this version + const EmailVerificationRequiredCode + const MFAChallengeCode + const MFAEnrollmentCode + const OrganizationAuthenticationMethodsRequiredCode + const OrganizationSelectionRequiredCode + const SSORequiredCode + const Version + var ErrWebhookInvalidHeader = errors.New("workos: invalid webhook signature header") + var ErrWebhookInvalidTimestamp = errors.New("workos: invalid timestamp in signature header") + var ErrWebhookNoValidSignature = errors.New("workos: no valid signature found") + var ErrWebhookNotSigned = errors.New("workos: webhook not signed") + var ErrWebhookOutsideTolerance = errors.New("workos: timestamp outside tolerance") + func Bool(b bool) *bool + func ComputeWebhookSignature(secret string, timestamp string, body string) string + func GenerateCodeChallenge(verifier string) string + func GenerateCodeVerifier(length ...int) (string, error) + func GetJWKSURL(baseURL string, clientID string) string + func Int(i int) *int + func LocalDecrypt(encryptedData string, dataKey DataKey, associatedData string) (string, error) + func LocalEncrypt(data string, keyPair DataKeyPair, associatedData string) (string, error) + func ParseWebhookSignatureHeader(header string) (timestamp string, signature string, err error) + func Ptr[T any](v T) *T + func SealData(data map[string]interface{}, password string) (string, error) + func SealSession(data *SessionData, password string) (string, error) + func SealSessionFromAuthResponse(accessToken string, refreshToken string, user *User, ...) (string, error) + func Seal[T any](data T, password string) (string, error) + func String(s string) *string + func UnsealData(sealed string, password string) (map[string]interface{}, error) + func Unseal[T any](sealed, password string) (T, error) + type APIError struct + Code string + EmailVerificationID string + ErrorCode string + ErrorDescription string + Errors []string + FieldErrors []FieldError + Message string + PendingAuthenticationToken string + RawBody string + RequestID string + RetryAfter int + StatusCode int + func (e *APIError) Error() string + type APIKey struct + CreatedAt string + ID string + LastUsedAt *string + Name string + ObfuscatedValue string + Object string + Owner *APIKeyOwner + Permissions []string + UpdatedAt string + type APIKeyCreated struct + Context *EventContext + CreatedAt string + Data *APIKeyCreatedData + Event string + ID string + Object string + type APIKeyCreatedData struct + CreatedAt string + ID string + LastUsedAt *string + Name string + ObfuscatedValue string + Object string + Owner *APIKeyCreatedDataOwner + Permissions []string + UpdatedAt string + type APIKeyCreatedDataOwner struct + ID string + Type string + type APIKeyOwner = APIKeyCreatedDataOwner + type APIKeyRevoked struct + Context *EventContext + CreatedAt string + Data *APIKeyRevokedData + Event string + ID string + Object string + type APIKeyRevokedData struct + CreatedAt string + ID string + LastUsedAt *string + Name string + ObfuscatedValue string + Object string + Owner *APIKeyRevokedDataOwner + Permissions []string + UpdatedAt string + type APIKeyRevokedDataOwner = APIKeyCreatedDataOwner + type APIKeyService struct + func (s *APIKeyService) CreateOrganizationAPIKey(ctx context.Context, organizationID string, ...) (*OrganizationAPIKeyWithValue, error) + func (s *APIKeyService) CreateValidation(ctx context.Context, params *APIKeysCreateValidationParams, ...) (*APIKeyValidationResponse, error) + func (s *APIKeyService) Delete(ctx context.Context, id string, opts ...RequestOption) error + func (s *APIKeyService) ListOrganizationAPIKeys(ctx context.Context, organizationID string, ...) *Iterator[OrganizationAPIKey] + type APIKeyValidationResponse struct + APIKey *APIKey + type APIKeysCreateOrganizationAPIKeyParams struct + Name string + Permissions []string + type APIKeysCreateValidationParams struct + Value string + type APIKeysListOrganizationAPIKeysParams struct + type ActionAuthenticationDenied struct + Context *EventContext + CreatedAt string + Data *ActionAuthenticationDeniedData + Event string + ID string + Object string + type ActionAuthenticationDeniedData struct + ActionEndpointID string + ActionExecutionID string + Email string + IPAddress *string + OrganizationID *string + Type string + UserAgent *string + UserID string + Verdict string + type ActionSignedResponse struct + Payload string + Sig string + type ActionType string + const ActionTypeAuthentication + const ActionTypeUserRegistration + type ActionUserRegistrationDenied struct + Context *EventContext + CreatedAt string + Data *ActionUserRegistrationDeniedData + Event string + ID string + Object string + type ActionUserRegistrationDeniedData struct + ActionEndpointID string + ActionExecutionID string + Email string + IPAddress *string + OrganizationID *string + Type string + UserAgent *string + Verdict string + type ActionVerdict string + const ActionVerdictAllow + const ActionVerdictDeny + type ActionsHelper struct + func NewActionsHelper() *ActionsHelper + func (a *ActionsHelper) ConstructAction(payload string, sigHeader string, secret string) (*EventSchema, error) + func (a *ActionsHelper) SignResponse(actionType ActionType, verdict ActionVerdict, errorMessage string, ...) (*ActionSignedResponse, error) + func (a *ActionsHelper) VerifyHeader(payload string, sigHeader string, secret string) error + type AdminPortalGenerateLinkParams struct + Intent *GenerateLinkIntent + IntentOptions *IntentOptions + ItContactEmails []string + Organization string + ReturnURL *string + SuccessURL *string + type AdminPortalService struct + func (s *AdminPortalService) GenerateLink(ctx context.Context, params *AdminPortalGenerateLinkParams, ...) (*PortalLinkResponse, error) + type ApplicationCredentialsListItem struct + CreatedAt string + ID string + LastUsedAt *string + Object string + SecretHint string + UpdatedAt string + type AuditLogActionJSON struct + CreatedAt string + Name string + Object string + Schema *AuditLogSchemaJSON + UpdatedAt string + type AuditLogConfiguration struct + LogStream *AuditLogConfigurationLogStream + OrganizationID string + RetentionPeriodInDays int + State AuditLogConfigurationState + type AuditLogConfigurationLogStream struct + CreatedAt string + ID string + LastSyncedAt *string + State AuditLogConfigurationLogStreamState + Type AuditLogConfigurationLogStreamType + type AuditLogConfigurationLogStreamState string + const AuditLogConfigurationLogStreamStateActive + const AuditLogConfigurationLogStreamStateError + const AuditLogConfigurationLogStreamStateInactive + const AuditLogConfigurationLogStreamStateInvalid + type AuditLogConfigurationLogStreamType string + const AuditLogConfigurationLogStreamTypeAzureSentinel + const AuditLogConfigurationLogStreamTypeDatadog + const AuditLogConfigurationLogStreamTypeGenericHttps + const AuditLogConfigurationLogStreamTypeGoogleCloudStorage + const AuditLogConfigurationLogStreamTypeS3 + const AuditLogConfigurationLogStreamTypeSplunk + type AuditLogConfigurationState string + const AuditLogConfigurationStateActive + const AuditLogConfigurationStateDisabled + const AuditLogConfigurationStateInactive + type AuditLogEvent struct + Action string + Actor *AuditLogEventActor + Context *AuditLogEventContext + Metadata map[string]interface{} + OccurredAt string + Targets []*AuditLogEventTarget + Version *int + type AuditLogEventActor struct + ID string + Metadata map[string]interface{} + Name *string + Type string + type AuditLogEventContext struct + Location string + UserAgent *string + type AuditLogEventCreateResponse struct + Success bool + type AuditLogEventTarget = AuditLogEventActor + type AuditLogExportJSON struct + CreatedAt string + ID string + Object string + State AuditLogExportJSONState + URL *string + UpdatedAt string + type AuditLogExportJSONState string + const AuditLogExportJSONStateError + const AuditLogExportJSONStatePending + const AuditLogExportJSONStateReady + type AuditLogSchemaActor struct + Metadata map[string]interface{} + type AuditLogSchemaJSON struct + Actor *AuditLogSchemaJSONActor + CreatedAt string + Metadata map[string]interface{} + Object string + Targets []*AuditLogSchemaJSONTarget + Version int + type AuditLogSchemaJSONActor = AuditLogSchemaActor + type AuditLogSchemaJSONTarget struct + Metadata map[string]interface{} + Type string + type AuditLogSchemaTarget = AuditLogSchemaJSONTarget + type AuditLogService struct + func (s *AuditLogService) CreateEvent(ctx context.Context, params *AuditLogsCreateEventParams, opts ...RequestOption) (*AuditLogEventCreateResponse, error) + func (s *AuditLogService) CreateExport(ctx context.Context, params *AuditLogsCreateExportParams, ...) (*AuditLogExportJSON, error) + func (s *AuditLogService) CreateSchema(ctx context.Context, actionName string, params *AuditLogsCreateSchemaParams, ...) (*AuditLogSchemaJSON, error) + func (s *AuditLogService) GetExport(ctx context.Context, auditLogExportID string, opts ...RequestOption) (*AuditLogExportJSON, error) + func (s *AuditLogService) GetOrganizationAuditLogsRetention(ctx context.Context, id string, opts ...RequestOption) (*AuditLogsRetentionJSON, error) + func (s *AuditLogService) ListActionSchemas(ctx context.Context, actionName string, ...) *Iterator[AuditLogSchemaJSON] + func (s *AuditLogService) ListActions(ctx context.Context, params *AuditLogsListActionsParams, opts ...RequestOption) *Iterator[AuditLogActionJSON] + func (s *AuditLogService) UpdateOrganizationAuditLogsRetention(ctx context.Context, id string, ...) (*AuditLogsRetentionJSON, error) + type AuditLogsCreateEventParams struct + Event *AuditLogEvent + OrganizationID string + type AuditLogsCreateExportParams struct + Actions []string + ActorIDs []string + ActorNames []string + Actors []string + OrganizationID string + RangeEnd string + RangeStart string + Targets []string + type AuditLogsCreateSchemaParams struct + Actor *AuditLogSchemaActor + Metadata map[string]interface{} + Targets []*AuditLogSchemaTarget + type AuditLogsListActionSchemasParams struct + type AuditLogsListActionsParams struct + type AuditLogsRetentionJSON struct + RetentionPeriodInDays *int + type AuditLogsUpdateOrganizationAuditLogsRetentionParams struct + RetentionPeriodInDays int + type AuthKitAuthorizationURLParams struct + ClientID string + CodeChallenge *string + CodeChallengeMethod *string + ConnectionID *string + DomainHint *string + LoginHint *string + OrganizationID *string + Provider *string + RedirectURI string + ScreenHint *string + State *string + type AuthKitPKCEAuthorizationURLResult struct + CodeVerifier string + State string + URL string + type AuthKitPKCECodeExchangeParams struct + Code string + CodeVerifier string + type AuthenticateResponse struct + AccessToken string + AuthenticationMethod *AuthenticateResponseAuthenticationMethod + AuthkitAuthorizationCode *string + Impersonator *AuthenticateResponseImpersonator + OAuthTokens *AuthenticateResponseOAuthToken + OrganizationID *string + RefreshToken string + User *User + type AuthenticateResponseAuthenticationMethod string + const AuthenticateResponseAuthenticationMethodAppleOAuth + const AuthenticateResponseAuthenticationMethodBitbucketOAuth + const AuthenticateResponseAuthenticationMethodCrossAppAuth + const AuthenticateResponseAuthenticationMethodDiscordOAuth + const AuthenticateResponseAuthenticationMethodExternalAuth + const AuthenticateResponseAuthenticationMethodGitHubOAuth + const AuthenticateResponseAuthenticationMethodGitLabOAuth + const AuthenticateResponseAuthenticationMethodGoogleOAuth + const AuthenticateResponseAuthenticationMethodImpersonation + const AuthenticateResponseAuthenticationMethodIntuitOAuth + const AuthenticateResponseAuthenticationMethodLinkedInOAuth + const AuthenticateResponseAuthenticationMethodMagicAuth + const AuthenticateResponseAuthenticationMethodMicrosoftOAuth + const AuthenticateResponseAuthenticationMethodMigratedSession + const AuthenticateResponseAuthenticationMethodPasskey + const AuthenticateResponseAuthenticationMethodPassword + const AuthenticateResponseAuthenticationMethodSSO + const AuthenticateResponseAuthenticationMethodSalesforceOAuth + const AuthenticateResponseAuthenticationMethodSlackOAuth + const AuthenticateResponseAuthenticationMethodVercelMarketplaceOAuth + const AuthenticateResponseAuthenticationMethodVercelOAuth + const AuthenticateResponseAuthenticationMethodXeroOAuth + type AuthenticateResponseImpersonator struct + Email string + Reason *string + type AuthenticateResponseOAuthToken struct + AccessToken string + ExpiresAt int + Provider string + RefreshToken string + Scopes []string + type AuthenticateSessionResult struct + Authenticated bool + Entitlements []string + Impersonator *AuthenticateResponseImpersonator + OrganizationID string + Permissions []string + Reason string + Role string + SessionID string + User *User + func AuthenticateSession(sealedSession string, cookiePassword string) (*AuthenticateSessionResult, error) + type AuthenticationChallenge struct + AuthenticationFactorID string + Code *string + CreatedAt string + ExpiresAt *string + ID string + Object string + UpdatedAt string + type AuthenticationChallengeVerifyResponse struct + Challenge *AuthenticationChallenge + Valid bool + type AuthenticationEmailVerificationFailed struct + Context *EventContext + CreatedAt string + Data *AuthenticationEmailVerificationFailedData + Event string + ID string + Object string + type AuthenticationEmailVerificationFailedData struct + Email *string + Error *AuthenticationEmailVerificationFailedDataError + IPAddress *string + Status string + Type string + UserAgent *string + UserID *string + type AuthenticationEmailVerificationFailedDataError struct + Code string + Message string + type AuthenticationEmailVerificationSucceeded struct + Context *EventContext + CreatedAt string + Data *AuthenticationEmailVerificationSucceededData + Event string + ID string + Object string + type AuthenticationEmailVerificationSucceededData struct + Email string + IPAddress *string + Status string + Type string + UserAgent *string + UserID string + type AuthenticationError struct + func (e *AuthenticationError) Error() string + func (e *AuthenticationError) Unwrap() error + type AuthenticationFactor struct + CreatedAt string + ID string + Object string + Sms *AuthenticationFactorSms + TOTP *AuthenticationFactorTOTP + Type AuthenticationFactorType + UpdatedAt string + UserID *string + type AuthenticationFactorEnrolled struct + CreatedAt string + ID string + Object string + Sms *AuthenticationFactorEnrolledSms + TOTP *AuthenticationFactorEnrolledTOTP + Type AuthenticationFactorEnrolledType + UpdatedAt string + UserID *string + type AuthenticationFactorEnrolledSms struct + PhoneNumber string + type AuthenticationFactorEnrolledTOTP struct + Issuer string + QrCode string + Secret string + URI string + User string + type AuthenticationFactorEnrolledType string + const AuthenticationFactorEnrolledTypeGenericOtp + const AuthenticationFactorEnrolledTypeSms + const AuthenticationFactorEnrolledTypeTOTP + const AuthenticationFactorEnrolledTypeWebauthn + type AuthenticationFactorSms = AuthenticationFactorEnrolledSms + type AuthenticationFactorTOTP struct + Issuer string + User string + type AuthenticationFactorType = AuthenticationFactorEnrolledType + type AuthenticationFactorsCreateRequestType string + const AuthenticationFactorsCreateRequestTypeGenericOtp + const AuthenticationFactorsCreateRequestTypeSms + const AuthenticationFactorsCreateRequestTypeTOTP + type AuthenticationMFAFailed struct + Context *EventContext + CreatedAt string + Data *AuthenticationMFAFailedData + Event string + ID string + Object string + type AuthenticationMFAFailedData struct + Email *string + Error *AuthenticationMFAFailedDataError + IPAddress *string + Status string + Type string + UserAgent *string + UserID *string + type AuthenticationMFAFailedDataError = AuthenticationEmailVerificationFailedDataError + type AuthenticationMFASucceeded struct + Context *EventContext + CreatedAt string + Data *AuthenticationMFASucceededData + Event string + ID string + Object string + type AuthenticationMFASucceededData struct + Email string + IPAddress *string + Status string + Type string + UserAgent *string + UserID string + type AuthenticationMagicAuthFailed struct + Context *EventContext + CreatedAt string + Data *AuthenticationMagicAuthFailedData + Event string + ID string + Object string + type AuthenticationMagicAuthFailedData struct + Email *string + Error *AuthenticationMagicAuthFailedDataError + IPAddress *string + Status string + Type string + UserAgent *string + UserID *string + type AuthenticationMagicAuthFailedDataError = AuthenticationEmailVerificationFailedDataError + type AuthenticationMagicAuthSucceeded struct + Context *EventContext + CreatedAt string + Data *AuthenticationMagicAuthSucceededData + Event string + ID string + Object string + type AuthenticationMagicAuthSucceededData struct + Email string + IPAddress *string + Status string + Type string + UserAgent *string + UserID string + type AuthenticationOAuthFailed struct + Context *EventContext + CreatedAt string + Data *AuthenticationOAuthFailedData + Event string + ID string + Object string + type AuthenticationOAuthFailedData struct + Email *string + Error *AuthenticationOAuthFailedDataError + IPAddress *string + Status string + Type string + UserAgent *string + UserID *string + type AuthenticationOAuthFailedDataError = AuthenticationEmailVerificationFailedDataError + type AuthenticationOAuthSucceeded struct + Context *EventContext + CreatedAt string + Data *AuthenticationOAuthSucceededData + Event string + ID string + Object string + type AuthenticationOAuthSucceededData struct + Email string + IPAddress *string + Status string + Type string + UserAgent *string + UserID *string + type AuthenticationPasskeyFailed struct + Context *EventContext + CreatedAt string + Data *AuthenticationPasskeyFailedData + Event string + ID string + Object string + type AuthenticationPasskeyFailedData struct + Email *string + Error *AuthenticationPasskeyFailedDataError + IPAddress *string + Status string + Type string + UserAgent *string + UserID *string + type AuthenticationPasskeyFailedDataError = AuthenticationEmailVerificationFailedDataError + type AuthenticationPasskeySucceeded struct + Context *EventContext + CreatedAt string + Data *AuthenticationPasskeySucceededData + Event string + ID string + Object string + type AuthenticationPasskeySucceededData struct + Email string + IPAddress *string + Status string + Type string + UserAgent *string + UserID string + type AuthenticationPasswordFailed struct + Context *EventContext + CreatedAt string + Data *AuthenticationPasswordFailedData + Event string + ID string + Object string + type AuthenticationPasswordFailedData struct + Email *string + Error *AuthenticationPasswordFailedDataError + IPAddress *string + Status string + Type string + UserAgent *string + UserID *string + type AuthenticationPasswordFailedDataError = AuthenticationEmailVerificationFailedDataError + type AuthenticationPasswordSucceeded struct + Context *EventContext + CreatedAt string + Data *AuthenticationPasswordSucceededData + Event string + ID string + Object string + type AuthenticationPasswordSucceededData struct + Email string + IPAddress *string + Status string + Type string + UserAgent *string + UserID string + type AuthenticationRadarRiskDetected struct + Context *EventContext + CreatedAt string + Data *AuthenticationRadarRiskDetectedData + Event string + ID string + Object string + type AuthenticationRadarRiskDetectedData struct + Action AuthenticationRadarRiskDetectedDataAction + AuthMethod string + BlocklistType *string + Control *string + Email string + IPAddress *string + UserAgent *string + UserID string + type AuthenticationRadarRiskDetectedDataAction string + const AuthenticationRadarRiskDetectedDataActionLogin + const AuthenticationRadarRiskDetectedDataActionSignup + type AuthenticationSSOFailed struct + Context *EventContext + CreatedAt string + Data *AuthenticationSSOFailedData + Event string + ID string + Object string + type AuthenticationSSOFailedData struct + Email *string + Error *AuthenticationSSOFailedDataError + IPAddress *string + SSO *AuthenticationSSOFailedDataSSO + Status string + Type string + UserAgent *string + UserID *string + type AuthenticationSSOFailedDataError = AuthenticationEmailVerificationFailedDataError + type AuthenticationSSOFailedDataSSO struct + ConnectionID *string + OrganizationID *string + SessionID *string + type AuthenticationSSOStarted struct + Context *EventContext + CreatedAt string + Data *AuthenticationSSOStartedData + Event string + ID string + Object string + type AuthenticationSSOStartedData struct + Email *string + IPAddress *string + SSO *AuthenticationSSOStartedDataSSO + Status string + Type string + UserAgent *string + UserID *string + type AuthenticationSSOStartedDataSSO = AuthenticationSSOFailedDataSSO + type AuthenticationSSOSucceeded struct + Context *EventContext + CreatedAt string + Data *AuthenticationSSOSucceededData + Event string + ID string + Object string + type AuthenticationSSOSucceededData struct + Email string + IPAddress *string + SSO *AuthenticationSSOSucceededDataSSO + Status string + Type string + UserAgent *string + UserID *string + type AuthenticationSSOSucceededDataSSO = AuthenticationSSOFailedDataSSO + type AuthenticationSSOTimedOut struct + Context *EventContext + CreatedAt string + Data *AuthenticationSSOTimedOutData + Event string + ID string + Object string + type AuthenticationSSOTimedOutData struct + Email *string + Error *AuthenticationSSOTimedOutDataError + IPAddress *string + SSO *AuthenticationSSOTimedOutDataSSO + Status string + Type string + UserAgent *string + UserID *string + type AuthenticationSSOTimedOutDataError = AuthenticationEmailVerificationFailedDataError + type AuthenticationSSOTimedOutDataSSO = AuthenticationSSOFailedDataSSO + type AuthorizationAddEnvironmentRolePermissionParams struct + Slug string + type AuthorizationAddOrganizationRolePermissionParams struct + Slug string + type AuthorizationAssignRoleParams struct + ResourceTarget AuthorizationResourceTarget + RoleSlug string + func (p AuthorizationAssignRoleParams) MarshalJSON() ([]byte, error) + type AuthorizationAssignment string + const AuthorizationAssignmentDirect + const AuthorizationAssignmentIndirect + type AuthorizationCheck struct + Authorized bool + type AuthorizationCheckParams struct + PermissionSlug string + ResourceTarget AuthorizationResourceTarget + func (p AuthorizationCheckParams) MarshalJSON() ([]byte, error) + type AuthorizationCodeSessionAuthenticateRequest struct + ClientID string + ClientSecret string + Code string + CodeVerifier *string + DeviceID *string + GrantType string + IPAddress *string + InvitationToken *string + UserAgent *string + type AuthorizationCreateEnvironmentRoleParams struct + Description *string + Name string + ResourceTypeSlug *string + Slug string + type AuthorizationCreateOrganizationRoleParams struct + Description *string + Name string + ResourceTypeSlug *string + Slug *string + type AuthorizationCreatePermissionParams struct + Description *string + Name string + ResourceTypeSlug *string + Slug string + type AuthorizationCreateResourceParams struct + Description *string + ExternalID string + Name string + OrganizationID string + ParentResource AuthorizationParentResource + ResourceTypeSlug string + func (p AuthorizationCreateResourceParams) MarshalJSON() ([]byte, error) + type AuthorizationDeleteResourceByExternalIDParams struct + CascadeDelete *bool + type AuthorizationDeleteResourceParams struct + CascadeDelete *bool + type AuthorizationListEffectivePermissionsByExternalIDParams struct + type AuthorizationListEffectivePermissionsParams struct + type AuthorizationListMembershipsForResourceByExternalIDParams struct + Assignment *AuthorizationAssignment + PermissionSlug string + type AuthorizationListMembershipsForResourceParams struct + Assignment *AuthorizationAssignment + PermissionSlug string + type AuthorizationListPermissionsParams struct + type AuthorizationListResourcesForMembershipParams struct + ParentResource AuthorizationParentResource + PermissionSlug string + type AuthorizationListResourcesParams struct + OrganizationID *string + Parent AuthorizationParent + ResourceExternalID *string + ResourceTypeSlug *string + Search *string + type AuthorizationListRoleAssignmentsForResourceByExternalIDParams struct + type AuthorizationListRoleAssignmentsForResourceParams struct + type AuthorizationListRoleAssignmentsParams struct + type AuthorizationParent interface + type AuthorizationParentByExternalID struct + ExternalID string + ResourceTypeSlug string + type AuthorizationParentByID struct + ResourceID string + type AuthorizationParentResource interface + type AuthorizationParentResourceByExternalID struct + ExternalID string + TypeSlug string + type AuthorizationParentResourceByID struct + ID string + type AuthorizationPermission struct + CreatedAt string + Description *string + ID string + Name string + Object string + ResourceTypeSlug string + Slug string + System bool + UpdatedAt string + type AuthorizationRemoveRoleParams struct + ResourceTarget AuthorizationResourceTarget + RoleSlug string + func (p AuthorizationRemoveRoleParams) MarshalJSON() ([]byte, error) + type AuthorizationResource struct + CreatedAt string + Description *string + ExternalID string + ID string + Name string + Object string + OrganizationID string + ParentResourceID *string + ResourceTypeSlug string + UpdatedAt string + type AuthorizationResourceTarget interface + type AuthorizationResourceTargetByExternalID struct + ResourceExternalID string + ResourceTypeSlug string + type AuthorizationResourceTargetByID struct + ResourceID string + type AuthorizationService struct + func (s *AuthorizationService) AddEnvironmentRolePermission(ctx context.Context, slug string, ...) (*Role, error) + func (s *AuthorizationService) AddOrganizationRolePermission(ctx context.Context, organizationID string, slug string, ...) (*Role, error) + func (s *AuthorizationService) AssignRole(ctx context.Context, organizationMembershipID string, ...) (*UserRoleAssignment, error) + func (s *AuthorizationService) Check(ctx context.Context, organizationMembershipID string, ...) (*AuthorizationCheck, error) + func (s *AuthorizationService) CreateEnvironmentRole(ctx context.Context, params *AuthorizationCreateEnvironmentRoleParams, ...) (*Role, error) + func (s *AuthorizationService) CreateOrganizationRole(ctx context.Context, organizationID string, ...) (*Role, error) + func (s *AuthorizationService) CreatePermission(ctx context.Context, params *AuthorizationCreatePermissionParams, ...) (*Permission, error) + func (s *AuthorizationService) CreateResource(ctx context.Context, params *AuthorizationCreateResourceParams, ...) (*AuthorizationResource, error) + func (s *AuthorizationService) DeleteOrganizationRole(ctx context.Context, organizationID string, slug string, opts ...RequestOption) error + func (s *AuthorizationService) DeletePermission(ctx context.Context, slug string, opts ...RequestOption) error + func (s *AuthorizationService) DeleteResource(ctx context.Context, resourceID string, ...) error + func (s *AuthorizationService) DeleteResourceByExternalID(ctx context.Context, organizationID string, resourceTypeSlug string, ...) error + func (s *AuthorizationService) GetEnvironmentRole(ctx context.Context, slug string, opts ...RequestOption) (*Role, error) + func (s *AuthorizationService) GetOrganizationRole(ctx context.Context, organizationID string, slug string, opts ...RequestOption) (*Role, error) + func (s *AuthorizationService) GetPermission(ctx context.Context, slug string, opts ...RequestOption) (*AuthorizationPermission, error) + func (s *AuthorizationService) GetResource(ctx context.Context, resourceID string, opts ...RequestOption) (*AuthorizationResource, error) + func (s *AuthorizationService) GetResourceByExternalID(ctx context.Context, organizationID string, resourceTypeSlug string, ...) (*AuthorizationResource, error) + func (s *AuthorizationService) ListEffectivePermissions(ctx context.Context, organizationMembershipID string, resourceID string, ...) *Iterator[AuthorizationPermission] + func (s *AuthorizationService) ListEffectivePermissionsByExternalID(ctx context.Context, organizationMembershipID string, resourceTypeSlug string, ...) *Iterator[AuthorizationPermission] + func (s *AuthorizationService) ListEnvironmentRoles(ctx context.Context, opts ...RequestOption) (*RoleList, error) + func (s *AuthorizationService) ListMembershipsForResource(ctx context.Context, resourceID string, ...) *Iterator[UserOrganizationMembershipBaseListData] + func (s *AuthorizationService) ListMembershipsForResourceByExternalID(ctx context.Context, organizationID string, resourceTypeSlug string, ...) *Iterator[UserOrganizationMembershipBaseListData] + func (s *AuthorizationService) ListOrganizationRoles(ctx context.Context, organizationID string, opts ...RequestOption) (*RoleList, error) + func (s *AuthorizationService) ListPermissions(ctx context.Context, params *AuthorizationListPermissionsParams, ...) *Iterator[AuthorizationPermission] + func (s *AuthorizationService) ListResources(ctx context.Context, params *AuthorizationListResourcesParams, ...) *Iterator[AuthorizationResource] + func (s *AuthorizationService) ListResourcesForMembership(ctx context.Context, organizationMembershipID string, ...) *Iterator[AuthorizationResource] + func (s *AuthorizationService) ListRoleAssignments(ctx context.Context, organizationMembershipID string, ...) *Iterator[UserRoleAssignment] + func (s *AuthorizationService) ListRoleAssignmentsForResource(ctx context.Context, resourceID string, ...) *Iterator[UserRoleAssignment] + func (s *AuthorizationService) ListRoleAssignmentsForResourceByExternalID(ctx context.Context, organizationID string, resourceTypeSlug string, ...) *Iterator[UserRoleAssignment] + func (s *AuthorizationService) RemoveOrganizationRolePermission(ctx context.Context, organizationID string, slug string, permissionSlug string, ...) error + func (s *AuthorizationService) RemoveRole(ctx context.Context, organizationMembershipID string, ...) error + func (s *AuthorizationService) RemoveRoleAssignment(ctx context.Context, organizationMembershipID string, roleAssignmentID string, ...) error + func (s *AuthorizationService) SetEnvironmentRolePermissions(ctx context.Context, slug string, ...) (*Role, error) + func (s *AuthorizationService) SetOrganizationRolePermissions(ctx context.Context, organizationID string, slug string, ...) (*Role, error) + func (s *AuthorizationService) UpdateEnvironmentRole(ctx context.Context, slug string, ...) (*Role, error) + func (s *AuthorizationService) UpdateOrganizationRole(ctx context.Context, organizationID string, slug string, ...) (*Role, error) + func (s *AuthorizationService) UpdatePermission(ctx context.Context, slug string, params *AuthorizationUpdatePermissionParams, ...) (*AuthorizationPermission, error) + func (s *AuthorizationService) UpdateResource(ctx context.Context, resourceID string, ...) (*AuthorizationResource, error) + func (s *AuthorizationService) UpdateResourceByExternalID(ctx context.Context, organizationID string, resourceTypeSlug string, ...) (*AuthorizationResource, error) + type AuthorizationSetEnvironmentRolePermissionsParams struct + Permissions []string + type AuthorizationSetOrganizationRolePermissionsParams struct + Permissions []string + type AuthorizationUpdateEnvironmentRoleParams struct + Description *string + Name *string + type AuthorizationUpdateOrganizationRoleParams struct + Description *string + Name *string + type AuthorizationUpdatePermissionParams struct + Description *string + Name *string + type AuthorizationUpdateResourceByExternalIDParams struct + Description *string + Name *string + ParentResource AuthorizationParentResource + func (p AuthorizationUpdateResourceByExternalIDParams) MarshalJSON() ([]byte, error) + type AuthorizationUpdateResourceParams struct + Description *string + Name *string + ParentResource AuthorizationParentResource + func (p AuthorizationUpdateResourceParams) MarshalJSON() ([]byte, error) + type AuthorizedConnectApplicationListData struct + Application *ConnectApplication + GrantedScopes []string + ID string + OAuthResource *string + Object string + type CORSOriginResponse struct + CreatedAt string + ID string + Object string + Origin string + UpdatedAt string + type Client struct + func NewClient(apiKey string, opts ...ClientOption) *Client + func (c *Client) APIKeys() *APIKeyService + func (c *Client) AdminPortal() *AdminPortalService + func (c *Client) AuditLogs() *AuditLogService + func (c *Client) AuthKitPKCECodeExchange(ctx context.Context, params AuthKitPKCECodeExchangeParams, ...) (*AuthenticateResponse, error) + func (c *Client) AuthKitPollDeviceCode(ctx context.Context, deviceCode string, interval int, opts ...RequestOption) (*AuthenticateResponse, error) + func (c *Client) AuthKitStartDeviceAuthorization(ctx context.Context, opts ...RequestOption) (*DeviceAuthorizationResponse, error) + func (c *Client) Authorization() *AuthorizationService + func (c *Client) Connect() *ConnectService + func (c *Client) DirectorySync() *DirectorySyncService + func (c *Client) Events() *EventService + func (c *Client) FeatureFlags() *FeatureFlagService + func (c *Client) GetAuthKitAuthorizationURL(params AuthKitAuthorizationURLParams) (string, error) + func (c *Client) GetAuthKitPKCEAuthorizationURL(params AuthKitAuthorizationURLParams) (*AuthKitPKCEAuthorizationURLResult, error) + func (c *Client) GetSSOAuthorizationURL(params SSOAuthorizationURLParams) (string, error) + func (c *Client) GetSSOPKCEAuthorizationURL(params SSOAuthorizationURLParams) (*SSOPKCEAuthorizationURLResult, error) + func (c *Client) Groups() *GroupService + func (c *Client) JWKSURLFromClient() string + func (c *Client) MultiFactorAuth() *MultiFactorAuthService + func (c *Client) OrganizationDomains() *OrganizationDomainService + func (c *Client) Organizations() *OrganizationService + func (c *Client) Passwordless() *PasswordlessService + func (c *Client) Pipes() *PipeService + func (c *Client) Radar() *RadarService + func (c *Client) RefreshSession(ctx context.Context, sealedSession string, cookiePassword string, ...) (*RefreshSessionResult, error) + func (c *Client) SSO() *SSOService + func (c *Client) SSOLogout(ctx context.Context, params SSOLogoutParams, opts ...RequestOption) (string, error) + func (c *Client) SSOPKCECodeExchange(ctx context.Context, params SSOPKCECodeExchangeParams, opts ...RequestOption) (*SSOTokenResponse, error) + func (c *Client) UserManagement() *UserManagementService + func (c *Client) UserManagementOrganizationMembershipGroups() *UserManagementOrganizationMembershipGroupService + func (c *Client) Vault() *VaultService + func (c *Client) Webhooks() *WebhookService + func (c *Client) Widgets() *WidgetService + type ClientOption func(*Client) + func WithAppInfo(name, version, url string) ClientOption + func WithBaseURL(url string) ClientOption + func WithClientID(id string) ClientOption + func WithHTTPClient(client *http.Client) ClientOption + func WithLogger(l Logger) ClientOption + func WithMaxRetries(n int) ClientOption + type ConnectApplication struct + ApplicationType *string + ClientID string + CreatedAt string + Description *string + ID string + IsFirstParty *bool + Name string + Object string + OrganizationID *string + RedirectURIs []*ConnectApplicationRedirectURI + Scopes []string + UpdatedAt string + UsesPKCE *bool + WasDynamicallyRegistered *bool + type ConnectApplicationRedirectURI struct + Default bool + URI string + type ConnectCompleteOAuth2Params struct + ExternalAuthID string + User *UserObject + UserConsentOptions []*UserConsentOption + type ConnectCreateM2MApplicationParams struct + Description *string + Name string + OrganizationID string + Scopes []string + type ConnectCreateOAuthApplicationParams struct + Description *string + IsFirstParty bool + Name string + OrganizationID *string + RedirectURIs []*RedirectURIInput + Scopes []string + UsesPKCE *bool + type ConnectListApplicationsParams struct + OrganizationID *string + type ConnectService struct + func (s *ConnectService) CompleteOAuth2(ctx context.Context, params *ConnectCompleteOAuth2Params, ...) (*ExternalAuthCompleteResponse, error) + func (s *ConnectService) CreateApplicationClientSecret(ctx context.Context, id string, opts ...RequestOption) (*NewConnectApplicationSecret, error) + func (s *ConnectService) CreateM2MApplication(ctx context.Context, params *ConnectCreateM2MApplicationParams, ...) (*ConnectApplication, error) + func (s *ConnectService) CreateOAuthApplication(ctx context.Context, params *ConnectCreateOAuthApplicationParams, ...) (*ConnectApplication, error) + func (s *ConnectService) DeleteApplication(ctx context.Context, id string, opts ...RequestOption) error + func (s *ConnectService) DeleteClientSecret(ctx context.Context, id string, opts ...RequestOption) error + func (s *ConnectService) GetApplication(ctx context.Context, id string, opts ...RequestOption) (*ConnectApplication, error) + func (s *ConnectService) ListApplicationClientSecrets(ctx context.Context, id string, opts ...RequestOption) ([]ApplicationCredentialsListItem, error) + func (s *ConnectService) ListApplications(ctx context.Context, params *ConnectListApplicationsParams, ...) *Iterator[ConnectApplication] + func (s *ConnectService) UpdateApplication(ctx context.Context, id string, params *ConnectUpdateApplicationParams, ...) (*ConnectApplication, error) + type ConnectUpdateApplicationParams struct + Description *string + Name *string + RedirectURIs []*RedirectURIInput + Scopes []string + type ConnectedAccount struct + CreatedAt string + ID string + Object string + OrganizationID *string + Scopes []string + State ConnectedAccountState + UpdatedAt string + UserID *string + type ConnectedAccountState string + const ConnectedAccountStateConnected + const ConnectedAccountStateDisconnected + const ConnectedAccountStateNeedsReauthorization + type Connection struct + ConnectionType ConnectionType + CreatedAt string + Domains []*ConnectionDomain + ID string + Name string + Object string + Options *ConnectionOption + OrganizationID *string + State ConnectionState + Status ConnectionStatus + UpdatedAt string + type ConnectionActivated struct + Context *EventContext + CreatedAt string + Data *ConnectionActivatedData + Event string + ID string + Object string + type ConnectionActivatedData struct + ConnectionType ConnectionActivatedDataConnectionType + CreatedAt string + Domains []*ConnectionActivatedDataDomain + ExternalKey string + ID string + Name string + Object string + OrganizationID *string + State ConnectionActivatedDataState + Status ConnectionActivatedDataStatus + UpdatedAt string + type ConnectionActivatedDataConnectionType string + const ConnectionActivatedDataConnectionTypeAdfssaml + const ConnectionActivatedDataConnectionTypeAdpOIDC + const ConnectionActivatedDataConnectionTypeAppleOAuth + const ConnectionActivatedDataConnectionTypeAuth0Migration + const ConnectionActivatedDataConnectionTypeAuth0SAML + const ConnectionActivatedDataConnectionTypeAzureSAML + const ConnectionActivatedDataConnectionTypeBitbucketOAuth + const ConnectionActivatedDataConnectionTypeCasSAML + const ConnectionActivatedDataConnectionTypeClassLinkSAML + const ConnectionActivatedDataConnectionTypeCleverOIDC + const ConnectionActivatedDataConnectionTypeCloudflareSAML + const ConnectionActivatedDataConnectionTypeCyberArkSAML + const ConnectionActivatedDataConnectionTypeDiscordOAuth + const ConnectionActivatedDataConnectionTypeDuoSAML + const ConnectionActivatedDataConnectionTypeEntraIDOIDC + const ConnectionActivatedDataConnectionTypeGenericOIDC + const ConnectionActivatedDataConnectionTypeGenericSAML + const ConnectionActivatedDataConnectionTypeGitHubOAuth + const ConnectionActivatedDataConnectionTypeGitLabOAuth + const ConnectionActivatedDataConnectionTypeGoogleOAuth + const ConnectionActivatedDataConnectionTypeGoogleOIDC + const ConnectionActivatedDataConnectionTypeGoogleSAML + const ConnectionActivatedDataConnectionTypeIntuitOAuth + const ConnectionActivatedDataConnectionTypeJumpCloudSAML + const ConnectionActivatedDataConnectionTypeKeycloakSAML + const ConnectionActivatedDataConnectionTypeLastPassSAML + const ConnectionActivatedDataConnectionTypeLinkedInOAuth + const ConnectionActivatedDataConnectionTypeLoginGovOIDC + const ConnectionActivatedDataConnectionTypeMagicLink + const ConnectionActivatedDataConnectionTypeMicrosoftOAuth + const ConnectionActivatedDataConnectionTypeMiniOrangeSAML + const ConnectionActivatedDataConnectionTypeNetIqSAML + const ConnectionActivatedDataConnectionTypeOktaOIDC + const ConnectionActivatedDataConnectionTypeOktaSAML + const ConnectionActivatedDataConnectionTypeOneLoginSAML + const ConnectionActivatedDataConnectionTypeOracleSAML + const ConnectionActivatedDataConnectionTypePingFederateSAML + const ConnectionActivatedDataConnectionTypePingOneSAML + const ConnectionActivatedDataConnectionTypeRipplingSAML + const ConnectionActivatedDataConnectionTypeSalesforceOAuth + const ConnectionActivatedDataConnectionTypeSalesforceSAML + const ConnectionActivatedDataConnectionTypeShibbolethGenericSAML + const ConnectionActivatedDataConnectionTypeShibbolethSAML + const ConnectionActivatedDataConnectionTypeSimpleSAMLPhpSAML + const ConnectionActivatedDataConnectionTypeSlackOAuth + const ConnectionActivatedDataConnectionTypeTestIdp + const ConnectionActivatedDataConnectionTypeVMwareSAML + const ConnectionActivatedDataConnectionTypeVercelMarketplaceOAuth + const ConnectionActivatedDataConnectionTypeVercelOAuth + const ConnectionActivatedDataConnectionTypeXeroOAuth + type ConnectionActivatedDataDomain struct + Domain string + ID string + Object string + type ConnectionActivatedDataState string + const ConnectionActivatedDataStateActive + const ConnectionActivatedDataStateDeleting + const ConnectionActivatedDataStateDraft + const ConnectionActivatedDataStateInactive + const ConnectionActivatedDataStateValidating + type ConnectionActivatedDataStatus string + const ConnectionActivatedDataStatusLinked + const ConnectionActivatedDataStatusUnlinked + type ConnectionDeactivated struct + Context *EventContext + CreatedAt string + Data *ConnectionDeactivatedData + Event string + ID string + Object string + type ConnectionDeactivatedData struct + ConnectionType ConnectionDeactivatedDataConnectionType + CreatedAt string + Domains []*ConnectionDeactivatedDataDomain + ExternalKey string + ID string + Name string + Object string + OrganizationID *string + State ConnectionDeactivatedDataState + Status ConnectionDeactivatedDataStatus + UpdatedAt string + type ConnectionDeactivatedDataConnectionType = ConnectionActivatedDataConnectionType + type ConnectionDeactivatedDataDomain = ConnectionActivatedDataDomain + type ConnectionDeactivatedDataState = ConnectionActivatedDataState + type ConnectionDeactivatedDataStatus = ConnectionActivatedDataStatus + type ConnectionDeleted struct + Context *EventContext + CreatedAt string + Data *ConnectionDeletedData + Event string + ID string + Object string + type ConnectionDeletedData struct + ConnectionType ConnectionDeletedDataConnectionType + CreatedAt string + ID string + Name string + Object string + OrganizationID *string + State ConnectionDeletedDataState + UpdatedAt string + type ConnectionDeletedDataConnectionType = ConnectionActivatedDataConnectionType + type ConnectionDeletedDataState = ConnectionActivatedDataState + type ConnectionDomain = ConnectionActivatedDataDomain + type ConnectionOption struct + SigningCert *string + type ConnectionSAMLCertificateRenewalRequired struct + Context *EventContext + CreatedAt string + Data *ConnectionSAMLCertificateRenewalRequiredData + Event string + ID string + Object string + type ConnectionSAMLCertificateRenewalRequiredData struct + Certificate *ConnectionSAMLCertificateRenewalRequiredDataCertificate + Connection *ConnectionSAMLCertificateRenewalRequiredDataConnection + DaysUntilExpiry int + type ConnectionSAMLCertificateRenewalRequiredDataCertificate struct + CertificateType ConnectionSAMLCertificateRenewalRequiredDataCertificateCertificateType + ExpiryDate string + IsExpired bool + type ConnectionSAMLCertificateRenewalRequiredDataCertificateCertificateType string + const ConnectionSAMLCertificateRenewalRequiredDataCertificateCertificateTypeRequestSigning + const ConnectionSAMLCertificateRenewalRequiredDataCertificateCertificateTypeResponseEncryption + const ConnectionSAMLCertificateRenewalRequiredDataCertificateCertificateTypeResponseSigning + type ConnectionSAMLCertificateRenewalRequiredDataConnection struct + ID string + OrganizationID *string + type ConnectionSAMLCertificateRenewed struct + Context *EventContext + CreatedAt string + Data *ConnectionSAMLCertificateRenewedData + Event string + ID string + Object string + type ConnectionSAMLCertificateRenewedData struct + Certificate *ConnectionSAMLCertificateRenewedDataCertificate + Connection *ConnectionSAMLCertificateRenewedDataConnection + RenewedAt string + type ConnectionSAMLCertificateRenewedDataCertificate struct + CertificateType ConnectionSAMLCertificateRenewedDataCertificateCertificateType + ExpiryDate string + type ConnectionSAMLCertificateRenewedDataCertificateCertificateType = ConnectionSAMLCertificateRenewalRequiredDataCertificateCertificateType + type ConnectionSAMLCertificateRenewedDataConnection = ConnectionSAMLCertificateRenewalRequiredDataConnection + type ConnectionState string + const ConnectionStateActive + const ConnectionStateDeleting + const ConnectionStateDraft + const ConnectionStateInactive + const ConnectionStateRequiresType + const ConnectionStateValidating + type ConnectionStatus = ConnectionActivatedDataStatus + type ConnectionType string + const ConnectionTypeAdfssaml + const ConnectionTypeAdpOIDC + const ConnectionTypeAppleOAuth + const ConnectionTypeAuth0Migration + const ConnectionTypeAuth0SAML + const ConnectionTypeAzureSAML + const ConnectionTypeBitbucketOAuth + const ConnectionTypeCasSAML + const ConnectionTypeClassLinkSAML + const ConnectionTypeCleverOIDC + const ConnectionTypeCloudflareSAML + const ConnectionTypeCyberArkSAML + const ConnectionTypeDiscordOAuth + const ConnectionTypeDuoSAML + const ConnectionTypeEntraIDOIDC + const ConnectionTypeGenericOIDC + const ConnectionTypeGenericSAML + const ConnectionTypeGitHubOAuth + const ConnectionTypeGitLabOAuth + const ConnectionTypeGoogleOAuth + const ConnectionTypeGoogleOIDC + const ConnectionTypeGoogleSAML + const ConnectionTypeIntuitOAuth + const ConnectionTypeJumpCloudSAML + const ConnectionTypeKeycloakSAML + const ConnectionTypeLastPassSAML + const ConnectionTypeLinkedInOAuth + const ConnectionTypeLoginGovOIDC + const ConnectionTypeMagicLink + const ConnectionTypeMicrosoftOAuth + const ConnectionTypeMiniOrangeSAML + const ConnectionTypeNetIqSAML + const ConnectionTypeOktaOIDC + const ConnectionTypeOktaSAML + const ConnectionTypeOneLoginSAML + const ConnectionTypeOracleSAML + const ConnectionTypePending + const ConnectionTypePingFederateSAML + const ConnectionTypePingOneSAML + const ConnectionTypeRipplingSAML + const ConnectionTypeSalesforceOAuth + const ConnectionTypeSalesforceSAML + const ConnectionTypeShibbolethGenericSAML + const ConnectionTypeShibbolethSAML + const ConnectionTypeSimpleSAMLPhpSAML + const ConnectionTypeSlackOAuth + const ConnectionTypeTestIdp + const ConnectionTypeVMwareSAML + const ConnectionTypeVercelMarketplaceOAuth + const ConnectionTypeVercelOAuth + const ConnectionTypeXeroOAuth + type ConnectionsConnectionType string + const ConnectionsConnectionTypeAdfssaml + const ConnectionsConnectionTypeAdpOIDC + const ConnectionsConnectionTypeAppleOAuth + const ConnectionsConnectionTypeAuth0SAML + const ConnectionsConnectionTypeAzureSAML + const ConnectionsConnectionTypeBitbucketOAuth + const ConnectionsConnectionTypeCasSAML + const ConnectionsConnectionTypeClassLinkSAML + const ConnectionsConnectionTypeCleverOIDC + const ConnectionsConnectionTypeCloudflareSAML + const ConnectionsConnectionTypeCyberArkSAML + const ConnectionsConnectionTypeDiscordOAuth + const ConnectionsConnectionTypeDuoSAML + const ConnectionsConnectionTypeEntraIDOIDC + const ConnectionsConnectionTypeGenericOIDC + const ConnectionsConnectionTypeGenericSAML + const ConnectionsConnectionTypeGitLabOAuth + const ConnectionsConnectionTypeGithubOAuth + const ConnectionsConnectionTypeGoogleOAuth + const ConnectionsConnectionTypeGoogleOIDC + const ConnectionsConnectionTypeGoogleSAML + const ConnectionsConnectionTypeIntuitOAuth + const ConnectionsConnectionTypeJumpCloudSAML + const ConnectionsConnectionTypeKeycloakSAML + const ConnectionsConnectionTypeLastPassSAML + const ConnectionsConnectionTypeLinkedInOAuth + const ConnectionsConnectionTypeLoginGovOIDC + const ConnectionsConnectionTypeMagicLink + const ConnectionsConnectionTypeMicrosoftOAuth + const ConnectionsConnectionTypeMiniOrangeSAML + const ConnectionsConnectionTypeNetIqSAML + const ConnectionsConnectionTypeOktaOIDC + const ConnectionsConnectionTypeOktaSAML + const ConnectionsConnectionTypeOneLoginSAML + const ConnectionsConnectionTypeOracleSAML + const ConnectionsConnectionTypePingFederateSAML + const ConnectionsConnectionTypePingOneSAML + const ConnectionsConnectionTypeRipplingSAML + const ConnectionsConnectionTypeSalesforceOAuth + const ConnectionsConnectionTypeSalesforceSAML + const ConnectionsConnectionTypeShibbolethGenericSAML + const ConnectionsConnectionTypeShibbolethSAML + const ConnectionsConnectionTypeSimpleSAMLPhpSAML + const ConnectionsConnectionTypeSlackOAuth + const ConnectionsConnectionTypeVMwareSAML + const ConnectionsConnectionTypeVercelMarketplaceOAuth + const ConnectionsConnectionTypeVercelOAuth + const ConnectionsConnectionTypeXeroOAuth + type CreateM2MApplication struct + ApplicationType string + Description *string + Name string + OrganizationID string + Scopes []string + type CreateOAuthApplication struct + ApplicationType string + Description *string + IsFirstParty bool + Name string + OrganizationID *string + RedirectURIs []*RedirectURIInput + Scopes []string + UsesPKCE *bool + type CreateUserInviteOptionsLocale string + const CreateUserInviteOptionsLocaleAf + const CreateUserInviteOptionsLocaleAm + const CreateUserInviteOptionsLocaleAr + const CreateUserInviteOptionsLocaleBg + const CreateUserInviteOptionsLocaleBn + const CreateUserInviteOptionsLocaleBs + const CreateUserInviteOptionsLocaleCa + const CreateUserInviteOptionsLocaleCs + const CreateUserInviteOptionsLocaleDa + const CreateUserInviteOptionsLocaleDe + const CreateUserInviteOptionsLocaleDeDe + const CreateUserInviteOptionsLocaleEl + const CreateUserInviteOptionsLocaleEn + const CreateUserInviteOptionsLocaleEnAu + const CreateUserInviteOptionsLocaleEnCa + const CreateUserInviteOptionsLocaleEnGb + const CreateUserInviteOptionsLocaleEnUs + const CreateUserInviteOptionsLocaleEs + const CreateUserInviteOptionsLocaleEs419 + const CreateUserInviteOptionsLocaleEsEs + const CreateUserInviteOptionsLocaleEsUs + const CreateUserInviteOptionsLocaleEt + const CreateUserInviteOptionsLocaleFa + const CreateUserInviteOptionsLocaleFi + const CreateUserInviteOptionsLocaleFil + const CreateUserInviteOptionsLocaleFr + const CreateUserInviteOptionsLocaleFrBe + const CreateUserInviteOptionsLocaleFrCa + const CreateUserInviteOptionsLocaleFrFr + const CreateUserInviteOptionsLocaleFy + const CreateUserInviteOptionsLocaleGl + const CreateUserInviteOptionsLocaleGu + const CreateUserInviteOptionsLocaleHa + const CreateUserInviteOptionsLocaleHe + const CreateUserInviteOptionsLocaleHi + const CreateUserInviteOptionsLocaleHr + const CreateUserInviteOptionsLocaleHu + const CreateUserInviteOptionsLocaleHy + const CreateUserInviteOptionsLocaleID + const CreateUserInviteOptionsLocaleIs + const CreateUserInviteOptionsLocaleIt + const CreateUserInviteOptionsLocaleItIt + const CreateUserInviteOptionsLocaleJa + const CreateUserInviteOptionsLocaleJv + const CreateUserInviteOptionsLocaleKa + const CreateUserInviteOptionsLocaleKk + const CreateUserInviteOptionsLocaleKm + const CreateUserInviteOptionsLocaleKn + const CreateUserInviteOptionsLocaleKo + const CreateUserInviteOptionsLocaleLt + const CreateUserInviteOptionsLocaleLv + const CreateUserInviteOptionsLocaleMk + const CreateUserInviteOptionsLocaleMl + const CreateUserInviteOptionsLocaleMn + const CreateUserInviteOptionsLocaleMr + const CreateUserInviteOptionsLocaleMs + const CreateUserInviteOptionsLocaleMy + const CreateUserInviteOptionsLocaleNb + const CreateUserInviteOptionsLocaleNe + const CreateUserInviteOptionsLocaleNl + const CreateUserInviteOptionsLocaleNlBe + const CreateUserInviteOptionsLocaleNlNl + const CreateUserInviteOptionsLocaleNn + const CreateUserInviteOptionsLocaleNo + const CreateUserInviteOptionsLocalePa + const CreateUserInviteOptionsLocalePl + const CreateUserInviteOptionsLocalePt + const CreateUserInviteOptionsLocalePtBr + const CreateUserInviteOptionsLocalePtPt + const CreateUserInviteOptionsLocaleRo + const CreateUserInviteOptionsLocaleRu + const CreateUserInviteOptionsLocaleSk + const CreateUserInviteOptionsLocaleSl + const CreateUserInviteOptionsLocaleSq + const CreateUserInviteOptionsLocaleSr + const CreateUserInviteOptionsLocaleSv + const CreateUserInviteOptionsLocaleSw + const CreateUserInviteOptionsLocaleTa + const CreateUserInviteOptionsLocaleTe + const CreateUserInviteOptionsLocaleTh + const CreateUserInviteOptionsLocaleTr + const CreateUserInviteOptionsLocaleUk + const CreateUserInviteOptionsLocaleUr + const CreateUserInviteOptionsLocaleUz + const CreateUserInviteOptionsLocaleVi + const CreateUserInviteOptionsLocaleZh + const CreateUserInviteOptionsLocaleZhCn + const CreateUserInviteOptionsLocaleZhHk + const CreateUserInviteOptionsLocaleZhTw + const CreateUserInviteOptionsLocaleZu + type CreateUserPasswordHashType string + const CreateUserPasswordHashTypeArgon2 + const CreateUserPasswordHashTypeBcrypt + const CreateUserPasswordHashTypeFirebaseScrypt + const CreateUserPasswordHashTypePbkdf2 + const CreateUserPasswordHashTypeScrypt + const CreateUserPasswordHashTypeSsha + type CreateWebhookEndpointEvents string + const CreateWebhookEndpointEventsAPIKeyCreated + const CreateWebhookEndpointEventsAPIKeyRevoked + const CreateWebhookEndpointEventsAuthenticationEmailVerificationSucceeded + const CreateWebhookEndpointEventsAuthenticationMFASucceeded + const CreateWebhookEndpointEventsAuthenticationMagicAuthFailed + const CreateWebhookEndpointEventsAuthenticationMagicAuthSucceeded + const CreateWebhookEndpointEventsAuthenticationOAuthFailed + const CreateWebhookEndpointEventsAuthenticationOAuthSucceeded + const CreateWebhookEndpointEventsAuthenticationPasskeyFailed + const CreateWebhookEndpointEventsAuthenticationPasskeySucceeded + const CreateWebhookEndpointEventsAuthenticationPasswordFailed + const CreateWebhookEndpointEventsAuthenticationPasswordSucceeded + const CreateWebhookEndpointEventsAuthenticationRadarRiskDetected + const CreateWebhookEndpointEventsAuthenticationSSOFailed + const CreateWebhookEndpointEventsAuthenticationSSOStarted + const CreateWebhookEndpointEventsAuthenticationSSOSucceeded + const CreateWebhookEndpointEventsAuthenticationSSOTimedOut + const CreateWebhookEndpointEventsConnectionActivated + const CreateWebhookEndpointEventsConnectionDeactivated + const CreateWebhookEndpointEventsConnectionDeleted + const CreateWebhookEndpointEventsConnectionSAMLCertificateRenewalRequired + const CreateWebhookEndpointEventsConnectionSAMLCertificateRenewed + const CreateWebhookEndpointEventsDsyncActivated + const CreateWebhookEndpointEventsDsyncDeleted + const CreateWebhookEndpointEventsDsyncGroupCreated + const CreateWebhookEndpointEventsDsyncGroupDeleted + const CreateWebhookEndpointEventsDsyncGroupUpdated + const CreateWebhookEndpointEventsDsyncGroupUserAdded + const CreateWebhookEndpointEventsDsyncGroupUserRemoved + const CreateWebhookEndpointEventsDsyncUserCreated + const CreateWebhookEndpointEventsDsyncUserDeleted + const CreateWebhookEndpointEventsDsyncUserUpdated + const CreateWebhookEndpointEventsEmailVerificationCreated + const CreateWebhookEndpointEventsFlagCreated + const CreateWebhookEndpointEventsFlagDeleted + const CreateWebhookEndpointEventsFlagRuleUpdated + const CreateWebhookEndpointEventsFlagUpdated + const CreateWebhookEndpointEventsGroupCreated + const CreateWebhookEndpointEventsGroupDeleted + const CreateWebhookEndpointEventsGroupMemberAdded + const CreateWebhookEndpointEventsGroupMemberRemoved + const CreateWebhookEndpointEventsGroupUpdated + const CreateWebhookEndpointEventsInvitationAccepted + const CreateWebhookEndpointEventsInvitationCreated + const CreateWebhookEndpointEventsInvitationResent + const CreateWebhookEndpointEventsInvitationRevoked + const CreateWebhookEndpointEventsMagicAuthCreated + const CreateWebhookEndpointEventsOrganizationCreated + const CreateWebhookEndpointEventsOrganizationDeleted + const CreateWebhookEndpointEventsOrganizationDomainCreated + const CreateWebhookEndpointEventsOrganizationDomainDeleted + const CreateWebhookEndpointEventsOrganizationDomainUpdated + const CreateWebhookEndpointEventsOrganizationDomainVerificationFailed + const CreateWebhookEndpointEventsOrganizationDomainVerified + const CreateWebhookEndpointEventsOrganizationMembershipCreated + const CreateWebhookEndpointEventsOrganizationMembershipDeleted + const CreateWebhookEndpointEventsOrganizationMembershipUpdated + const CreateWebhookEndpointEventsOrganizationRoleCreated + const CreateWebhookEndpointEventsOrganizationRoleDeleted + const CreateWebhookEndpointEventsOrganizationRoleUpdated + const CreateWebhookEndpointEventsOrganizationUpdated + const CreateWebhookEndpointEventsPasswordResetCreated + const CreateWebhookEndpointEventsPasswordResetSucceeded + const CreateWebhookEndpointEventsPermissionCreated + const CreateWebhookEndpointEventsPermissionDeleted + const CreateWebhookEndpointEventsPermissionUpdated + const CreateWebhookEndpointEventsRoleCreated + const CreateWebhookEndpointEventsRoleDeleted + const CreateWebhookEndpointEventsRoleUpdated + const CreateWebhookEndpointEventsSessionCreated + const CreateWebhookEndpointEventsSessionRevoked + const CreateWebhookEndpointEventsUserCreated + const CreateWebhookEndpointEventsUserDeleted + const CreateWebhookEndpointEventsUserUpdated + const CreateWebhookEndpointEventsWaitlistUserApproved + const CreateWebhookEndpointEventsWaitlistUserCreated + const CreateWebhookEndpointEventsWaitlistUserDenied + type DataIntegrationAccessTokenResponse struct + AccessToken *DataIntegrationAccessTokenResponseAccessToken + Active *bool + Error *DataIntegrationAccessTokenResponseError + type DataIntegrationAccessTokenResponseAccessToken struct + AccessToken string + ExpiresAt *string + MissingScopes []string + Object string + Scopes []string + type DataIntegrationAccessTokenResponseError string + const DataIntegrationAccessTokenResponseErrorNeedsReauthorization + const DataIntegrationAccessTokenResponseErrorNotInstalled + type DataIntegrationAuthorizeURLResponse struct + URL string + type DataIntegrationsListResponse struct + Data []*DataIntegrationsListResponseData + Object string + type DataIntegrationsListResponseData struct + ConnectedAccount *DataIntegrationsListResponseDataConnectedAccount + CreatedAt string + CredentialsType string + Description *string + ID string + IntegrationType string + Name string + Object string + Ownership DataIntegrationsListResponseDataOwnership + Scopes []string + Slug string + UpdatedAt string + type DataIntegrationsListResponseDataConnectedAccount struct + CreatedAt string + ID string + Object string + OrganizationID *string + Scopes []string + State DataIntegrationsListResponseDataConnectedAccountState + UpdatedAt string + UserID *string + UserlandUserID *string + type DataIntegrationsListResponseDataConnectedAccountState = ConnectedAccountState + type DataIntegrationsListResponseDataOwnership string + const DataIntegrationsListResponseDataOwnershipOrganization + const DataIntegrationsListResponseDataOwnershipUserlandUser + type DataKey struct + Key string + type DataKeyPair struct + Context KeyContext + DataKey DataKey + EncryptedKeys string + type DeviceAuthorizationResponse struct + DeviceCode string + ExpiresIn float64 + Interval *float64 + UserCode string + VerificationURI string + VerificationURIComplete *string + type DeviceCodeSessionAuthenticateRequest struct + ClientID string + DeviceCode string + DeviceID *string + GrantType string + IPAddress *string + UserAgent *string + type Directory struct + CreatedAt string + Domain *string + ExternalKey string + ID string + Metadata *DirectoryMetadata + Name string + Object string + OrganizationID string + State DirectoryState + Type DirectoryType + UpdatedAt string + type DirectoryGroup struct + CreatedAt string + DirectoryID string + ID string + IdpID string + Name string + Object string + OrganizationID string + RawAttributes map[string]interface{} + UpdatedAt string + type DirectoryMetadata struct + Groups int + Users *DirectoryMetadataUser + type DirectoryMetadataUser struct + Active int + Inactive int + type DirectoryState string + const DirectoryStateDeleting + const DirectoryStateInvalidCredentials + const DirectoryStateLinked + const DirectoryStateUnlinked + const DirectoryStateValidating + type DirectorySyncListGroupsParams struct + Directory *string + User *string + type DirectorySyncListParams struct + Domain *string + OrganizationID *string + Search *string + type DirectorySyncListUsersParams struct + Directory *string + Group *string + type DirectorySyncService struct + func (s *DirectorySyncService) Delete(ctx context.Context, id string, opts ...RequestOption) error + func (s *DirectorySyncService) Get(ctx context.Context, id string, opts ...RequestOption) (*Directory, error) + func (s *DirectorySyncService) GetGroup(ctx context.Context, id string, opts ...RequestOption) (*DirectoryGroup, error) + func (s *DirectorySyncService) GetUser(ctx context.Context, id string, opts ...RequestOption) (*DirectoryUserWithGroups, error) + func (s *DirectorySyncService) List(ctx context.Context, params *DirectorySyncListParams, opts ...RequestOption) *Iterator[Directory] + func (s *DirectorySyncService) ListGroups(ctx context.Context, params *DirectorySyncListGroupsParams, ...) *Iterator[DirectoryGroup] + func (s *DirectorySyncService) ListUsers(ctx context.Context, params *DirectorySyncListUsersParams, ...) *Iterator[DirectoryUserWithGroups] + type DirectoryType string + const DirectoryTypeAzureSCIMV20 + const DirectoryTypeBamboohr + const DirectoryTypeBreatheHr + const DirectoryTypeCezanneHr + const DirectoryTypeCyberarkSCIMV20 + const DirectoryTypeFourthHr + const DirectoryTypeGenericSCIMV20 + const DirectoryTypeGsuiteDirectory + const DirectoryTypeHibob + const DirectoryTypeJumpCloudSCIMV20 + const DirectoryTypeOktaSCIMV20 + const DirectoryTypeOneloginSCIMV20 + const DirectoryTypePeopleHr + const DirectoryTypePersonio + const DirectoryTypePingfederateSCIMV20 + const DirectoryTypeRipplingSCIMV20 + const DirectoryTypeS3 + const DirectoryTypeSailpointSCIMV20 + const DirectoryTypeSftp + const DirectoryTypeSftpWorkday + const DirectoryTypeWorkday + type DirectoryUser struct + CreatedAt string + CustomAttributes map[string]interface{} + DirectoryID string + Email *string + Emails []*DirectoryUserEmail + FirstName *string + ID string + IdpID string + JobTitle *string + LastName *string + Name *string + Object string + OrganizationID string + RawAttributes map[string]interface{} + Role *SlimRole + Roles []*SlimRole + State DirectoryUserState + UpdatedAt string + Username *string + type DirectoryUserEmail struct + Primary *bool + Type *string + Value *string + type DirectoryUserState string + const DirectoryUserStateActive + const DirectoryUserStateInactive + const DirectoryUserStateSuspended + type DirectoryUserWithGroups struct + CreatedAt string + CustomAttributes map[string]interface{} + DirectoryID string + Email *string + Emails []*DirectoryUserWithGroupsEmail + FirstName *string + Groups []*DirectoryGroup + ID string + IdpID string + JobTitle *string + LastName *string + Name *string + Object string + OrganizationID string + RawAttributes map[string]interface{} + Role *SlimRole + Roles []*SlimRole + State DirectoryUserWithGroupsState + UpdatedAt string + Username *string + type DirectoryUserWithGroupsEmail = DirectoryUserEmail + type DirectoryUserWithGroupsState = DirectoryUserState + type DomainVerificationIntentOptions struct + DomainName *string + type DsyncActivated struct + Context *EventContext + CreatedAt string + Data *DsyncActivatedData + Event string + ID string + Object string + type DsyncActivatedData struct + CreatedAt string + Domains []*DsyncActivatedDataDomain + ExternalKey string + ID string + Name string + Object string + OrganizationID *string + State DsyncActivatedDataState + Type DsyncActivatedDataType + UpdatedAt string + type DsyncActivatedDataDomain struct + Domain string + ID string + Object string + type DsyncActivatedDataState string + const DsyncActivatedDataStateActive + const DsyncActivatedDataStateDeleting + const DsyncActivatedDataStateInactive + const DsyncActivatedDataStateInvalidCredentials + const DsyncActivatedDataStateValidating + type DsyncActivatedDataType string + const DsyncActivatedDataTypeAzureSCIMV20 + const DsyncActivatedDataTypeBamboohr + const DsyncActivatedDataTypeBreatheHr + const DsyncActivatedDataTypeCezanneHr + const DsyncActivatedDataTypeCyberarkSCIMV20 + const DsyncActivatedDataTypeFourthHr + const DsyncActivatedDataTypeGenericSCIMV20 + const DsyncActivatedDataTypeGsuiteDirectory + const DsyncActivatedDataTypeGusto + const DsyncActivatedDataTypeHibob + const DsyncActivatedDataTypeJumpCloudSCIMV20 + const DsyncActivatedDataTypeOktaSCIMV20 + const DsyncActivatedDataTypeOneloginSCIMV20 + const DsyncActivatedDataTypePeopleHr + const DsyncActivatedDataTypePersonio + const DsyncActivatedDataTypePingfederateSCIMV20 + const DsyncActivatedDataTypeRippling + const DsyncActivatedDataTypeRipplingSCIMV20 + const DsyncActivatedDataTypeS3 + const DsyncActivatedDataTypeSailpointSCIMV20 + const DsyncActivatedDataTypeSftp + const DsyncActivatedDataTypeSftpWorkday + const DsyncActivatedDataTypeWorkday + type DsyncDeactivated struct + Context *EventContext + CreatedAt string + Data *DsyncDeactivatedData + Event string + ID string + Object string + type DsyncDeactivatedData struct + CreatedAt string + Domains []*DsyncDeactivatedDataDomain + ExternalKey string + ID string + Name string + Object string + OrganizationID *string + State DsyncDeactivatedDataState + Type DsyncDeactivatedDataType + UpdatedAt string + type DsyncDeactivatedDataDomain = DsyncActivatedDataDomain + type DsyncDeactivatedDataState = DsyncActivatedDataState + type DsyncDeactivatedDataType = DsyncActivatedDataType + type DsyncDeleted struct + Context *EventContext + CreatedAt string + Data *DsyncDeletedData + Event string + ID string + Object string + type DsyncDeletedData struct + CreatedAt string + ID string + Name string + Object string + OrganizationID *string + State DsyncDeletedDataState + Type DsyncDeletedDataType + UpdatedAt string + type DsyncDeletedDataState = DsyncActivatedDataState + type DsyncDeletedDataType = DsyncActivatedDataType + type DsyncGroupCreated struct + Context *EventContext + CreatedAt string + Data *DirectoryGroup + Event string + ID string + Object string + type DsyncGroupDeleted struct + Context *EventContext + CreatedAt string + Data *DirectoryGroup + Event string + ID string + Object string + type DsyncGroupUpdated struct + Context *EventContext + CreatedAt string + Data *DsyncGroupUpdatedData + Event string + ID string + Object string + type DsyncGroupUpdatedData struct + CreatedAt string + DirectoryID string + ID string + IdpID string + Name string + Object string + OrganizationID string + PreviousAttributes map[string]interface{} + RawAttributes map[string]interface{} + UpdatedAt string + type DsyncGroupUserAdded struct + Context *EventContext + CreatedAt string + Data *DsyncGroupUserAddedData + Event string + ID string + Object string + type DsyncGroupUserAddedData struct + DirectoryID string + Group *DirectoryGroup + User *DirectoryUser + type DsyncGroupUserRemoved struct + Context *EventContext + CreatedAt string + Data *DsyncGroupUserRemovedData + Event string + ID string + Object string + type DsyncGroupUserRemovedData = DsyncGroupUserAddedData + type DsyncUserCreated struct + Context *EventContext + CreatedAt string + Data *DirectoryUser + Event string + ID string + Object string + type DsyncUserDeleted struct + Context *EventContext + CreatedAt string + Data *DirectoryUser + Event string + ID string + Object string + type DsyncUserUpdated struct + Context *EventContext + CreatedAt string + Data *DsyncUserUpdatedData + Event string + ID string + Object string + type DsyncUserUpdatedData struct + CreatedAt string + CustomAttributes map[string]interface{} + DirectoryID string + Email *string + Emails []*DsyncUserUpdatedDataEmail + FirstName *string + ID string + IdpID string + JobTitle *string + LastName *string + Name *string + Object string + OrganizationID string + PreviousAttributes map[string]interface{} + RawAttributes map[string]interface{} + Role *SlimRole + Roles []*SlimRole + State DsyncUserUpdatedDataState + UpdatedAt string + Username *string + type DsyncUserUpdatedDataEmail = DirectoryUserEmail + type DsyncUserUpdatedDataState = DirectoryUserState + type EmailChange struct + CreatedAt string + ExpiresAt string + NewEmail string + Object string + User *User + type EmailChangeConfirmation struct + Object string + User *EmailChangeConfirmationUser + type EmailChangeConfirmationUser struct + CreatedAt string + Email string + EmailVerified bool + ExternalID *string + FirstName *string + ID string + LastName *string + LastSignInAt *string + Locale *string + Metadata map[string]string + Object string + ProfilePictureURL *string + UpdatedAt string + type EmailVerification struct + Code string + CreatedAt string + Email string + ExpiresAt string + ID string + Object string + UpdatedAt string + UserID string + type EmailVerificationCodeSessionAuthenticateRequest struct + ClientID string + ClientSecret string + Code string + DeviceID *string + GrantType string + IPAddress *string + PendingAuthenticationToken string + UserAgent *string + type EmailVerificationCreated struct + Context *EventContext + CreatedAt string + Data *EmailVerificationCreatedData + Event string + ID string + Object string + type EmailVerificationCreatedData struct + CreatedAt string + Email string + ExpiresAt string + ID string + Object string + UpdatedAt string + UserID string + type EmailVerificationRequiredError struct + Email string + func (e *EmailVerificationRequiredError) Error() string + func (e *EmailVerificationRequiredError) Unwrap() error + type EventContext struct + Actor *EventContextActor + AjsAnonymousID *string + ClientID *string + GoogleAnalyticsClientID *string + GoogleAnalyticsSessions []*EventContextGoogleAnalyticsSession + PreviousAttributes map[string]interface{} + type EventContextActor struct + ID string + Name *string + Source EventContextActorSource + type EventContextActorSource string + const EventContextActorSourceAPI + const EventContextActorSourceAdminPortal + const EventContextActorSourceDashboard + const EventContextActorSourceSystem + type EventContextGoogleAnalyticsSession struct + ContainerID string + SessionID *string + SessionNumber *string + type EventListListMetadata struct + After *string + type EventSchema struct + Context map[string]interface{} + CreatedAt string + Data map[string]interface{} + Event string + ID string + Object string + type EventService struct + func (s *EventService) List(ctx context.Context, params *EventsListParams, opts ...RequestOption) *Iterator[EventSchema] + type EventsListParams struct + Events []string + OrganizationID *string + RangeEnd *string + RangeStart *string + type ExternalAuthCompleteResponse struct + RedirectURI string + type FeatureFlag struct + CreatedAt string + DefaultValue bool + Description *string + Enabled bool + ID string + Name string + Object string + Owner *FeatureFlagOwner + Slug string + Tags []string + UpdatedAt string + type FeatureFlagOwner struct + Email string + FirstName *string + LastName *string + type FeatureFlagService struct + func (s *FeatureFlagService) AddFlagTarget(ctx context.Context, slug string, resourceID string, opts ...RequestOption) error + func (s *FeatureFlagService) Disable(ctx context.Context, slug string, opts ...RequestOption) (*FeatureFlag, error) + func (s *FeatureFlagService) Enable(ctx context.Context, slug string, opts ...RequestOption) (*FeatureFlag, error) + func (s *FeatureFlagService) Get(ctx context.Context, slug string, opts ...RequestOption) (*Flag, error) + func (s *FeatureFlagService) List(ctx context.Context, params *FeatureFlagsListParams, opts ...RequestOption) *Iterator[Flag] + func (s *FeatureFlagService) ListOrganizationFeatureFlags(ctx context.Context, organizationID string, ...) *Iterator[Flag] + func (s *FeatureFlagService) ListUserFeatureFlags(ctx context.Context, userID string, ...) *Iterator[Flag] + func (s *FeatureFlagService) RemoveFlagTarget(ctx context.Context, slug string, resourceID string, opts ...RequestOption) error + type FeatureFlagsListOrganizationFeatureFlagsParams struct + type FeatureFlagsListParams struct + type FeatureFlagsListUserFeatureFlagsParams struct + type FieldError struct + Code string + Field string + type Flag struct + CreatedAt string + DefaultValue bool + Description *string + Enabled bool + ID string + Name string + Object string + Owner *FlagOwner + Slug string + Tags []string + UpdatedAt string + type FlagCreated struct + Context *FlagCreatedContext + CreatedAt string + Data *FlagCreatedData + Event string + ID string + Object string + type FlagCreatedContext struct + Actor *FlagCreatedContextActor + ClientID string + type FlagCreatedContextActor struct + ID string + Name *string + Source FlagCreatedContextActorSource + type FlagCreatedContextActorSource = EventContextActorSource + type FlagCreatedData struct + CreatedAt string + DefaultValue bool + Description *string + Enabled bool + EnvironmentID string + ID string + Name string + Object string + Owner *FlagCreatedDataOwner + Slug string + Tags []string + UpdatedAt string + type FlagCreatedDataOwner = FeatureFlagOwner + type FlagDeleted struct + Context *FlagDeletedContext + CreatedAt string + Data *FlagDeletedData + Event string + ID string + Object string + type FlagDeletedContext struct + Actor *FlagDeletedContextActor + ClientID string + type FlagDeletedContextActor struct + ID string + Name *string + Source FlagDeletedContextActorSource + type FlagDeletedContextActorSource = EventContextActorSource + type FlagDeletedData struct + CreatedAt string + DefaultValue bool + Description *string + Enabled bool + EnvironmentID string + ID string + Name string + Object string + Owner *FlagDeletedDataOwner + Slug string + Tags []string + UpdatedAt string + type FlagDeletedDataOwner = FeatureFlagOwner + type FlagOwner = FeatureFlagOwner + type FlagRuleUpdated struct + Context *FlagRuleUpdatedContext + CreatedAt string + Data *FlagRuleUpdatedData + Event string + ID string + Object string + type FlagRuleUpdatedContext struct + AccessType FlagRuleUpdatedContextAccessType + Actor *FlagRuleUpdatedContextActor + ClientID string + ConfiguredTargets *FlagRuleUpdatedContextConfiguredTarget + PreviousAttributes *FlagRuleUpdatedContextPreviousAttribute + type FlagRuleUpdatedContextAccessType string + const FlagRuleUpdatedContextAccessTypeAll + const FlagRuleUpdatedContextAccessTypeNone + const FlagRuleUpdatedContextAccessTypeSome + type FlagRuleUpdatedContextActor struct + ID string + Name *string + Source FlagRuleUpdatedContextActorSource + type FlagRuleUpdatedContextActorSource = EventContextActorSource + type FlagRuleUpdatedContextConfiguredTarget struct + Organizations []*FlagRuleUpdatedContextConfiguredTargetOrganization + Users []*FlagRuleUpdatedContextConfiguredTargetUser + type FlagRuleUpdatedContextConfiguredTargetOrganization struct + ID string + Name string + type FlagRuleUpdatedContextConfiguredTargetUser struct + Email string + ID string + type FlagRuleUpdatedContextPreviousAttribute struct + Context *FlagRuleUpdatedContextPreviousAttributeContext + Data *FlagRuleUpdatedContextPreviousAttributeData + type FlagRuleUpdatedContextPreviousAttributeContext struct + AccessType *FlagRuleUpdatedContextPreviousAttributeContextAccessType + ConfiguredTargets *FlagRuleUpdatedContextPreviousAttributeContextConfiguredTarget + type FlagRuleUpdatedContextPreviousAttributeContextAccessType = FlagRuleUpdatedContextAccessType + type FlagRuleUpdatedContextPreviousAttributeContextConfiguredTarget struct + Organizations []*FlagRuleUpdatedContextPreviousAttributeContextConfiguredTargetOrganization + Users []*FlagRuleUpdatedContextPreviousAttributeContextConfiguredTargetUser + type FlagRuleUpdatedContextPreviousAttributeContextConfiguredTargetOrganization = FlagRuleUpdatedContextConfiguredTargetOrganization + type FlagRuleUpdatedContextPreviousAttributeContextConfiguredTargetUser = FlagRuleUpdatedContextConfiguredTargetUser + type FlagRuleUpdatedContextPreviousAttributeData struct + DefaultValue *bool + Enabled *bool + type FlagRuleUpdatedData struct + CreatedAt string + DefaultValue bool + Description *string + Enabled bool + EnvironmentID string + ID string + Name string + Object string + Owner *FlagRuleUpdatedDataOwner + Slug string + Tags []string + UpdatedAt string + type FlagRuleUpdatedDataOwner = FeatureFlagOwner + type FlagUpdated struct + Context *FlagUpdatedContext + CreatedAt string + Data *FlagUpdatedData + Event string + ID string + Object string + type FlagUpdatedContext struct + Actor *FlagUpdatedContextActor + ClientID string + PreviousAttributes *FlagUpdatedContextPreviousAttribute + type FlagUpdatedContextActor struct + ID string + Name *string + Source FlagUpdatedContextActorSource + type FlagUpdatedContextActorSource = EventContextActorSource + type FlagUpdatedContextPreviousAttribute struct + Data *FlagUpdatedContextPreviousAttributeData + type FlagUpdatedContextPreviousAttributeData struct + DefaultValue *bool + Description *string + Enabled *bool + Name *string + Tags []string + type FlagUpdatedData struct + CreatedAt string + DefaultValue bool + Description *string + Enabled bool + EnvironmentID string + ID string + Name string + Object string + Owner *FlagUpdatedDataOwner + Slug string + Tags []string + UpdatedAt string + type FlagUpdatedDataOwner = FeatureFlagOwner + type GenerateLinkIntent string + const GenerateLinkIntentAuditLogs + const GenerateLinkIntentBringYourOwnKey + const GenerateLinkIntentCertificateRenewal + const GenerateLinkIntentDomainVerification + const GenerateLinkIntentDsync + const GenerateLinkIntentLogStreams + const GenerateLinkIntentSSO + type Group struct + CreatedAt string + Description *string + ID string + Name string + Object string + OrganizationID string + UpdatedAt string + type GroupCreated struct + Context *EventContext + CreatedAt string + Data *Group + Event string + ID string + Object string + type GroupDeleted struct + Context *EventContext + CreatedAt string + Data *Group + Event string + ID string + Object string + type GroupMemberAdded struct + Context *EventContext + CreatedAt string + Data *GroupMemberAddedData + Event string + ID string + Object string + type GroupMemberAddedData struct + GroupID string + OrganizationMembershipID string + type GroupMemberRemoved struct + Context *EventContext + CreatedAt string + Data *GroupMemberRemovedData + Event string + ID string + Object string + type GroupMemberRemovedData = GroupMemberAddedData + type GroupService struct + func (s *GroupService) CreateOrganizationGroup(ctx context.Context, organizationID string, ...) (*Group, error) + func (s *GroupService) CreateOrganizationMembership(ctx context.Context, organizationID string, groupID string, ...) (*Group, error) + func (s *GroupService) DeleteOrganizationGroup(ctx context.Context, organizationID string, groupID string, ...) error + func (s *GroupService) DeleteOrganizationMembership(ctx context.Context, organizationID string, groupID string, omID string, ...) error + func (s *GroupService) GetOrganizationGroup(ctx context.Context, organizationID string, groupID string, ...) (*Group, error) + func (s *GroupService) ListOrganizationGroups(ctx context.Context, organizationID string, ...) *Iterator[Group] + func (s *GroupService) ListOrganizationMemberships(ctx context.Context, organizationID string, groupID string, ...) *Iterator[UserOrganizationMembershipBaseListData] + func (s *GroupService) UpdateOrganizationGroup(ctx context.Context, organizationID string, groupID string, ...) (*Group, error) + type GroupUpdated struct + Context *EventContext + CreatedAt string + Data *Group + Event string + ID string + Object string + type GroupsCreateOrganizationGroupParams struct + Description *string + Name string + type GroupsCreateOrganizationMembershipParams struct + OrganizationMembershipID string + type GroupsListOrganizationGroupsParams struct + type GroupsListOrganizationMembershipsParams struct + type GroupsUpdateOrganizationGroupParams struct + Description *string + Name *string + type IntentOptions struct + DomainVerification *DomainVerificationIntentOptions + SSO *SSOIntentOptions + type Invitation struct + AcceptInvitationURL string + AcceptedAt *string + AcceptedUserID *string + CreatedAt string + Email string + ExpiresAt string + ID string + InviterUserID *string + Object string + OrganizationID *string + RevokedAt *string + RoleSlug *string + State InvitationState + Token string + UpdatedAt string + type InvitationAccepted struct + Context *EventContext + CreatedAt string + Data *InvitationAcceptedData + Event string + ID string + Object string + type InvitationAcceptedData struct + AcceptedAt *string + AcceptedUserID *string + CreatedAt string + Email string + ExpiresAt string + ID string + InviterUserID *string + Object string + OrganizationID *string + RevokedAt *string + RoleSlug *string + State InvitationAcceptedDataState + UpdatedAt string + type InvitationAcceptedDataState string + const InvitationAcceptedDataStateAccepted + const InvitationAcceptedDataStateExpired + const InvitationAcceptedDataStatePending + const InvitationAcceptedDataStateRevoked + type InvitationCreated struct + Context *EventContext + CreatedAt string + Data *InvitationCreatedData + Event string + ID string + Object string + type InvitationCreatedData struct + AcceptedAt *string + AcceptedUserID *string + CreatedAt string + Email string + ExpiresAt string + ID string + InviterUserID *string + Object string + OrganizationID *string + RevokedAt *string + RoleSlug *string + State InvitationCreatedDataState + UpdatedAt string + type InvitationCreatedDataState = InvitationAcceptedDataState + type InvitationResent struct + Context *EventContext + CreatedAt string + Data *InvitationResentData + Event string + ID string + Object string + type InvitationResentData struct + AcceptedAt *string + AcceptedUserID *string + CreatedAt string + Email string + ExpiresAt string + ID string + InviterUserID *string + Object string + OrganizationID *string + RevokedAt *string + RoleSlug *string + State InvitationResentDataState + UpdatedAt string + type InvitationResentDataState = InvitationAcceptedDataState + type InvitationRevoked struct + Context *EventContext + CreatedAt string + Data *InvitationRevokedData + Event string + ID string + Object string + type InvitationRevokedData struct + AcceptedAt *string + AcceptedUserID *string + CreatedAt string + Email string + ExpiresAt string + ID string + InviterUserID *string + Object string + OrganizationID *string + RevokedAt *string + RoleSlug *string + State InvitationRevokedDataState + UpdatedAt string + type InvitationRevokedDataState = InvitationAcceptedDataState + type InvitationState = InvitationAcceptedDataState + type Iterator struct + func (it *Iterator[T]) Current() *T + func (it *Iterator[T]) Cursor() *string + func (it *Iterator[T]) Err() error + func (it *Iterator[T]) Next() bool + type JWKSResponse struct + Keys []*JWKSResponseKeys + type JWKSResponseKeys struct + Alg string + E string + Kid string + Kty string + N string + Use string + X5C []string + X5TS256 string + type JWTClaims struct + Entitlements []string + OrganizationID string + Permissions []string + Role string + SessionID string + type JWTTemplateResponse struct + Content string + CreatedAt string + Object string + UpdatedAt string + type KeyContext struct + EnvironmentID string + Type string + type Logger interface + Printf func(format string, args ...any) + type MFAChallengeError struct + AuthenticationFactors []AuthenticationFactor + User User + func (e *MFAChallengeError) Error() string + func (e *MFAChallengeError) Unwrap() error + type MFAEnrollmentError struct + User User + func (e *MFAEnrollmentError) Error() string + func (e *MFAEnrollmentError) Unwrap() error + type MFATOTPSessionAuthenticateRequest struct + AuthenticationChallengeID string + ClientID string + ClientSecret string + Code string + DeviceID *string + GrantType string + IPAddress *string + PendingAuthenticationToken string + UserAgent *string + type MagicAuth struct + Code string + CreatedAt string + Email string + ExpiresAt string + ID string + Object string + UpdatedAt string + UserID string + type MagicAuthCodeSessionAuthenticateRequest struct + ClientID string + ClientSecret string + Code string + DeviceID *string + Email string + GrantType string + IPAddress *string + InvitationToken *string + UserAgent *string + type MagicAuthCreated struct + Context *EventContext + CreatedAt string + Data *MagicAuthCreatedData + Event string + ID string + Object string + type MagicAuthCreatedData struct + CreatedAt string + Email string + ExpiresAt string + ID string + Object string + UpdatedAt string + UserID string + type MultiFactorAuthChallengeFactorParams struct + SmsTemplate *string + type MultiFactorAuthCreateUserAuthFactorParams struct + TOTPIssuer *string + TOTPSecret *string + TOTPUser *string + Type string + type MultiFactorAuthEnrollFactorParams struct + PhoneNumber *string + TOTPIssuer *string + TOTPUser *string + Type AuthenticationFactorsCreateRequestType + UserID *string + type MultiFactorAuthListUserAuthFactorsParams struct + type MultiFactorAuthService struct + func (s *MultiFactorAuthService) ChallengeFactor(ctx context.Context, id string, params *MultiFactorAuthChallengeFactorParams, ...) (*AuthenticationChallenge, error) + func (s *MultiFactorAuthService) CreateUserAuthFactor(ctx context.Context, userlandUserID string, ...) (*UserAuthenticationFactorEnrollResponse, error) + func (s *MultiFactorAuthService) DeleteFactor(ctx context.Context, id string, opts ...RequestOption) error + func (s *MultiFactorAuthService) EnrollFactor(ctx context.Context, params *MultiFactorAuthEnrollFactorParams, ...) (*AuthenticationFactorEnrolled, error) + func (s *MultiFactorAuthService) GetFactor(ctx context.Context, id string, opts ...RequestOption) (*AuthenticationFactor, error) + func (s *MultiFactorAuthService) ListUserAuthFactors(ctx context.Context, userlandUserID string, ...) *Iterator[AuthenticationFactor] + func (s *MultiFactorAuthService) VerifyChallenge(ctx context.Context, id string, params *MultiFactorAuthVerifyChallengeParams, ...) (*AuthenticationChallengeVerifyResponse, error) + type MultiFactorAuthVerifyChallengeParams struct + Code string + type NetworkError struct + Err error + func (e *NetworkError) Error() string + func (e *NetworkError) Unwrap() error + type NewConnectApplicationSecret struct + CreatedAt string + ID string + LastUsedAt *string + Object string + Secret string + SecretHint string + UpdatedAt string + type NotFoundError struct + func (e *NotFoundError) Error() string + func (e *NotFoundError) Unwrap() error + type ObjectMetadata struct + Context KeyContext + EnvironmentID string + ID string + KeyID string + UpdatedAt string + UpdatedBy string + VersionID string + type Organization struct + AllowProfilesOutsideOrganization *bool + CreatedAt string + Domains []*OrganizationDomain + ExternalID *string + ID string + Metadata map[string]string + Name string + Object string + StripeCustomerID *string + UpdatedAt string + type OrganizationAPIKey struct + CreatedAt string + ID string + LastUsedAt *string + Name string + ObfuscatedValue string + Object string + Owner *OrganizationAPIKeyOwner + Permissions []string + UpdatedAt string + type OrganizationAPIKeyOwner = APIKeyCreatedDataOwner + type OrganizationAPIKeyWithValue struct + CreatedAt string + ID string + LastUsedAt *string + Name string + ObfuscatedValue string + Object string + Owner *OrganizationAPIKeyWithValueOwner + Permissions []string + UpdatedAt string + Value string + type OrganizationAPIKeyWithValueOwner = APIKeyCreatedDataOwner + type OrganizationAuthenticationMethodsRequiredError struct + AuthMethods map[string]bool + Email string + SSOConnectionIDs []string + func (e *OrganizationAuthenticationMethodsRequiredError) Error() string + func (e *OrganizationAuthenticationMethodsRequiredError) Unwrap() error + type OrganizationCreated struct + Context *EventContext + CreatedAt string + Data *OrganizationCreatedData + Event string + ID string + Object string + type OrganizationCreatedData struct + CreatedAt string + Domains []*OrganizationCreatedDataDomain + ExternalID *string + ID string + Metadata map[string]string + Name string + Object string + StripeCustomerID *string + UpdatedAt string + type OrganizationCreatedDataDomain struct + CreatedAt string + Domain string + ID string + Object string + OrganizationID string + State *OrganizationCreatedDataDomainState + UpdatedAt string + VerificationPrefix *string + VerificationStrategy *OrganizationCreatedDataDomainVerificationStrategy + VerificationToken *string + type OrganizationCreatedDataDomainState string + const OrganizationCreatedDataDomainStateFailed + const OrganizationCreatedDataDomainStateLegacyVerified + const OrganizationCreatedDataDomainStatePending + const OrganizationCreatedDataDomainStateUnverified + const OrganizationCreatedDataDomainStateVerified + type OrganizationCreatedDataDomainVerificationStrategy string + const OrganizationCreatedDataDomainVerificationStrategyDns + const OrganizationCreatedDataDomainVerificationStrategyManual + type OrganizationDeleted struct + Context *EventContext + CreatedAt string + Data *OrganizationDeletedData + Event string + ID string + Object string + type OrganizationDeletedData struct + CreatedAt string + Domains []*OrganizationDeletedDataDomain + ExternalID *string + ID string + Metadata map[string]string + Name string + Object string + StripeCustomerID *string + UpdatedAt string + type OrganizationDeletedDataDomain struct + CreatedAt string + Domain string + ID string + Object string + OrganizationID string + State *OrganizationDeletedDataDomainState + UpdatedAt string + VerificationPrefix *string + VerificationStrategy *OrganizationDeletedDataDomainVerificationStrategy + VerificationToken *string + type OrganizationDeletedDataDomainState = OrganizationCreatedDataDomainState + type OrganizationDeletedDataDomainVerificationStrategy = OrganizationCreatedDataDomainVerificationStrategy + type OrganizationDomain struct + CreatedAt string + Domain string + ID string + Object string + OrganizationID string + State *OrganizationDomainState + UpdatedAt string + VerificationPrefix *string + VerificationStrategy *OrganizationDomainVerificationStrategy + VerificationToken *string + type OrganizationDomainCreated struct + Context *EventContext + CreatedAt string + Data *OrganizationDomainCreatedData + Event string + ID string + Object string + type OrganizationDomainCreatedData struct + CreatedAt string + Domain string + ID string + Object string + OrganizationID string + State *OrganizationDomainCreatedDataState + UpdatedAt string + VerificationPrefix *string + VerificationStrategy *OrganizationDomainCreatedDataVerificationStrategy + VerificationToken *string + type OrganizationDomainCreatedDataState = OrganizationCreatedDataDomainState + type OrganizationDomainCreatedDataVerificationStrategy = OrganizationCreatedDataDomainVerificationStrategy + type OrganizationDomainData struct + Domain string + State OrganizationDomainDataState + type OrganizationDomainDataState string + const OrganizationDomainDataStatePending + const OrganizationDomainDataStateVerified + type OrganizationDomainDeleted struct + Context *EventContext + CreatedAt string + Data *OrganizationDomainDeletedData + Event string + ID string + Object string + type OrganizationDomainDeletedData struct + CreatedAt string + Domain string + ID string + Object string + OrganizationID string + State *OrganizationDomainDeletedDataState + UpdatedAt string + VerificationPrefix *string + VerificationStrategy *OrganizationDomainDeletedDataVerificationStrategy + VerificationToken *string + type OrganizationDomainDeletedDataState = OrganizationCreatedDataDomainState + type OrganizationDomainDeletedDataVerificationStrategy = OrganizationCreatedDataDomainVerificationStrategy + type OrganizationDomainService struct + func (s *OrganizationDomainService) Create(ctx context.Context, params *OrganizationDomainsCreateParams, ...) (*OrganizationDomain, error) + func (s *OrganizationDomainService) Delete(ctx context.Context, id string, opts ...RequestOption) error + func (s *OrganizationDomainService) Get(ctx context.Context, id string, opts ...RequestOption) (*OrganizationDomainStandAlone, error) + func (s *OrganizationDomainService) Verify(ctx context.Context, id string, opts ...RequestOption) (*OrganizationDomainStandAlone, error) + type OrganizationDomainStandAlone struct + CreatedAt string + Domain string + ID string + Object string + OrganizationID string + State *OrganizationDomainStandAloneState + UpdatedAt string + VerificationPrefix *string + VerificationStrategy *OrganizationDomainStandAloneVerificationStrategy + VerificationToken *string + type OrganizationDomainStandAloneState = OrganizationCreatedDataDomainState + type OrganizationDomainStandAloneVerificationStrategy = OrganizationCreatedDataDomainVerificationStrategy + type OrganizationDomainState = OrganizationCreatedDataDomainState + type OrganizationDomainUpdated struct + Context *EventContext + CreatedAt string + Data *OrganizationDomainUpdatedData + Event string + ID string + Object string + type OrganizationDomainUpdatedData struct + CreatedAt string + Domain string + ID string + Object string + OrganizationID string + State *OrganizationDomainUpdatedDataState + UpdatedAt string + VerificationPrefix *string + VerificationStrategy *OrganizationDomainUpdatedDataVerificationStrategy + VerificationToken *string + type OrganizationDomainUpdatedDataState = OrganizationCreatedDataDomainState + type OrganizationDomainUpdatedDataVerificationStrategy = OrganizationCreatedDataDomainVerificationStrategy + type OrganizationDomainVerificationFailed struct + Context *EventContext + CreatedAt string + Data *OrganizationDomainVerificationFailedData + Event string + ID string + Object string + type OrganizationDomainVerificationFailedData struct + OrganizationDomain *OrganizationDomainVerificationFailedDataOrganizationDomain + Reason OrganizationDomainVerificationFailedDataReason + type OrganizationDomainVerificationFailedDataOrganizationDomain struct + CreatedAt string + Domain string + ID string + Object string + OrganizationID string + State *OrganizationDomainVerificationFailedDataOrganizationDomainState + UpdatedAt string + VerificationPrefix *string + VerificationStrategy *OrganizationDomainVerificationFailedDataOrganizationDomainVerificationStrategy + VerificationToken *string + type OrganizationDomainVerificationFailedDataOrganizationDomainState = OrganizationCreatedDataDomainState + type OrganizationDomainVerificationFailedDataOrganizationDomainVerificationStrategy = OrganizationCreatedDataDomainVerificationStrategy + type OrganizationDomainVerificationFailedDataReason string + const OrganizationDomainVerificationFailedDataReasonDomainVerificationPeriodExpired + const OrganizationDomainVerificationFailedDataReasonDomainVerifiedByOtherOrganization + type OrganizationDomainVerificationStrategy = OrganizationCreatedDataDomainVerificationStrategy + type OrganizationDomainVerified struct + Context *EventContext + CreatedAt string + Data *OrganizationDomainVerifiedData + Event string + ID string + Object string + type OrganizationDomainVerifiedData struct + CreatedAt string + Domain string + ID string + Object string + OrganizationID string + State *OrganizationDomainVerifiedDataState + UpdatedAt string + VerificationPrefix *string + VerificationStrategy *OrganizationDomainVerifiedDataVerificationStrategy + VerificationToken *string + type OrganizationDomainVerifiedDataState = OrganizationCreatedDataDomainState + type OrganizationDomainVerifiedDataVerificationStrategy = OrganizationCreatedDataDomainVerificationStrategy + type OrganizationDomainsCreateParams struct + Domain string + OrganizationID string + type OrganizationMembership struct + CreatedAt string + CustomAttributes map[string]interface{} + DirectoryManaged bool + ID string + Object string + OrganizationID string + OrganizationName *string + Role *SlimRole + Status OrganizationMembershipStatus + UpdatedAt string + User *User + UserID string + type OrganizationMembershipCreated struct + Context *EventContext + CreatedAt string + Data *OrganizationMembershipCreatedData + Event string + ID string + Object string + type OrganizationMembershipCreatedData struct + CreatedAt string + CustomAttributes map[string]interface{} + DirectoryManaged bool + ID string + Object string + OrganizationID string + Role *SlimRole + Roles []*SlimRole + Status OrganizationMembershipCreatedDataStatus + UpdatedAt string + UserID string + type OrganizationMembershipCreatedDataStatus string + const OrganizationMembershipCreatedDataStatusActive + const OrganizationMembershipCreatedDataStatusInactive + const OrganizationMembershipCreatedDataStatusPending + type OrganizationMembershipDeleted struct + Context *EventContext + CreatedAt string + Data *OrganizationMembershipDeletedData + Event string + ID string + Object string + type OrganizationMembershipDeletedData struct + CreatedAt string + CustomAttributes map[string]interface{} + DirectoryManaged bool + ID string + Object string + OrganizationID string + Role *SlimRole + Roles []*SlimRole + Status OrganizationMembershipDeletedDataStatus + UpdatedAt string + UserID string + type OrganizationMembershipDeletedDataStatus = OrganizationMembershipCreatedDataStatus + type OrganizationMembershipStatus = OrganizationMembershipCreatedDataStatus + type OrganizationMembershipUpdated struct + Context *EventContext + CreatedAt string + Data *OrganizationMembershipUpdatedData + Event string + ID string + Object string + type OrganizationMembershipUpdatedData struct + CreatedAt string + CustomAttributes map[string]interface{} + DirectoryManaged bool + ID string + Object string + OrganizationID string + Role *SlimRole + Roles []*SlimRole + Status OrganizationMembershipUpdatedDataStatus + UpdatedAt string + UserID string + type OrganizationMembershipUpdatedDataStatus = OrganizationMembershipCreatedDataStatus + type OrganizationRoleCreated struct + Context *EventContext + CreatedAt string + Data *OrganizationRoleCreatedData + Event string + ID string + Object string + type OrganizationRoleCreatedData struct + CreatedAt string + Description *string + Name string + Object string + OrganizationID string + Permissions []string + ResourceTypeSlug string + Slug string + UpdatedAt string + type OrganizationRoleDeleted struct + Context *EventContext + CreatedAt string + Data *OrganizationRoleDeletedData + Event string + ID string + Object string + type OrganizationRoleDeletedData = OrganizationRoleCreatedData + type OrganizationRoleUpdated struct + Context *EventContext + CreatedAt string + Data *OrganizationRoleUpdatedData + Event string + ID string + Object string + type OrganizationRoleUpdatedData = OrganizationRoleCreatedData + type OrganizationSelectionRequiredError struct + Organizations []PendingAuthenticationOrganization + User User + func (e *OrganizationSelectionRequiredError) Error() string + func (e *OrganizationSelectionRequiredError) Unwrap() error + type OrganizationSelectionSessionAuthenticateRequest struct + ClientID string + ClientSecret string + DeviceID *string + GrantType string + IPAddress *string + OrganizationID string + PendingAuthenticationToken string + UserAgent *string + type OrganizationService struct + func (s *OrganizationService) Create(ctx context.Context, params *OrganizationsCreateParams, opts ...RequestOption) (*Organization, error) + func (s *OrganizationService) Delete(ctx context.Context, id string, opts ...RequestOption) error + func (s *OrganizationService) Get(ctx context.Context, id string, opts ...RequestOption) (*Organization, error) + func (s *OrganizationService) GetAuditLogConfiguration(ctx context.Context, id string, opts ...RequestOption) (*AuditLogConfiguration, error) + func (s *OrganizationService) GetByExternalID(ctx context.Context, externalID string, opts ...RequestOption) (*Organization, error) + func (s *OrganizationService) List(ctx context.Context, params *OrganizationsListParams, opts ...RequestOption) *Iterator[Organization] + func (s *OrganizationService) Update(ctx context.Context, id string, params *OrganizationsUpdateParams, ...) (*Organization, error) + type OrganizationUpdated struct + Context *EventContext + CreatedAt string + Data *OrganizationUpdatedData + Event string + ID string + Object string + type OrganizationUpdatedData struct + CreatedAt string + Domains []*OrganizationUpdatedDataDomain + ExternalID *string + ID string + Metadata map[string]string + Name string + Object string + StripeCustomerID *string + UpdatedAt string + type OrganizationUpdatedDataDomain struct + CreatedAt string + Domain string + ID string + Object string + OrganizationID string + State *OrganizationUpdatedDataDomainState + UpdatedAt string + VerificationPrefix *string + VerificationStrategy *OrganizationUpdatedDataDomainVerificationStrategy + VerificationToken *string + type OrganizationUpdatedDataDomainState = OrganizationCreatedDataDomainState + type OrganizationUpdatedDataDomainVerificationStrategy = OrganizationCreatedDataDomainVerificationStrategy + type OrganizationsCreateParams struct + AllowProfilesOutsideOrganization *bool + DomainData []*OrganizationDomainData + Domains []string + ExternalID *string + Metadata map[string]string + Name string + type OrganizationsListParams struct + Domains []string + Search *string + type OrganizationsUpdateParams struct + AllowProfilesOutsideOrganization *bool + DomainData []*OrganizationDomainData + Domains []string + ExternalID *string + Metadata map[string]string + Name *string + StripeCustomerID *string + type PKCEPair struct + CodeChallenge string + CodeChallengeMethod string + CodeVerifier string + func GeneratePKCEPair() (*PKCEPair, error) + type PaginationOrder string + const PaginationOrderAsc + const PaginationOrderDesc + const PaginationOrderNormal + type PaginationParams struct + After *string + Before *string + Limit *int + Order *PaginationOrder + type PasswordReset struct + CreatedAt string + Email string + ExpiresAt string + ID string + Object string + PasswordResetToken string + PasswordResetURL string + UserID string + type PasswordResetCreated struct + Context *EventContext + CreatedAt string + Data *PasswordResetCreatedData + Event string + ID string + Object string + type PasswordResetCreatedData struct + CreatedAt string + Email string + ExpiresAt string + ID string + Object string + UserID string + type PasswordResetSucceeded struct + Context *EventContext + CreatedAt string + Data *PasswordResetSucceededData + Event string + ID string + Object string + type PasswordResetSucceededData = PasswordResetCreatedData + type PasswordSessionAuthenticateRequest struct + ClientID string + ClientSecret string + DeviceID *string + Email string + GrantType string + IPAddress *string + InvitationToken *string + Password string + UserAgent *string + type PasswordlessCreateSessionParams struct + Email string + ExpiresIn *int + RedirectURI *string + State *string + Type PasswordlessSessionType + type PasswordlessService struct + func (s *PasswordlessService) CreateSession(ctx context.Context, params *PasswordlessCreateSessionParams, ...) (*PasswordlessSession, error) + func (s *PasswordlessService) SendSession(ctx context.Context, sessionID string, opts ...RequestOption) error + type PasswordlessSession struct + Email string + ExpiresAt string + ID string + Link string + Object string + type PasswordlessSessionType string + const PasswordlessSessionTypeMagicLink + type PendingAuthenticationOrganization struct + ID string + Name string + type Permission = AuthorizationPermission + type PermissionCreated struct + Context *EventContext + CreatedAt string + Data *PermissionCreatedData + Event string + ID string + Object string + type PermissionCreatedData struct + CreatedAt string + Description *string + ID string + Name string + Object string + Slug string + System bool + UpdatedAt string + type PermissionDeleted struct + Context *EventContext + CreatedAt string + Data *PermissionDeletedData + Event string + ID string + Object string + type PermissionDeletedData = PermissionCreatedData + type PermissionUpdated struct + Context *EventContext + CreatedAt string + Data *PermissionUpdatedData + Event string + ID string + Object string + type PermissionUpdatedData = PermissionCreatedData + type PipeService struct + func (s *PipeService) AuthorizeDataIntegration(ctx context.Context, slug string, params *PipesAuthorizeDataIntegrationParams, ...) (*DataIntegrationAuthorizeURLResponse, error) + func (s *PipeService) CreateDataIntegrationToken(ctx context.Context, slug string, ...) (*DataIntegrationAccessTokenResponse, error) + func (s *PipeService) DeleteUserConnectedAccount(ctx context.Context, userID string, slug string, ...) error + func (s *PipeService) GetUserConnectedAccount(ctx context.Context, userID string, slug string, ...) (*ConnectedAccount, error) + func (s *PipeService) ListUserDataProviders(ctx context.Context, userID string, params *PipesListUserDataProvidersParams, ...) (*DataIntegrationsListResponse, error) + type PipesAuthorizeDataIntegrationParams struct + OrganizationID *string + ReturnTo *string + UserID string + type PipesCreateDataIntegrationTokenParams struct + OrganizationID *string + UserID string + type PipesDeleteUserConnectedAccountParams struct + OrganizationID *string + type PipesGetUserConnectedAccountParams struct + OrganizationID *string + type PipesListUserDataProvidersParams struct + OrganizationID *string + type PortalLinkResponse struct + Link string + type Profile struct + ConnectionID string + ConnectionType ProfileConnectionType + CustomAttributes map[string]interface{} + Email string + FirstName *string + Groups []string + ID string + IdpID string + LastName *string + Name *string + Object string + OrganizationID *string + RawAttributes map[string]interface{} + Role *SlimRole + Roles []*SlimRole + type ProfileConnectionType = ConnectionType + type PublicClient struct + func NewPublicClient(clientID string, opts ...PublicClientOption) *PublicClient + func (p *PublicClient) GetAuthorizationURL(params AuthKitAuthorizationURLParams) (*AuthKitPKCEAuthorizationURLResult, error) + func (p *PublicClient) GetSSOAuthorizationURL(params SSOAuthorizationURLParams) (*SSOPKCEAuthorizationURLResult, error) + type PublicClientOption func(*publicClientConfig) + func WithPublicClientBaseURL(baseURL string) PublicClientOption + type RadarAction string + const RadarActionAllow + const RadarActionBlock + type RadarAddListEntryParams struct + Entry string + type RadarCreateAttemptParams struct + Action RadarStandaloneAssessRequestAction + AuthMethod RadarStandaloneAssessRequestAuthMethod + BotScore *string + DeviceFingerprint *string + Email string + IPAddress string + UserAgent string + type RadarListEntryAlreadyPresentResponse struct + Message string + type RadarRemoveListEntryParams struct + Entry string + type RadarService struct + func (s *RadarService) AddListEntry(ctx context.Context, typeParam RadarType, action RadarAction, ...) (*RadarListEntryAlreadyPresentResponse, error) + func (s *RadarService) CreateAttempt(ctx context.Context, params *RadarCreateAttemptParams, opts ...RequestOption) (*RadarStandaloneResponse, error) + func (s *RadarService) RemoveListEntry(ctx context.Context, typeParam RadarType, action RadarAction, ...) error + func (s *RadarService) UpdateAttempt(ctx context.Context, id string, params *RadarUpdateAttemptParams, ...) error + type RadarStandaloneAssessRequestAction string + const RadarStandaloneAssessRequestActionLogin + const RadarStandaloneAssessRequestActionSignIn + const RadarStandaloneAssessRequestActionSignIn2 + const RadarStandaloneAssessRequestActionSignIn3 + const RadarStandaloneAssessRequestActionSignUp + const RadarStandaloneAssessRequestActionSignUp2 + const RadarStandaloneAssessRequestActionSignUp3 + const RadarStandaloneAssessRequestActionSignup + type RadarStandaloneAssessRequestAuthMethod string + const RadarStandaloneAssessRequestAuthMethodAuthenticator + const RadarStandaloneAssessRequestAuthMethodEmailOtp + const RadarStandaloneAssessRequestAuthMethodOther + const RadarStandaloneAssessRequestAuthMethodPasskey + const RadarStandaloneAssessRequestAuthMethodPassword + const RadarStandaloneAssessRequestAuthMethodSSO + const RadarStandaloneAssessRequestAuthMethodSmsOtp + const RadarStandaloneAssessRequestAuthMethodSocial + type RadarStandaloneResponse struct + AttemptID string + BlocklistType *RadarStandaloneResponseBlocklistType + Control *RadarStandaloneResponseControl + Reason string + Verdict RadarStandaloneResponseVerdict + type RadarStandaloneResponseBlocklistType string + const RadarStandaloneResponseBlocklistTypeCountry + const RadarStandaloneResponseBlocklistTypeDevice + const RadarStandaloneResponseBlocklistTypeDeviceFingerprint + const RadarStandaloneResponseBlocklistTypeDomain + const RadarStandaloneResponseBlocklistTypeEmail + const RadarStandaloneResponseBlocklistTypeIPAddress + const RadarStandaloneResponseBlocklistTypeUserAgent + type RadarStandaloneResponseControl string + const RadarStandaloneResponseControlBotDetection + const RadarStandaloneResponseControlBruteForceAttack + const RadarStandaloneResponseControlCredentialStuffing + const RadarStandaloneResponseControlDomainSignUpRateLimit + const RadarStandaloneResponseControlIPSignUpRateLimit + const RadarStandaloneResponseControlImpossibleTravel + const RadarStandaloneResponseControlRepeatSignUp + const RadarStandaloneResponseControlRestriction + const RadarStandaloneResponseControlStaleAccount + const RadarStandaloneResponseControlUnrecognizedDevice + type RadarStandaloneResponseVerdict string + const RadarStandaloneResponseVerdictAllow + const RadarStandaloneResponseVerdictBlock + const RadarStandaloneResponseVerdictChallenge + type RadarType = RadarStandaloneResponseBlocklistType + type RadarUpdateAttemptParams struct + AttemptStatus *string + ChallengeStatus *string + type RateLimitExceededError struct + func (e *RateLimitExceededError) Error() string + func (e *RateLimitExceededError) Unwrap() error + type RedirectURI struct + CreatedAt string + Default bool + ID string + Object string + URI string + UpdatedAt string + type RedirectURIInput struct + Default *bool + URI string + type RefreshSessionResult struct + Authenticated bool + Reason string + SealedSession string + Session *SessionData + type RefreshTokenSessionAuthenticateRequest struct + ClientID string + ClientSecret string + DeviceID *string + GrantType string + IPAddress *string + OrganizationID *string + RefreshToken string + UserAgent *string + type RequestOption func(*requestConfig) + func WithExtraHeaders(h http.Header) RequestOption + func WithIdempotencyKey(key string) RequestOption + func WithRequestBaseURL(url string) RequestOption + func WithRequestMaxRetries(n int) RequestOption + func WithTimeout(d time.Duration) RequestOption + type ResendUserInviteOptionsLocale = CreateUserInviteOptionsLocale + type ResetPasswordResponse struct + User *User + type Role struct + CreatedAt string + Description *string + ID string + Name string + Object string + Permissions []string + ResourceTypeSlug string + Slug string + Type RoleType + UpdatedAt string + type RoleCreated struct + Context *EventContext + CreatedAt string + Data *RoleCreatedData + Event string + ID string + Object string + type RoleCreatedData struct + CreatedAt string + Object string + Permissions []string + ResourceTypeSlug string + Slug string + UpdatedAt string + type RoleDeleted struct + Context *EventContext + CreatedAt string + Data *RoleDeletedData + Event string + ID string + Object string + type RoleDeletedData = RoleCreatedData + type RoleList struct + Data []*Role + Object string + type RoleType string + const RoleTypeEnvironmentRole + const RoleTypeOrganizationRole + type RoleUpdated struct + Context *EventContext + CreatedAt string + Data *RoleUpdatedData + Event string + ID string + Object string + type RoleUpdatedData = RoleCreatedData + type SSOAuthorizationURLParams struct + ClientID string + CodeChallenge *string + CodeChallengeMethod *string + ConnectionID *string + DomainHint *string + LoginHint *string + OrganizationID *string + Provider *string + RedirectURI string + State *string + type SSOAuthorizeLogoutParams struct + ProfileID string + type SSOAuthorizeURLResponse struct + URL string + type SSOGetAuthorizationURLParams struct + Connection *string + Domain *string + DomainHint *string + LoginHint *string + Nonce *string + Organization *string + Provider *SSOProvider + ProviderQueryParams map[string]string + ProviderScopes []string + RedirectURI string + State *string + type SSOGetLogoutURLParams struct + Token string + type SSOGetProfileAndTokenParams struct + Code string + type SSOIntentOptions struct + BookmarkSlug *string + ProviderType *string + type SSOListConnectionsParams struct + ConnectionType *ConnectionsConnectionType + Domain *string + OrganizationID *string + Search *string + type SSOLogoutAuthorizeResponse struct + LogoutToken string + LogoutURL string + type SSOLogoutParams struct + ReturnTo *string + SessionID string + type SSOPKCEAuthorizationURLResult struct + CodeVerifier string + State string + URL string + type SSOPKCECodeExchangeParams struct + Code string + CodeVerifier string + type SSOProvider string + const SSOProviderAppleOAuth + const SSOProviderBitbucketOAuth + const SSOProviderGitHubOAuth + const SSOProviderGitLabOAuth + const SSOProviderGoogleOAuth + const SSOProviderIntuitOAuth + const SSOProviderLinkedInOAuth + const SSOProviderMicrosoftOAuth + const SSOProviderSalesforceOAuth + const SSOProviderSlackOAuth + const SSOProviderVercelMarketplaceOAuth + const SSOProviderVercelOAuth + const SSOProviderXeroOAuth + type SSORequiredError struct + ConnectionIDs []string + Email string + func (e *SSORequiredError) Error() string + func (e *SSORequiredError) Unwrap() error + type SSOService struct + func (s *SSOService) AuthorizeLogout(ctx context.Context, params *SSOAuthorizeLogoutParams, opts ...RequestOption) (*SSOLogoutAuthorizeResponse, error) + func (s *SSOService) DeleteConnection(ctx context.Context, id string, opts ...RequestOption) error + func (s *SSOService) GetAuthorizationURL(params *SSOGetAuthorizationURLParams, opts ...RequestOption) string + func (s *SSOService) GetConnection(ctx context.Context, id string, opts ...RequestOption) (*Connection, error) + func (s *SSOService) GetLogoutURL(params *SSOGetLogoutURLParams, opts ...RequestOption) string + func (s *SSOService) GetProfile(ctx context.Context, opts ...RequestOption) (*Profile, error) + func (s *SSOService) GetProfileAndToken(ctx context.Context, params *SSOGetProfileAndTokenParams, ...) (*SSOTokenResponse, error) + func (s *SSOService) ListConnections(ctx context.Context, params *SSOListConnectionsParams, opts ...RequestOption) *Iterator[Connection] + type SSOTokenResponse struct + AccessToken string + ExpiresIn int + OAuthTokens *SSOTokenResponseOAuthToken + Profile *Profile + TokenType string + type SSOTokenResponseOAuthToken = AuthenticateResponseOAuthToken + type SendVerificationEmailResponse = ResetPasswordResponse + type ServerError struct + func (e *ServerError) Error() string + func (e *ServerError) Unwrap() error + type Session struct + func NewSession(client *Client, sessionData string, cookiePassword string) *Session + func (s *Session) Authenticate() (*AuthenticateSessionResult, error) + func (s *Session) GetLogoutURL(ctx context.Context, returnTo string, opts ...RequestOption) (string, error) + func (s *Session) Refresh(ctx context.Context, opts ...RequestOption) (*RefreshSessionResult, error) + type SessionCreated struct + Context *EventContext + CreatedAt string + Data *SessionCreatedData + Event string + ID string + Object string + type SessionCreatedData struct + AuthMethod SessionCreatedDataAuthMethod + CreatedAt string + EndedAt *string + ExpiresAt string + ID string + IPAddress *string + Impersonator *SessionCreatedDataImpersonator + Object string + OrganizationID *string + Status SessionCreatedDataStatus + UpdatedAt string + UserAgent *string + UserID string + type SessionCreatedDataAuthMethod string + const SessionCreatedDataAuthMethodCrossAppAuth + const SessionCreatedDataAuthMethodExternalAuth + const SessionCreatedDataAuthMethodImpersonation + const SessionCreatedDataAuthMethodMagicCode + const SessionCreatedDataAuthMethodMigratedSession + const SessionCreatedDataAuthMethodOAuth + const SessionCreatedDataAuthMethodPasskey + const SessionCreatedDataAuthMethodPassword + const SessionCreatedDataAuthMethodSSO + const SessionCreatedDataAuthMethodUnknown + type SessionCreatedDataImpersonator = AuthenticateResponseImpersonator + type SessionCreatedDataStatus string + const SessionCreatedDataStatusActive + const SessionCreatedDataStatusExpired + const SessionCreatedDataStatusRevoked + type SessionData struct + AccessToken string + Impersonator *AuthenticateResponseImpersonator + RefreshToken string + User *User + type SessionRevoked struct + Context *EventContext + CreatedAt string + Data *SessionRevokedData + Event string + ID string + Object string + type SessionRevokedData struct + AuthMethod SessionRevokedDataAuthMethod + CreatedAt string + EndedAt *string + ExpiresAt string + ID string + IPAddress *string + Impersonator *SessionRevokedDataImpersonator + Object string + OrganizationID *string + Status SessionRevokedDataStatus + UpdatedAt string + UserAgent *string + UserID string + type SessionRevokedDataAuthMethod = SessionCreatedDataAuthMethod + type SessionRevokedDataImpersonator = AuthenticateResponseImpersonator + type SessionRevokedDataStatus = SessionCreatedDataStatus + type SlimRole struct + Slug string + type UnprocessableEntityError struct + func (e *UnprocessableEntityError) Error() string + func (e *UnprocessableEntityError) Unwrap() error + type UpdateUserPasswordHashType = CreateUserPasswordHashType + type UpdateWebhookEndpointEvents = CreateWebhookEndpointEvents + type UpdateWebhookEndpointStatus string + const UpdateWebhookEndpointStatusDisabled + const UpdateWebhookEndpointStatusEnabled + type User = EmailChangeConfirmationUser + type UserAPIKey struct + CreatedAt string + ID string + LastUsedAt *string + Name string + ObfuscatedValue string + Object string + Owner *UserAPIKeyOwner + Permissions []string + UpdatedAt string + type UserAPIKeyCreatedDataOwner struct + ID string + OrganizationID string + Type string + type UserAPIKeyOwner = UserAPIKeyCreatedDataOwner + type UserAPIKeyRevokedDataOwner = UserAPIKeyCreatedDataOwner + type UserAPIKeyWithValue struct + CreatedAt string + ID string + LastUsedAt *string + Name string + ObfuscatedValue string + Object string + Owner *UserAPIKeyWithValueOwner + Permissions []string + UpdatedAt string + Value string + type UserAPIKeyWithValueOwner = UserAPIKeyCreatedDataOwner + type UserAuthenticationFactorEnrollResponse struct + AuthenticationChallenge *AuthenticationChallenge + AuthenticationFactor *AuthenticationFactorEnrolled + type UserConsentOption struct + Choices []*UserConsentOptionChoice + Claim string + Label string + Type string + type UserConsentOptionChoice struct + Label *string + Value *string + type UserCreated struct + Context *EventContext + CreatedAt string + Data *User + Event string + ID string + Object string + type UserDeleted struct + Context *EventContext + CreatedAt string + Data *User + Event string + ID string + Object string + type UserIdentitiesGetItem struct + IdpID string + Provider UserIdentitiesGetItemProvider + Type string + type UserIdentitiesGetItemProvider string + const UserIdentitiesGetItemProviderAppleOAuth + const UserIdentitiesGetItemProviderBitbucketOAuth + const UserIdentitiesGetItemProviderDiscordOAuth + const UserIdentitiesGetItemProviderGitLabOAuth + const UserIdentitiesGetItemProviderGithubOAuth + const UserIdentitiesGetItemProviderGoogleOAuth + const UserIdentitiesGetItemProviderIntuitOAuth + const UserIdentitiesGetItemProviderLinkedInOAuth + const UserIdentitiesGetItemProviderMicrosoftOAuth + const UserIdentitiesGetItemProviderSalesforceOAuth + const UserIdentitiesGetItemProviderSlackOAuth + const UserIdentitiesGetItemProviderVercelMarketplaceOAuth + const UserIdentitiesGetItemProviderVercelOAuth + const UserIdentitiesGetItemProviderXeroOAuth + type UserInvite struct + AcceptInvitationURL string + AcceptedAt *string + AcceptedUserID *string + CreatedAt string + Email string + ExpiresAt string + ID string + InviterUserID *string + Object string + OrganizationID *string + RevokedAt *string + RoleSlug *string + State UserInviteState + Token string + UpdatedAt string + type UserInviteState = InvitationAcceptedDataState + type UserManagementAuthenticateWithCodeParams struct + Code string + CodeVerifier *string + DeviceID *string + IPAddress *string + InvitationToken *string + UserAgent *string + type UserManagementAuthenticateWithDeviceCodeParams struct + DeviceCode string + DeviceID *string + IPAddress *string + UserAgent *string + type UserManagementAuthenticateWithEmailVerificationParams struct + Code string + DeviceID *string + IPAddress *string + PendingAuthenticationToken string + UserAgent *string + type UserManagementAuthenticateWithMagicAuthParams struct + Code string + DeviceID *string + Email string + IPAddress *string + InvitationToken *string + UserAgent *string + type UserManagementAuthenticateWithOrganizationSelectionParams struct + DeviceID *string + IPAddress *string + OrganizationID string + PendingAuthenticationToken string + UserAgent *string + type UserManagementAuthenticateWithPasswordParams struct + DeviceID *string + Email string + IPAddress *string + InvitationToken *string + Password string + UserAgent *string + type UserManagementAuthenticateWithRefreshTokenParams struct + DeviceID *string + IPAddress *string + OrganizationID *string + RefreshToken string + UserAgent *string + type UserManagementAuthenticateWithTOTPParams struct + AuthenticationChallengeID string + Code string + DeviceID *string + IPAddress *string + PendingAuthenticationToken string + UserAgent *string + type UserManagementAuthenticationProvider string + const UserManagementAuthenticationProviderAppleOAuth + const UserManagementAuthenticationProviderAuthkit + const UserManagementAuthenticationProviderBitbucketOAuth + const UserManagementAuthenticationProviderGitHubOAuth + const UserManagementAuthenticationProviderGitLabOAuth + const UserManagementAuthenticationProviderGoogleOAuth + const UserManagementAuthenticationProviderIntuitOAuth + const UserManagementAuthenticationProviderLinkedInOAuth + const UserManagementAuthenticationProviderMicrosoftOAuth + const UserManagementAuthenticationProviderSalesforceOAuth + const UserManagementAuthenticationProviderSlackOAuth + const UserManagementAuthenticationProviderVercelMarketplaceOAuth + const UserManagementAuthenticationProviderVercelOAuth + const UserManagementAuthenticationProviderXeroOAuth + type UserManagementAuthenticationScreenHint string + const UserManagementAuthenticationScreenHintSignIn + const UserManagementAuthenticationScreenHintSignUp + type UserManagementConfirmEmailChangeParams struct + Code string + type UserManagementConfirmPasswordResetParams struct + NewPassword string + Token string + type UserManagementCreateAPIKeyParams struct + Name string + OrganizationID string + Permissions []string + type UserManagementCreateCORSOriginParams struct + Origin string + type UserManagementCreateDeviceParams struct + ClientID string + type UserManagementCreateMagicAuthParams struct + Email string + InvitationToken *string + type UserManagementCreateOrganizationMembershipParams struct + OrganizationID string + Role UserManagementRole + UserID string + func (p UserManagementCreateOrganizationMembershipParams) MarshalJSON() ([]byte, error) + type UserManagementCreateParams struct + Email string + EmailVerified *bool + ExternalID *string + FirstName *string + LastName *string + Metadata map[string]string + Password UserManagementPassword + func (p UserManagementCreateParams) MarshalJSON() ([]byte, error) + type UserManagementCreateRedirectURIParams struct + URI string + type UserManagementGetAuthorizationURLParams struct + CodeChallenge *string + CodeChallengeMethod *string + ConnectionID *string + DomainHint *string + InvitationToken *string + LoginHint *string + OrganizationID *string + Prompt *string + Provider *UserManagementAuthenticationProvider + ProviderQueryParams map[string]string + ProviderScopes []string + RedirectURI string + ScreenHint *UserManagementAuthenticationScreenHint + State *string + type UserManagementGetLogoutURLParams struct + ReturnTo *string + SessionID string + type UserManagementListAPIKeysParams struct + OrganizationID *string + type UserManagementListAuthorizedApplicationsParams struct + type UserManagementListInvitationsParams struct + Email *string + OrganizationID *string + type UserManagementListOrganizationMembershipsParams struct + OrganizationID *string + Statuses []UserManagementOrganizationMembershipStatuses + UserID *string + type UserManagementListParams struct + Email *string + Organization *string + OrganizationID *string + type UserManagementListSessionsParams struct + type UserManagementOrganizationMembershipGroupService struct + func (s *UserManagementOrganizationMembershipGroupService) ListOrganizationMembershipGroups(ctx context.Context, omID string, ...) *Iterator[Group] + type UserManagementOrganizationMembershipGroupsListOrganizationMembershipGroupsParams struct + type UserManagementOrganizationMembershipStatuses = OrganizationMembershipCreatedDataStatus + type UserManagementPassword interface + type UserManagementPasswordHashed struct + Hash string + HashType UpdateUserPasswordHashType + type UserManagementPasswordPlaintext struct + Password string + type UserManagementResendInvitationParams struct + Locale *ResendUserInviteOptionsLocale + type UserManagementResetPasswordParams struct + Email string + type UserManagementRevokeSessionParams struct + ReturnTo *string + SessionID string + type UserManagementRole interface + type UserManagementRoleMultiple struct + Slugs []string + type UserManagementRoleSingle struct + Slug string + type UserManagementSendEmailChangeParams struct + NewEmail string + type UserManagementSendInvitationParams struct + Email string + ExpiresInDays *int + InviterUserID *string + Locale *CreateUserInviteOptionsLocale + OrganizationID *string + RoleSlug *string + type UserManagementService struct + func (s *UserManagementService) AcceptInvitation(ctx context.Context, id string, opts ...RequestOption) (*Invitation, error) + func (s *UserManagementService) AuthenticateWithCode(ctx context.Context, params *UserManagementAuthenticateWithCodeParams, ...) (*AuthenticateResponse, error) + func (s *UserManagementService) AuthenticateWithDeviceCode(ctx context.Context, params *UserManagementAuthenticateWithDeviceCodeParams, ...) (*AuthenticateResponse, error) + func (s *UserManagementService) AuthenticateWithEmailVerification(ctx context.Context, ...) (*AuthenticateResponse, error) + func (s *UserManagementService) AuthenticateWithMagicAuth(ctx context.Context, params *UserManagementAuthenticateWithMagicAuthParams, ...) (*AuthenticateResponse, error) + func (s *UserManagementService) AuthenticateWithOrganizationSelection(ctx context.Context, ...) (*AuthenticateResponse, error) + func (s *UserManagementService) AuthenticateWithPassword(ctx context.Context, params *UserManagementAuthenticateWithPasswordParams, ...) (*AuthenticateResponse, error) + func (s *UserManagementService) AuthenticateWithRefreshToken(ctx context.Context, params *UserManagementAuthenticateWithRefreshTokenParams, ...) (*AuthenticateResponse, error) + func (s *UserManagementService) AuthenticateWithTOTP(ctx context.Context, params *UserManagementAuthenticateWithTOTPParams, ...) (*AuthenticateResponse, error) + func (s *UserManagementService) ConfirmEmailChange(ctx context.Context, id string, params *UserManagementConfirmEmailChangeParams, ...) (*EmailChangeConfirmation, error) + func (s *UserManagementService) ConfirmPasswordReset(ctx context.Context, params *UserManagementConfirmPasswordResetParams, ...) (*ResetPasswordResponse, error) + func (s *UserManagementService) Create(ctx context.Context, params *UserManagementCreateParams, opts ...RequestOption) (*User, error) + func (s *UserManagementService) CreateAPIKey(ctx context.Context, userID string, params *UserManagementCreateAPIKeyParams, ...) (*UserAPIKeyWithValue, error) + func (s *UserManagementService) CreateCORSOrigin(ctx context.Context, params *UserManagementCreateCORSOriginParams, ...) (*CORSOriginResponse, error) + func (s *UserManagementService) CreateDevice(ctx context.Context, params *UserManagementCreateDeviceParams, ...) (*DeviceAuthorizationResponse, error) + func (s *UserManagementService) CreateMagicAuth(ctx context.Context, params *UserManagementCreateMagicAuthParams, ...) (*MagicAuth, error) + func (s *UserManagementService) CreateOrganizationMembership(ctx context.Context, params *UserManagementCreateOrganizationMembershipParams, ...) (*OrganizationMembership, error) + func (s *UserManagementService) CreateRedirectURI(ctx context.Context, params *UserManagementCreateRedirectURIParams, ...) (*RedirectURI, error) + func (s *UserManagementService) DeactivateOrganizationMembership(ctx context.Context, id string, opts ...RequestOption) (*OrganizationMembership, error) + func (s *UserManagementService) Delete(ctx context.Context, id string, opts ...RequestOption) error + func (s *UserManagementService) DeleteAuthorizedApplication(ctx context.Context, userID string, applicationID string, ...) error + func (s *UserManagementService) DeleteOrganizationMembership(ctx context.Context, id string, opts ...RequestOption) error + func (s *UserManagementService) FindInvitationByToken(ctx context.Context, token string, opts ...RequestOption) (*UserInvite, error) + func (s *UserManagementService) Get(ctx context.Context, id string, opts ...RequestOption) (*User, error) + func (s *UserManagementService) GetAuthorizationURL(params *UserManagementGetAuthorizationURLParams, opts ...RequestOption) string + func (s *UserManagementService) GetByExternalID(ctx context.Context, externalID string, opts ...RequestOption) (*User, error) + func (s *UserManagementService) GetEmailVerification(ctx context.Context, id string, opts ...RequestOption) (*EmailVerification, error) + func (s *UserManagementService) GetIdentities(ctx context.Context, id string, opts ...RequestOption) ([]UserIdentitiesGetItem, error) + func (s *UserManagementService) GetInvitation(ctx context.Context, id string, opts ...RequestOption) (*UserInvite, error) + func (s *UserManagementService) GetJWKS(ctx context.Context, clientID string, opts ...RequestOption) (*JWKSResponse, error) + func (s *UserManagementService) GetLogoutURL(params *UserManagementGetLogoutURLParams, opts ...RequestOption) string + func (s *UserManagementService) GetMagicAuth(ctx context.Context, id string, opts ...RequestOption) (*MagicAuth, error) + func (s *UserManagementService) GetOrganizationMembership(ctx context.Context, id string, opts ...RequestOption) (*UserOrganizationMembership, error) + func (s *UserManagementService) GetPasswordReset(ctx context.Context, id string, opts ...RequestOption) (*PasswordReset, error) + func (s *UserManagementService) List(ctx context.Context, params *UserManagementListParams, opts ...RequestOption) *Iterator[User] + func (s *UserManagementService) ListAPIKeys(ctx context.Context, userID string, params *UserManagementListAPIKeysParams, ...) *Iterator[UserAPIKey] + func (s *UserManagementService) ListAuthorizedApplications(ctx context.Context, userID string, ...) *Iterator[AuthorizedConnectApplicationListData] + func (s *UserManagementService) ListInvitations(ctx context.Context, params *UserManagementListInvitationsParams, ...) *Iterator[UserInvite] + func (s *UserManagementService) ListJWTTemplate(ctx context.Context, opts ...RequestOption) (*JWTTemplateResponse, error) + func (s *UserManagementService) ListOrganizationMemberships(ctx context.Context, params *UserManagementListOrganizationMembershipsParams, ...) *Iterator[UserOrganizationMembership] + func (s *UserManagementService) ListSessions(ctx context.Context, id string, params *UserManagementListSessionsParams, ...) *Iterator[UserSessionsListItem] + func (s *UserManagementService) ReactivateOrganizationMembership(ctx context.Context, id string, opts ...RequestOption) (*UserOrganizationMembership, error) + func (s *UserManagementService) ResendInvitation(ctx context.Context, id string, params *UserManagementResendInvitationParams, ...) (*UserInvite, error) + func (s *UserManagementService) ResetPassword(ctx context.Context, params *UserManagementResetPasswordParams, ...) (*PasswordReset, error) + func (s *UserManagementService) RevokeInvitation(ctx context.Context, id string, opts ...RequestOption) (*Invitation, error) + func (s *UserManagementService) RevokeSession(ctx context.Context, params *UserManagementRevokeSessionParams, ...) error + func (s *UserManagementService) SendEmailChange(ctx context.Context, id string, params *UserManagementSendEmailChangeParams, ...) (*EmailChange, error) + func (s *UserManagementService) SendInvitation(ctx context.Context, params *UserManagementSendInvitationParams, ...) (*UserInvite, error) + func (s *UserManagementService) SendVerificationEmail(ctx context.Context, id string, opts ...RequestOption) (*SendVerificationEmailResponse, error) + func (s *UserManagementService) Update(ctx context.Context, id string, params *UserManagementUpdateParams, ...) (*User, error) + func (s *UserManagementService) UpdateJWTTemplate(ctx context.Context, params *UserManagementUpdateJWTTemplateParams, ...) (*JWTTemplateResponse, error) + func (s *UserManagementService) UpdateOrganizationMembership(ctx context.Context, id string, ...) (*UserOrganizationMembership, error) + func (s *UserManagementService) VerifyEmail(ctx context.Context, id string, params *UserManagementVerifyEmailParams, ...) (*VerifyEmailResponse, error) + type UserManagementUpdateJWTTemplateParams struct + Content string + type UserManagementUpdateOrganizationMembershipParams struct + Role UserManagementRole + func (p UserManagementUpdateOrganizationMembershipParams) MarshalJSON() ([]byte, error) + type UserManagementUpdateParams struct + Email *string + EmailVerified *bool + ExternalID *string + FirstName *string + LastName *string + Locale *string + Metadata map[string]string + Password UserManagementPassword + func (p UserManagementUpdateParams) MarshalJSON() ([]byte, error) + type UserManagementVerifyEmailParams struct + Code string + type UserObject struct + Email string + FirstName *string + ID string + LastName *string + Metadata map[string]string + type UserOrganizationMembership struct + CreatedAt string + CustomAttributes map[string]interface{} + DirectoryManaged bool + ID string + Object string + OrganizationID string + OrganizationName *string + Role *SlimRole + Status UserOrganizationMembershipStatus + UpdatedAt string + User *User + UserID string + type UserOrganizationMembershipBaseListData struct + CreatedAt string + CustomAttributes map[string]interface{} + DirectoryManaged bool + ID string + Object string + OrganizationID string + OrganizationName *string + Status UserOrganizationMembershipBaseListDataStatus + UpdatedAt string + User *User + UserID string + type UserOrganizationMembershipBaseListDataStatus = OrganizationMembershipCreatedDataStatus + type UserOrganizationMembershipStatus = OrganizationMembershipCreatedDataStatus + type UserRoleAssignment struct + CreatedAt string + ID string + Object string + OrganizationMembershipID string + Resource *UserRoleAssignmentResource + Role *SlimRole + UpdatedAt string + type UserRoleAssignmentResource struct + ExternalID string + ID string + ResourceTypeSlug string + type UserSessionsAuthMethod = SessionCreatedDataAuthMethod + type UserSessionsImpersonator = AuthenticateResponseImpersonator + type UserSessionsListItem struct + AuthMethod UserSessionsAuthMethod + CreatedAt string + EndedAt *string + ExpiresAt string + ID string + IPAddress *string + Impersonator *UserSessionsImpersonator + Object string + OrganizationID *string + Status UserSessionsStatus + UpdatedAt string + UserAgent *string + UserID string + type UserSessionsStatus = SessionCreatedDataStatus + type UserUpdated struct + Context *EventContext + CreatedAt string + Data *User + Event string + ID string + Object string + type VaultByokKeyDeleted struct + Context *EventContext + CreatedAt string + Data *VaultByokKeyDeletedData + Event string + ID string + Object string + type VaultByokKeyDeletedData struct + KeyProvider VaultByokKeyProvider + OrganizationID string + type VaultByokKeyProvider string + const VaultByokKeyProviderAwsKms + const VaultByokKeyProviderAzureKeyVault + const VaultByokKeyProviderGcpKms + type VaultByokKeyVerificationCompleted struct + Context *EventContext + CreatedAt string + Data *VaultByokKeyVerificationCompletedData + Event string + ID string + Object string + type VaultByokKeyVerificationCompletedData struct + KeyProvider VaultByokKeyProvider + OrganizationID string + Verified bool + type VaultCreateDataKeyParams struct + Context KeyContext + type VaultCreateObjectParams struct + Description *string + KeyContext *KeyContext + Name string + Value string + type VaultDataCreated struct + Context *EventContext + CreatedAt string + Data *VaultDataCreatedData + Event string + ID string + Object string + type VaultDataCreatedData struct + ActorID string + ActorName string + ActorSource VaultDataCreatedDataActorSource + KeyContext map[string]string + KeyID string + KvName string + type VaultDataCreatedDataActorSource string + const VaultDataCreatedDataActorSourceAPI + const VaultDataCreatedDataActorSourceDashboard + type VaultDataDeleted struct + Context *EventContext + CreatedAt string + Data *VaultDataDeletedData + Event string + ID string + Object string + type VaultDataDeletedData struct + ActorID string + ActorName string + ActorSource VaultDataDeletedDataActorSource + KvName string + type VaultDataDeletedDataActorSource = VaultDataCreatedDataActorSource + type VaultDataRead struct + Context *EventContext + CreatedAt string + Data *VaultDataReadData + Event string + ID string + Object string + type VaultDataReadData struct + ActorID string + ActorName string + ActorSource VaultDataReadDataActorSource + KeyID string + KvName string + type VaultDataReadDataActorSource = VaultDataCreatedDataActorSource + type VaultDataUpdated struct + Context *EventContext + CreatedAt string + Data *VaultDataUpdatedData + Event string + ID string + Object string + type VaultDataUpdatedData struct + ActorID string + ActorName string + ActorSource VaultDataUpdatedDataActorSource + KeyContext map[string]string + KeyID string + KvName string + type VaultDataUpdatedDataActorSource = VaultDataCreatedDataActorSource + type VaultDecryptDataKeyParams struct + Context KeyContext + EncryptedKeys string + type VaultDekDecrypted struct + Context *EventContext + CreatedAt string + Data *VaultDekDecryptedData + Event string + ID string + Object string + type VaultDekDecryptedData struct + ActorID string + ActorName string + ActorSource VaultDekDecryptedDataActorSource + KeyID string + type VaultDekDecryptedDataActorSource = VaultDataCreatedDataActorSource + type VaultDekRead struct + Context *EventContext + CreatedAt string + Data *VaultDekReadData + Event string + ID string + Object string + type VaultDekReadData struct + ActorID string + ActorName string + ActorSource VaultDekReadDataActorSource + KeyContext map[string]string + KeyIDs []string + type VaultDekReadDataActorSource = VaultDataCreatedDataActorSource + type VaultEncryptResult struct + EncryptedData string + EncryptedKeys string + KeyContext KeyContext + type VaultKekCreated struct + Context *EventContext + CreatedAt string + Data *VaultKekCreatedData + Event string + ID string + Object string + type VaultKekCreatedData struct + ActorID string + ActorName string + ActorSource VaultKekCreatedDataActorSource + KeyID string + KeyName string + type VaultKekCreatedDataActorSource = VaultDataCreatedDataActorSource + type VaultListObjectVersionsResponse struct + Data []VaultObjectVersion + type VaultListObjectsParams struct + IncludeValues *bool + type VaultListObjectsResponse struct + Data []VaultObjectDigest + type VaultMetadataRead struct + Context *EventContext + CreatedAt string + Data *VaultMetadataReadData + Event string + ID string + Object string + type VaultMetadataReadData struct + ActorID string + ActorName string + ActorSource VaultMetadataReadDataActorSource + KvName string + type VaultMetadataReadDataActorSource = VaultDataCreatedDataActorSource + type VaultNamesListed struct + Context *EventContext + CreatedAt string + Data *VaultNamesListedData + Event string + ID string + Object string + type VaultNamesListedData struct + ActorID string + ActorName string + ActorSource VaultNamesListedDataActorSource + type VaultNamesListedDataActorSource = VaultDataCreatedDataActorSource + type VaultObject struct + ID string + Metadata *ObjectMetadata + Name string + Value *string + type VaultObjectDigest struct + EnvironmentID string + ID string + Name string + UpdatedAt string + VersionID *string + type VaultObjectVersion struct + UpdatedAt string + UpdatedBy string + VersionID string + type VaultService struct + func (s *VaultService) CreateDataKey(ctx context.Context, params *VaultCreateDataKeyParams, opts ...RequestOption) (*DataKeyPair, error) + func (s *VaultService) CreateObject(ctx context.Context, params *VaultCreateObjectParams, opts ...RequestOption) (*ObjectMetadata, error) + func (s *VaultService) Decrypt(ctx context.Context, encryptedData string, associatedData string, ...) (string, error) + func (s *VaultService) DecryptDataKey(ctx context.Context, params *VaultDecryptDataKeyParams, opts ...RequestOption) (*DataKey, error) + func (s *VaultService) DeleteObject(ctx context.Context, objectID string, opts ...RequestOption) error + func (s *VaultService) DescribeObject(ctx context.Context, objectID string, opts ...RequestOption) (*VaultObject, error) + func (s *VaultService) Encrypt(ctx context.Context, data string, keyContext KeyContext, associatedData string, ...) (*VaultEncryptResult, error) + func (s *VaultService) ListObjectVersions(ctx context.Context, objectID string, opts ...RequestOption) ([]VaultObjectVersion, error) + func (s *VaultService) ListObjects(ctx context.Context, params *VaultListObjectsParams, opts ...RequestOption) (*VaultListObjectsResponse, error) + func (s *VaultService) ReadObject(ctx context.Context, objectID string, opts ...RequestOption) (*VaultObject, error) + func (s *VaultService) ReadObjectByName(ctx context.Context, name string, opts ...RequestOption) (*VaultObject, error) + func (s *VaultService) UpdateObject(ctx context.Context, objectID string, params *VaultUpdateObjectParams, ...) (*VaultObject, error) + type VaultUpdateObjectParams struct + Description *string + KeyContext *KeyContext + Value string + type VerifyEmailResponse = ResetPasswordResponse + type WaitlistUser struct + ApprovedAt *string + CreatedAt string + Email string + ID string + Object string + State WaitlistUserState + UpdatedAt string + type WaitlistUserApproved struct + Context *EventContext + CreatedAt string + Data *WaitlistUser + Event string + ID string + Object string + type WaitlistUserCreated struct + Context *EventContext + CreatedAt string + Data *WaitlistUser + Event string + ID string + Object string + type WaitlistUserDenied struct + Context *EventContext + CreatedAt string + Data *WaitlistUser + Event string + ID string + Object string + type WaitlistUserState string + const WaitlistUserStateApproved + const WaitlistUserStateDenied + const WaitlistUserStatePending + type WebhookEndpointJSON struct + CreatedAt string + EndpointURL string + Events []string + ID string + Object string + Secret string + Status WebhookEndpointJSONStatus + UpdatedAt string + type WebhookEndpointJSONStatus = UpdateWebhookEndpointStatus + type WebhookService struct + func (s *WebhookService) CreateEndpoint(ctx context.Context, params *WebhooksCreateEndpointParams, ...) (*WebhookEndpointJSON, error) + func (s *WebhookService) DeleteEndpoint(ctx context.Context, id string, opts ...RequestOption) error + func (s *WebhookService) ListEndpoints(ctx context.Context, params *WebhooksListEndpointsParams, ...) *Iterator[WebhookEndpointJSON] + func (s *WebhookService) UpdateEndpoint(ctx context.Context, id string, params *WebhooksUpdateEndpointParams, ...) (*WebhookEndpointJSON, error) + type WebhookVerifier struct + func NewWebhookVerifier(secret string, opts ...WebhookVerifierOption) *WebhookVerifier + func (w *WebhookVerifier) ConstructEvent(sigHeader string, body string) (*EventSchema, error) + func (w *WebhookVerifier) SetTolerance(d time.Duration) + func (w *WebhookVerifier) VerifyPayload(sigHeader string, body string) (string, error) + type WebhookVerifierOption func(*WebhookVerifier) + func WithWebhookTolerance(d time.Duration) WebhookVerifierOption + type WebhooksCreateEndpointParams struct + EndpointURL string + Events []CreateWebhookEndpointEvents + type WebhooksListEndpointsParams struct + type WebhooksUpdateEndpointParams struct + EndpointURL *string + Events []UpdateWebhookEndpointEvents + Status *UpdateWebhookEndpointStatus + type WidgetService struct + func (s *WidgetService) CreateToken(ctx context.Context, params *WidgetsCreateTokenParams, opts ...RequestOption) (*WidgetSessionTokenResponse, error) + type WidgetSessionTokenResponse struct + Token string + type WidgetSessionTokenScopes string + const WidgetSessionTokenScopesWidgetsAPIKeysManage + const WidgetSessionTokenScopesWidgetsAuditLogStreamingManage + const WidgetSessionTokenScopesWidgetsDomainVerificationManage + const WidgetSessionTokenScopesWidgetsDsyncManage + const WidgetSessionTokenScopesWidgetsSSOManage + const WidgetSessionTokenScopesWidgetsUsersTableManage + type WidgetsCreateTokenParams struct + OrganizationID string + Scopes []WidgetSessionTokenScopes + UserID *string Other modules containing this package github.com/workos/workos-go github.com/workos/workos-go/v2 github.com/workos/workos-go/v3 github.com/workos/workos-go/v4 github.com/workos/workos-go/v5 github.com/workos/workos-go/v6 github.com/workos/workos-go/v7