Versions in this module Expand all Collapse all v0 v0.3.0 Jul 19, 2026 Changes in this version + func WithManagedBy(ctx context.Context, by, ref string) context.Context + func WithManagedRelease(ctx context.Context) context.Context type PasswordPolicy + ManagedBy *string + ManagedRef *string type PasswordPolicyService + func (s *PasswordPolicyService) ReleaseManagedMarker(ctx context.Context, orgID string) error type RateLimitConfig + ManagedBy *string + ManagedRef *string type RateLimitService + func (s *RateLimitService) ReleaseManagedMarker(ctx context.Context, orgID string) error v0.2.0 Jul 16, 2026 Changes in this version type APIKey + OrgID string + Permissions []string type AgentToken + Audience *string type CreateAPIKeyParams + OrgID string + Permissions []string type IssueAgentTokenParams + Audience *string type Option + func WithAPIKey(key string) Option v0.1.1 Jun 29, 2026 Changes in this version + func IsConflict(err error) bool + func IsNotFound(err error) bool + func IsRateLimit(err error) bool + func IsUnauthorized(err error) bool + type AIService struct + func (s *AIService) GetConfig(ctx context.Context, orgID string) (map[string]interface{}, error) + func (s *AIService) PutConfig(ctx context.Context, orgID string, cfg map[string]interface{}) (map[string]interface{}, error) + func (s *AIService) Suggest(ctx context.Context, orgID, kind string, body interface{}) (map[string]interface{}, error) + type APIError struct + Body string + StatusCode int + func (e *APIError) Error() string + type APIKey struct + CreatedAt time.Time + ExpiresAt *time.Time + ID string + LastUsedAt *time.Time + Name string + Prefix string + type APIKeyService struct + func (s *APIKeyService) Create(ctx context.Context, p CreateAPIKeyParams) (*CreateAPIKeyResult, error) + func (s *APIKeyService) List(ctx context.Context) ([]APIKey, error) + func (s *APIKeyService) Revoke(ctx context.Context, keyID string) error + type AZAction struct + Name string + Properties map[string]any + type AZContext struct + Country string + IP string + Time string + UserAgent string + type AZResource struct + ID string + Properties map[string]any + Type string + type AZSubject struct + ID string + Properties map[string]any + Type string + type AccessReviewService struct + func (s *AccessReviewService) Create(ctx context.Context, orgID string, p CreateAccessReviewParams) (map[string]interface{}, error) + func (s *AccessReviewService) Delete(ctx context.Context, orgID, campaignID string) error + func (s *AccessReviewService) Get(ctx context.Context, orgID, campaignID string) (map[string]interface{}, error) + func (s *AccessReviewService) Launch(ctx context.Context, orgID, campaignID string) error + func (s *AccessReviewService) List(ctx context.Context, orgID string) ([]map[string]interface{}, error) + func (s *AccessReviewService) ListItems(ctx context.Context, orgID, campaignID string) ([]map[string]interface{}, error) + func (s *AccessReviewService) Report(ctx context.Context, orgID, campaignID string) (map[string]interface{}, error) + type ActionsService struct + func (s *ActionsService) CreateExecution(ctx context.Context, orgID string, p CreateActionExecutionParams) (map[string]interface{}, error) + func (s *ActionsService) DeleteExecution(ctx context.Context, orgID, executionID string) error + func (s *ActionsService) DeleteTarget(ctx context.Context, orgID, targetID string) error + func (s *ActionsService) ListExecutions(ctx context.Context, orgID string) ([]map[string]interface{}, error) + func (s *ActionsService) ListTargets(ctx context.Context, orgID string) ([]map[string]interface{}, error) + func (s *ActionsService) UpdateExecution(ctx context.Context, orgID, executionID string, p CreateActionExecutionParams) (map[string]interface{}, error) + func (s *ActionsService) UpsertTarget(ctx context.Context, orgID, name string, p UpsertActionTargetParams) (map[string]interface{}, error) + type ActiveSession struct + ClientID string + CreatedAt time.Time + DeviceName *string + ExpiresAt time.Time + ID string + IPAddress *string + LastSeenAt *time.Time + OrgID string + Scope string + UserAgent *string + UserID *string + type AgentToken struct + AgentID string + AgentName string + CreatedAt time.Time + ExpiresAt time.Time + ID string + IsRevoked bool + MCPServerID *string + OrgID string + RevokedAt *time.Time + Scope string + UserID string + type AgentTokenService struct + func (s *AgentTokenService) Delete(ctx context.Context, orgID, id string) error + func (s *AgentTokenService) Issue(ctx context.Context, orgID string, p IssueAgentTokenParams) (*IssuedAgentToken, error) + func (s *AgentTokenService) List(ctx context.Context, orgID string) ([]AgentToken, error) + func (s *AgentTokenService) MCPScopes(ctx context.Context, orgID string) ([]map[string]interface{}, error) + type AppFamily struct + CreatedAt time.Time + Description *string + ID string + Members []AppFamilyMember + Name string + OrgID string + UpdatedAt time.Time + type AppFamilyMember struct + BackchannelLogoutURI *string + ClientID string + CreatedAt time.Time + FamilyID string + type AppFamilyParams struct + Description *string + Name string + type AppFamilyService struct + func (s *AppFamilyService) AddMember(ctx context.Context, orgID, familyID, clientID string) error + func (s *AppFamilyService) Create(ctx context.Context, orgID string, p AppFamilyParams) (*AppFamily, error) + func (s *AppFamilyService) Delete(ctx context.Context, orgID, familyID string) error + func (s *AppFamilyService) Get(ctx context.Context, orgID, familyID string) (*AppFamily, error) + func (s *AppFamilyService) List(ctx context.Context, orgID string) ([]AppFamily, error) + func (s *AppFamilyService) RemoveMember(ctx context.Context, orgID, familyID, clientID string) error + func (s *AppFamilyService) Update(ctx context.Context, orgID, familyID string, p AppFamilyParams) (*AppFamily, error) + type AuditListParams struct + EventType string + Limit int + Offset int + UserID string + type AuditLogEntry struct + Action string + ActorEmail *string + ActorID *string + CreatedAt time.Time + ID string + IPAddress *string + Metadata map[string]interface{} + OrgID string + ResourceID *string + type AuditService struct + func (s *AuditService) CreateSink(ctx context.Context, orgID string, p CreateSinkParams) (*AuditSink, error) + func (s *AuditService) DeleteSink(ctx context.Context, orgID, sinkID string) error + func (s *AuditService) Export(ctx context.Context, orgID string, opts ListOptions) ([]byte, error) + func (s *AuditService) List(ctx context.Context, orgID string) ([]AuditLogEntry, error) + func (s *AuditService) ListPage(ctx context.Context, orgID string, opts ListOptions) (*Page[AuditLogEntry], error) + func (s *AuditService) ListSinks(ctx context.Context, orgID string) ([]AuditSink, error) + func (s *AuditService) TestSink(ctx context.Context, orgID, sinkID string) error + func (s *AuditService) UpdateSink(ctx context.Context, orgID, sinkID string, p CreateSinkParams) (*AuditSink, error) + type AuditSink struct + Config map[string]string + CreatedAt time.Time + Events []string + ID string + IsActive bool + OrgID string + Type string + type AuthService struct + func (s *AuthService) Login(ctx context.Context, p LoginParams) (*LoginResponse, error) + func (s *AuthService) SetToken(token string) + type AuthZenService struct + func (s *AuthZenService) BatchEvaluate(ctx context.Context, orgSlug string, reqs []EvaluateRequest) (*BatchEvaluateResponse, error) + func (s *AuthZenService) Evaluate(ctx context.Context, orgSlug string, req EvaluateRequest) (*EvaluateResponse, error) + type BatchEvaluateRequest struct + Evaluations []EvaluateRequest + type BatchEvaluateResponse struct + Evaluations []EvaluateResponse + type BatchVerifyItem struct + Audience string + ID string + Nonce string + PresentationDefinition map[string]interface{} + VPToken string + type BatchVerifyResult struct + Claims map[string]interface{} + Error string + ID string + Verified bool + type Branding struct + BackgroundColor *string + CustomCSS *string + FaviconURL *string + LogoURL *string + OrgID string + PrimaryColor *string + type BrandingService struct + func (s *BrandingService) Get(ctx context.Context, orgID string) (*Branding, error) + func (s *BrandingService) Put(ctx context.Context, orgID string, b Branding) (*Branding, error) + type BreakGlassConfigParams struct + AutoRevokeHours int + MaxUsesPerWeek int + NotificationEmails []string + type CIBADeviceToken struct + CreatedAt time.Time + DeviceToken string + ID string + OrgID string + Platform string + UpdatedAt time.Time + UserID string + type CIBANotificationConfig struct + APNsBundleID *string + APNsKeyID *string + APNsKeySet bool + APNsProduction bool + APNsTeamID *string + BaseURL *string + EmailEnabled bool + FCMServiceAccountSet bool + OrgID string + PushEnabled bool + SMSEnabled bool + WebhookHeaders map[string]string + WebhookSecretSet bool + WebhookURL *string + type CIBARequest struct + ACR string + AuthReqID string + BindingMessage *string + ClientID string + CreatedAt time.Time + ExpiresAt time.Time + Interval int + LoginHint *string + OrgID string + Scope string + Status string + UserID *string + VPClaims map[string]interface{} + type CIBAService struct + func (s *CIBAService) Approve(ctx context.Context, orgID, authReqID string) (string, error) + func (s *CIBAService) DeleteDeviceToken(ctx context.Context, orgID, tokenID string) error + func (s *CIBAService) DeleteNotificationConfig(ctx context.Context, orgID string) error + func (s *CIBAService) Deny(ctx context.Context, orgID, authReqID string) (string, error) + func (s *CIBAService) GetNotificationConfig(ctx context.Context, orgID string) (*CIBANotificationConfig, error) + func (s *CIBAService) ListDeviceTokens(ctx context.Context, orgID, userID string) ([]CIBADeviceToken, error) + func (s *CIBAService) ListPending(ctx context.Context, orgID string) ([]CIBARequest, error) + func (s *CIBAService) PutNotificationConfig(ctx context.Context, orgID string, p UpsertCIBANotificationConfigParams) (*CIBANotificationConfig, error) + func (s *CIBAService) RegisterDeviceToken(ctx context.Context, orgID string, p RegisterDeviceTokenParams) (*CIBADeviceToken, error) + type CaptchaService struct + func (s *CaptchaService) Delete(ctx context.Context, orgID string) error + func (s *CaptchaService) Get(ctx context.Context, orgID string) (*CaptchaSettings, error) + func (s *CaptchaService) Put(ctx context.Context, orgID string, cfg CaptchaSettings) (*CaptchaSettings, error) + type CaptchaSettings struct + IsActive bool + OrgID string + Provider string + SiteKey string + type CheckoutResult struct + Checkout map[string]interface{} + Secret string + Warning string + type CircuitBreakerConfig struct + Threshold int + Timeout time.Duration + type Client struct + AI *AIService + APIKeys *APIKeyService + AccessReviews *AccessReviewService + Actions *ActionsService + AgentTokens *AgentTokenService + AppFamilies *AppFamilyService + AuditLog *AuditService + Auth *AuthService + AuthZen *AuthZenService + Branding *BrandingService + CAPTCHA *CaptchaService + CIBA *CIBAService + ClientScopes *ClientScopeService + Clients *ClientService + Compliance *ComplianceService + CrossOrgTrust *CrossOrgTrustService + DeviceTrust *DeviceTrustService + Elevate *ElevateService + EntityReviews *EntityReviewService + FGA *FGAService + Federation *FederationService + GDPR *GdprService + Groups *GroupService + IdentityProviders *IDPService + Invitations *InvitationService + LDAP *LDAPService + LifecycleRules *LifecycleRuleService + LoginFlows *LoginFlowService + LoginHistory *LoginHistoryService + MFA *MFAService + Mdoc *MdocService + OID4VCI *OID4VCIService + OID4VP *OID4VPService + Organizations *OrgService + PAM *PAMService + PasswordPolicy *PasswordPolicyService + Policies *PolicyService + ProtocolMappers *ProtocolMapperService + RateLimits *RateLimitService + Roles *RoleService + SCIM *SCIMService + SMTP *SMTPService + SSF *SSFService + SamlSPs *SamlSpService + ScimPush *ScimPushService + ServiceAccounts *ServiceAccountService + Sessions *SessionService + Usage *UsageService + Users *UserService + Webhooks *WebhookService + WsfedRPs *WsfedRpService + func New(baseURL string, opts ...Option) (*Client, error) + type ClientScope struct + CreatedAt time.Time + Description *string + ID string + IsDefault bool + Name string + OrgID string + Protocol string + UpdatedAt time.Time + type ClientScopeService struct + func (s *ClientScopeService) AssignToClient(ctx context.Context, orgID, clientID, scopeID string) error + func (s *ClientScopeService) Create(ctx context.Context, orgID string, p CreateClientScopeParams) (*ClientScope, error) + func (s *ClientScopeService) Delete(ctx context.Context, orgID, scopeID string) error + func (s *ClientScopeService) List(ctx context.Context, orgID string) ([]ClientScope, error) + func (s *ClientScopeService) ListByClient(ctx context.Context, orgID, clientID string) ([]ClientScope, error) + func (s *ClientScopeService) UnassignFromClient(ctx context.Context, orgID, clientID, scopeID string) error + func (s *ClientScopeService) Update(ctx context.Context, orgID, scopeID string, p CreateClientScopeParams) (*ClientScope, error) + type ClientService struct + func (s *ClientService) Create(ctx context.Context, orgID string, p CreateClientParams) (*CreateClientResponse, error) + func (s *ClientService) Delete(ctx context.Context, orgID, clientID string) error + func (s *ClientService) Get(ctx context.Context, orgID, clientID string) (*OIDCClient, error) + func (s *ClientService) List(ctx context.Context, orgID string) ([]OIDCClient, error) + func (s *ClientService) RotateSecret(ctx context.Context, orgID, clientID string) (*CreateClientResponse, error) + func (s *ClientService) Update(ctx context.Context, orgID, clientID string, p UpdateClientParams) (*OIDCClient, error) + type ClientUsage struct + ClientID string + ClientName string + Logins int + type ComplianceService struct + func (s *ComplianceService) AuditPack(ctx context.Context, orgID string) (map[string]interface{}, error) + func (s *ComplianceService) CreateProcessingRecord(ctx context.Context, orgID string, p ProcessingRecordParams) (map[string]interface{}, error) + func (s *ComplianceService) DSAR(ctx context.Context, orgID, userID string) (map[string]interface{}, error) + func (s *ComplianceService) DeleteProcessingRecord(ctx context.Context, orgID, recordID string) error + func (s *ComplianceService) GDPRErasure(ctx context.Context, orgID, userID string) error + func (s *ComplianceService) GDPRExport(ctx context.Context, orgID string) (map[string]interface{}, error) + func (s *ComplianceService) GDPRReport(ctx context.Context, orgID string) (map[string]interface{}, error) + func (s *ComplianceService) ListProcessingRecords(ctx context.Context, orgID string) ([]map[string]interface{}, error) + func (s *ComplianceService) NIS2Report(ctx context.Context, orgID string) (map[string]interface{}, error) + func (s *ComplianceService) Score(ctx context.Context, orgID string) (map[string]interface{}, error) + func (s *ComplianceService) ScoreHistory(ctx context.Context, orgID string) ([]map[string]interface{}, error) + func (s *ComplianceService) UpdateProcessingRecord(ctx context.Context, orgID, recordID string, p ProcessingRecordParams) (map[string]interface{}, error) + type CreateAPIKeyParams struct + ExpiresIn int + Name string + type CreateAPIKeyResult struct + APIKey APIKey + Secret string + type CreateAccessRequestParams struct + Justification string + RequestedDuration int + ResourceID string + ResourceName string + ResourceType string + type CreateAccessReviewParams struct + AutoRevoke bool + Description *string + EndsAt string + Frequency string + Name string + ReminderDays []int + StartsAt string + type CreateActionExecutionParams struct + Condition json.RawMessage + EventType string + IsActive *bool + Mode string + Name string + TargetID string + type CreateClientParams struct + ClientID string + GrantTypes []string + IsActive *bool + IsPublic bool + Name string + PostLogoutRedirects []string + RedirectURIs []string + ResponseTypes []string + type CreateClientResponse struct + Client OIDCClient + ClientSecret *string + type CreateClientScopeParams struct + Description string + Name string + Protocol string + type CreateCredentialParams struct + CheckoutDuration int + CredentialType string + Description *string + Name string + RequireAccessRequest bool + RotationIntervalDays *int + Secret string + TargetHost *string + Username *string + type CreateCrossOrgTrustParams struct + AllowedScopes []string + TrustedOrgSlug string + type CreateElevateParams struct + AllowedMethods []string + BearerToken string + Reason string + type CreateEntityReviewParams struct + Description *string + EntityType string + Name string + ReviewerID string + type CreateGroupParams struct + Description string + Name string + type CreateIACARootParams struct + DocTypes []string + Label string + PEM string + type CreateIDPParams struct + AllowJIT bool + Config map[string]string + Enabled *bool + Name string + RoleClaimMappings map[string]string + RolesClaim string + Type string + type CreateInvitationParams struct + Email string + RoleIDs []string + type CreateIssuerParams struct + DSCertificatePEM string + DSPrivateKeyPEM string + DisplayName string + DocType string + IACACertificatePEM *string + ValidityHours int + type CreateLDAPParams struct + BindDN string + BindPassword string + EmailAttribute string + Host string + Name string + Port int + SyncEnabled bool + UIDAttribute string + UseTLS bool + UserObjectClass string + UsersDN string + Vendor string + type CreateLoginFlowParams struct + Description *string + IsDefault bool + Name string + type CreateOrgParams struct + LogoURL *string + Name string + Slug string + type CreatePolicyRuleParams struct + Action string + Conditions PolicyConditions + Name string + Priority int + type CreateProtocolMapperParams struct + Config map[string]string + MapperType string + Name string + Protocol string + type CreateRoleParams struct + Description string + Name string + type CreateSSFStreamParams struct + DeliveryMethod string + Description string + EndpointURL string + EventTypes []string + type CreateSamlSpParams struct + ACSURL string + EntityID string + MetadataXML *string + Name string + NameIDFormat string + SLOURL *string + type CreateScimPushParams struct + BearerToken string + EnabledEvents []string + EndpointURL string + Name string + type CreateServiceAccountParams struct + Description *string + Name string + Scopes []string + type CreateSinkParams struct + Config map[string]string + Events []string + Type string + type CreateTokenResult struct + SCIMToken SCIMToken + Token string + type CreateUserParams struct + Attributes map[string]string + Email string + FirstName string + GroupIDs []string + IsActive *bool + LastName string + Password string + RoleIDs []string + Username string + type CreateVCIConfigParams struct + Category string + ClaimsMapping map[string]interface{} + Description *string + DisplayName string + SchemaFields []VCISchemaField + TTLSeconds int + VCT string + type CreateVCIOfferParams struct + Payload map[string]interface{} + TTLMins int + TxCode *string + UserID *string + VCT string + type CreateVCIOfferResponse struct + CredentialOffer map[string]interface{} + CredentialOfferURI string + ExpiresAt time.Time + OfferID string + type CreateWebhookParams struct + Events []string + IsActive *bool + Secret string + URL string + type CrossOrgTrust struct + AllowedScopes []string + CreatedAt time.Time + ID string + OrgID string + TrustedOrgID string + TrustedOrgSlug string + type CrossOrgTrustService struct + func (s *CrossOrgTrustService) Create(ctx context.Context, orgID string, p CreateCrossOrgTrustParams) (*CrossOrgTrust, error) + func (s *CrossOrgTrustService) List(ctx context.Context, orgID string) ([]CrossOrgTrust, error) + func (s *CrossOrgTrustService) ListInbound(ctx context.Context, orgID string) ([]CrossOrgTrust, error) + func (s *CrossOrgTrustService) Revoke(ctx context.Context, orgID, trustID string) error + type DeviceTrustService struct + func (s *DeviceTrustService) List(ctx context.Context, orgID, userID string) ([]TrustedDevice, error) + func (s *DeviceTrustService) Revoke(ctx context.Context, orgID, userID, deviceID string) error + func (s *DeviceTrustService) RevokeAll(ctx context.Context, orgID, userID string) error + type ElevateService struct + func (s *ElevateService) Create(ctx context.Context, orgID string, p CreateElevateParams) (map[string]interface{}, error) + func (s *ElevateService) Get(ctx context.Context, orgID, challengeID string) (map[string]interface{}, error) + func (s *ElevateService) Verify(ctx context.Context, orgID, challengeID string, p VerifyElevateParams) (map[string]interface{}, error) + func (s *ElevateService) WebAuthnBegin(ctx context.Context, orgID, challengeID string) (map[string]interface{}, error) + type EntityReviewService struct + func (s *EntityReviewService) Activate(ctx context.Context, orgID, campaignID, reviewerID string) (map[string]interface{}, error) + func (s *EntityReviewService) Create(ctx context.Context, orgID string, p CreateEntityReviewParams) (map[string]interface{}, error) + func (s *EntityReviewService) Delete(ctx context.Context, orgID, campaignID string) error + func (s *EntityReviewService) Get(ctx context.Context, orgID, campaignID string) (map[string]interface{}, error) + func (s *EntityReviewService) List(ctx context.Context, orgID string) ([]map[string]interface{}, error) + func (s *EntityReviewService) ListItems(ctx context.Context, orgID, campaignID string) ([]map[string]interface{}, error) + type ErrCircuitOpen struct + func (ErrCircuitOpen) Error() string + type EvaluateRequest struct + Action AZAction + Context AZContext + Resource AZResource + Subject AZSubject + type EvaluateResponse struct + Context map[string]any + Decision bool + type FGAReadParams struct + ContinuationToken string + Object string + PageSize int + Relation string + User string + type FGAReadResult struct + ContinuationToken string + Tuples []FGATuple + type FGAService struct + func (s *FGAService) Check(ctx context.Context, orgID string, t FGATuple) (bool, error) + func (s *FGAService) GetModel(ctx context.Context, orgID string) (json.RawMessage, error) + func (s *FGAService) GetStore(ctx context.Context, orgID string) (*FGAStoreInfo, error) + func (s *FGAService) GetTemplate(ctx context.Context, orgID, templateID string) (*FGATemplate, error) + func (s *FGAService) ImportTemplate(ctx context.Context, orgID, templateID string) (string, error) + func (s *FGAService) InitStore(ctx context.Context, orgID string) (*FGAStoreInfo, error) + func (s *FGAService) ListTemplates(ctx context.Context, orgID string) ([]FGATemplate, error) + func (s *FGAService) Read(ctx context.Context, orgID string, p FGAReadParams) (*FGAReadResult, error) + func (s *FGAService) Write(ctx context.Context, orgID string, writes, deletes []FGATuple) error + func (s *FGAService) WriteModel(ctx context.Context, orgID string, model json.RawMessage) (string, error) + type FGAStoreInfo struct + CreatedAt *string + Message string + ModelID *string + StoreID string + UpdatedAt *string + type FGATemplate struct + Description string + ID string + Model json.RawMessage + Name string + UseCases []string + type FGATuple struct + Object string + Relation string + User string + type FederationService struct + func (s *FederationService) GetSubordinate(ctx context.Context, orgID, entityID string) (*FederationSubordinate, error) + func (s *FederationService) ListSubordinates(ctx context.Context, orgID, status string) ([]FederationSubordinate, error) + func (s *FederationService) ListTrustMarkTypes(ctx context.Context, orgID string) ([]TrustMarkType, error) + func (s *FederationService) RegisterSubordinate(ctx context.Context, orgID string, p RegisterSubordinateParams) (*FederationSubordinate, error) + func (s *FederationService) RevokeSubordinate(ctx context.Context, orgID, entityID string) error + func (s *FederationService) RevokeTrustMark(ctx context.Context, orgID string, p RevokeTrustMarkParams) error + func (s *FederationService) UpdateSubordinate(ctx context.Context, orgID, entityID string, p RegisterSubordinateParams) (*FederationSubordinate, error) + func (s *FederationService) UpsertTrustMarkType(ctx context.Context, orgID string, p UpsertTrustMarkTypeParams) (*TrustMarkType, error) + type FederationSubordinate struct + CreatedAt time.Time + EntityID string + EntityTypes []string + ID string + Name string + StatementLifetimeSeconds int + Status string + TrustMarkIDs []string + UpdatedAt time.Time + type FlowStep struct + Config json.RawMessage + FlowID string + ID string + IsActive bool + OrgID string + Position int + StepType string + type GdprService struct + func (s *GdprService) DeleteRetentionPolicy(ctx context.Context, orgID string) error + func (s *GdprService) GetRetentionPolicy(ctx context.Context, orgID string) (map[string]interface{}, error) + func (s *GdprService) PutRetentionPolicy(ctx context.Context, orgID string, p RetentionPolicyParams) (map[string]interface{}, error) + type GenerateIssuerParams struct + DisplayName string + DocType string + type GenerateIssuerResponse struct + DSCertificate string + IACACertificate string + Issuer MdocIssuer + type Group struct + CreatedAt time.Time + ID string + Name string + OrgID string + type GroupService struct + func (s *GroupService) AddMember(ctx context.Context, orgID, groupID, userID string) error + func (s *GroupService) AssignRole(ctx context.Context, orgID, groupID, roleID string) error + func (s *GroupService) Create(ctx context.Context, orgID string, p CreateGroupParams) (*Group, error) + func (s *GroupService) Delete(ctx context.Context, orgID, groupID string) error + func (s *GroupService) Get(ctx context.Context, orgID, groupID string) (*Group, error) + func (s *GroupService) List(ctx context.Context, orgID string) ([]Group, error) + func (s *GroupService) ListMembers(ctx context.Context, orgID, groupID string) ([]User, error) + func (s *GroupService) ListRoles(ctx context.Context, orgID, groupID string) ([]Role, error) + func (s *GroupService) RemoveMember(ctx context.Context, orgID, groupID, userID string) error + func (s *GroupService) RemoveRole(ctx context.Context, orgID, groupID, roleID string) error + type HourRange struct + From int + To int + type IACARoot struct + CreatedAt time.Time + DocTypes []string + ID string + IsActive bool + Label string + OrgID string + PEM string + SHA256Fingerprint string + SubjectDN string + type IDPService struct + func (s *IDPService) Create(ctx context.Context, orgID string, p CreateIDPParams) (*IdentityProvider, error) + func (s *IDPService) Delete(ctx context.Context, orgID, idpID string) error + func (s *IDPService) Get(ctx context.Context, orgID, idpID string) (*IdentityProvider, error) + func (s *IDPService) List(ctx context.Context, orgID string) ([]IdentityProvider, error) + func (s *IDPService) Update(ctx context.Context, orgID, idpID string, p CreateIDPParams) (*IdentityProvider, error) + type IdentityProvider struct + AllowJIT bool + AuthorizationURL string + ClientID string + CreatedAt time.Time + EmailClaim string + FirstNameClaim string + ID string + IsActive bool + LastNameClaim string + Name string + OrgID string + ProviderType string + RoleClaimMappings map[string]string + RolesClaim *string + Scopes string + TokenURL string + UpdatedAt time.Time + UserinfoURL *string + type ImportUsersParams struct + SkipExisting bool + Users []CreateUserParams + type Invitation struct + CreatedAt time.Time + Email string + ExpiresAt time.Time + ID string + OrgID string + RoleIDs []string + type InvitationService struct + func (s *InvitationService) Create(ctx context.Context, orgID string, p CreateInvitationParams) (*Invitation, error) + func (s *InvitationService) Delete(ctx context.Context, orgID, inviteID string) error + func (s *InvitationService) List(ctx context.Context, orgID string) ([]Invitation, error) + type IssueAgentTokenParams struct + AgentID string + AgentName string + MCPServerID *string + Scope string + TTLSeconds int + UserID string + type IssuedAgentToken struct + ExpiresAt string + Token string + TokenID string + type LDAPConnection struct + BaseDN string + BindDN *string + CreatedAt time.Time + Host string + ID string + IsActive bool + LastSyncAt *time.Time + Name string + OrgID string + Port int + UseTLS bool + UserFilter string + type LDAPService struct + func (s *LDAPService) Create(ctx context.Context, orgID string, p CreateLDAPParams) (*LDAPConnection, error) + func (s *LDAPService) Delete(ctx context.Context, orgID, ldapID string) error + func (s *LDAPService) Get(ctx context.Context, orgID, ldapID string) (*LDAPConnection, error) + func (s *LDAPService) List(ctx context.Context, orgID string) ([]LDAPConnection, error) + func (s *LDAPService) Sync(ctx context.Context, orgID, ldapID string) error + func (s *LDAPService) TestConnection(ctx context.Context, orgID, ldapID string) (*TestConnectionResult, error) + func (s *LDAPService) Update(ctx context.Context, orgID, ldapID string, p CreateLDAPParams) (*LDAPConnection, error) + type LifecycleRule struct + Actions json.RawMessage + Conditions json.RawMessage + CreatedAt time.Time + Description *string + ID string + IsActive bool + Name string + OrgID string + Priority int + Trigger string + UpdatedAt time.Time + type LifecycleRuleParams struct + Actions json.RawMessage + Conditions json.RawMessage + Description *string + IsActive *bool + Name string + Priority int + Trigger string + type LifecycleRuleService struct + func (s *LifecycleRuleService) Create(ctx context.Context, orgID string, p LifecycleRuleParams) (*LifecycleRule, error) + func (s *LifecycleRuleService) Delete(ctx context.Context, orgID, ruleID string) error + func (s *LifecycleRuleService) Get(ctx context.Context, orgID, ruleID string) (*LifecycleRule, error) + func (s *LifecycleRuleService) List(ctx context.Context, orgID string) ([]LifecycleRule, error) + func (s *LifecycleRuleService) Update(ctx context.Context, orgID, ruleID string, p LifecycleRuleParams) (*LifecycleRule, error) + type ListOptions struct + Cursor string + Limit int + Page int + PerPage int + type LoginFlow struct + CreatedAt time.Time + Description *string + ID string + IsActive bool + IsDefault bool + Name string + OrgID string + Steps []FlowStep + UpdatedAt time.Time + type LoginFlowService struct + func (s *LoginFlowService) AssignClient(ctx context.Context, orgID, flowID, clientID string) error + func (s *LoginFlowService) Create(ctx context.Context, orgID string, p CreateLoginFlowParams) (*LoginFlow, error) + func (s *LoginFlowService) Delete(ctx context.Context, orgID, flowID string) error + func (s *LoginFlowService) Get(ctx context.Context, orgID, flowID string) (*LoginFlow, error) + func (s *LoginFlowService) List(ctx context.Context, orgID string) ([]LoginFlow, error) + func (s *LoginFlowService) ListClients(ctx context.Context, orgID, flowID string) ([]string, error) + func (s *LoginFlowService) ReplaceSteps(ctx context.Context, orgID, flowID string, steps []LoginFlowStep) ([]FlowStep, error) + func (s *LoginFlowService) UnassignClient(ctx context.Context, orgID, flowID, clientID string) error + func (s *LoginFlowService) Update(ctx context.Context, orgID, flowID string, p UpdateLoginFlowParams) (*LoginFlow, error) + type LoginFlowStep struct + Config map[string]interface{} + IsActive *bool + Position int + StepType string + type LoginHistoryEntry struct + ClientID string + Country *string + CreatedAt time.Time + Email string + FailReason *string + ID string + IPAddress *string + Method string + OrgID string + Success bool + UserAgent *string + UserID *string + type LoginHistoryService struct + func (s *LoginHistoryService) ListByOrg(ctx context.Context, orgID string, opts ListOptions) (*Page[LoginHistoryEntry], error) + func (s *LoginHistoryService) ListByUser(ctx context.Context, orgID, userID string, opts ListOptions) (*Page[LoginHistoryEntry], error) + type LoginParams struct + Email string + OrgSlug string + Password string + type LoginResponse struct + ExpiresIn int + IsSuperAdmin bool + OrgID string + OrgSlug string + Token string + type MFACredential struct + CreatedAt time.Time + ID string + IsPrimary bool + Name string + Type string + UserID string + type MFAService struct + func (s *MFAService) Delete(ctx context.Context, orgID, userID, credID string) error + func (s *MFAService) List(ctx context.Context, orgID, userID string) ([]MFACredential, error) + type MdocIssuer struct + CreatedAt time.Time + DSCertificatePEM string + DisplayName string + DocType string + IACACertificatePEM *string + ID string + IsActive bool + OrgID string + UpdatedAt time.Time + ValidityHours int + type MdocService struct + func (s *MdocService) CreateIACARoot(ctx context.Context, orgID string, p CreateIACARootParams) (*IACARoot, error) + func (s *MdocService) CreateIssuer(ctx context.Context, orgID string, p CreateIssuerParams) (*MdocIssuer, error) + func (s *MdocService) DeleteIACARoot(ctx context.Context, orgID, rootID string) error + func (s *MdocService) DeleteIssuer(ctx context.Context, orgID, issuerID string) error + func (s *MdocService) GenerateIssuer(ctx context.Context, orgID string, p GenerateIssuerParams) (*GenerateIssuerResponse, error) + func (s *MdocService) GetSession(ctx context.Context, orgID, sessionID string) (map[string]interface{}, error) + func (s *MdocService) ListIACARoots(ctx context.Context, orgID string) ([]IACARoot, error) + func (s *MdocService) ListIssuers(ctx context.Context, orgID string) ([]MdocIssuer, error) + func (s *MdocService) ListSessions(ctx context.Context, orgID string) ([]map[string]interface{}, error) + type MockCall struct + Body []byte + Method string + Path string + type MockServer struct + func NewMockServer() *MockServer + func (ms *MockServer) Calls() []MockCall + func (ms *MockServer) CallsFor(method, path string) []MockCall + func (ms *MockServer) Close() + func (ms *MockServer) HandleFunc(method, pattern string, fn func(http.ResponseWriter, *http.Request)) + func (ms *MockServer) Reset() + func (ms *MockServer) Respond(method, path string, statusCode int, body any) + func (ms *MockServer) RespondError(method, path string, statusCode int, message string) + func (ms *MockServer) ServeHTTP(w http.ResponseWriter, r *http.Request) + func (ms *MockServer) URL() string + type OID4VCIService struct + func (s *OID4VCIService) AnalyticsSummary(ctx context.Context, orgID string) (map[string]interface{}, error) + func (s *OID4VCIService) ApproveDeferred(ctx context.Context, orgID, txnID string) error + func (s *OID4VCIService) Catalog(ctx context.Context, orgID string) (map[string]interface{}, error) + func (s *OID4VCIService) CreateConfig(ctx context.Context, orgID string, p CreateVCIConfigParams) (*VCICredentialConfig, error) + func (s *OID4VCIService) CreateOffer(ctx context.Context, orgID string, p CreateVCIOfferParams) (*CreateVCIOfferResponse, error) + func (s *OID4VCIService) DeleteConfig(ctx context.Context, orgID, configID string) error + func (s *OID4VCIService) ListConfigs(ctx context.Context, orgID string) ([]VCICredentialConfig, error) + func (s *OID4VCIService) ListDeferred(ctx context.Context, orgID string) ([]map[string]interface{}, error) + func (s *OID4VCIService) ListIssued(ctx context.Context, orgID string) ([]VCIIssuedCredential, error) + func (s *OID4VCIService) ListOffers(ctx context.Context, orgID string) ([]VCIOffer, error) + func (s *OID4VCIService) PatchConfig(ctx context.Context, orgID, configID string, p PatchVCIConfigParams) (*VCICredentialConfig, error) + func (s *OID4VCIService) RestoreIssued(ctx context.Context, orgID, credID string) error + func (s *OID4VCIService) RevokeIssued(ctx context.Context, orgID, credID, reason string) error + func (s *OID4VCIService) SeedCatalog(ctx context.Context, orgID, variant string) error + func (s *OID4VCIService) SendOffer(ctx context.Context, orgID, offerID string, p SendVCIOfferParams) (map[string]interface{}, error) + type OID4VPService struct + func (s *OID4VPService) BatchVerify(ctx context.Context, orgID string, items []BatchVerifyItem) ([]BatchVerifyResult, error) + func (s *OID4VPService) GetSession(ctx context.Context, orgID, sessionID string) (*VPSession, error) + func (s *OID4VPService) ListSessions(ctx context.Context, orgID string) ([]VPSession, error) + type OIDCClient struct + ClientID string + CreatedAt time.Time + GrantTypes []string + IsActive bool + IsPublic bool + LogoURL *string + Name string + OrgID string + PostLogoutRedirectURIs []string + RedirectURIs []string + UpdatedAt time.Time + type Option func(*Client) + func WithCircuitBreaker(cfg CircuitBreakerConfig) Option + func WithCredentials(orgSlug, email, password string) Option + func WithHTTPClient(hc *http.Client) Option + func WithRetry(p RetryPolicy) Option + func WithToken(token string) Option + type OrgService struct + func (s *OrgService) Create(ctx context.Context, p CreateOrgParams) (*Organization, error) + func (s *OrgService) Delete(ctx context.Context, orgID string) error + func (s *OrgService) Get(ctx context.Context, orgID string) (*Organization, error) + func (s *OrgService) List(ctx context.Context) ([]Organization, error) + func (s *OrgService) Update(ctx context.Context, orgID string, p UpdateOrgParams) (*Organization, error) + type OrgUsage struct + DAU int + FailedLogins int + LoginsByMethod map[string]int + MAU int + NewUsers int + OrgID string + SuccessLogins int + TopClients []ClientUsage + TotalLogins int + WindowEnd time.Time + WindowStart time.Time + type Organization struct + CreatedAt time.Time + ID string + IsActive bool + LogoURL *string + MFARequired bool + Name string + Settings map[string]string + Slug string + UpdatedAt time.Time + type PAMCredential struct + CheckoutDuration int + CreatedAt time.Time + CredentialType string + Description *string + ID string + IsActive bool + LastRotatedAt *time.Time + Name string + OrgID string + RequireAccessRequest bool + RotationIntervalDays *int + TargetHost *string + UpdatedAt time.Time + Username *string + type PAMListResult struct + Data []map[string]interface{} + Page int + PerPage int + Total int + type PAMPage struct + Page int + PerPage int + type PAMService struct + func (s *PAMService) AddSessionEvent(ctx context.Context, orgID, sessionID, eventType string, ...) (map[string]interface{}, error) + func (s *PAMService) ApproveAccessRequest(ctx context.Context, orgID, reqID, note string) (map[string]interface{}, error) + func (s *PAMService) BreakGlass(ctx context.Context, orgID string, p CreateAccessRequestParams) (map[string]interface{}, error) + func (s *PAMService) Checkout(ctx context.Context, orgID, credID, accessRequestID, reason string) (*CheckoutResult, error) + func (s *PAMService) CreateAccessRequest(ctx context.Context, orgID string, p CreateAccessRequestParams) (map[string]interface{}, error) + func (s *PAMService) CreateCredential(ctx context.Context, orgID string, p CreateCredentialParams) (*PAMCredential, error) + func (s *PAMService) DeleteCredential(ctx context.Context, orgID, credID string) error + func (s *PAMService) DeleteSSHCA(ctx context.Context, orgID string) error + func (s *PAMService) DenyAccessRequest(ctx context.Context, orgID, reqID, note string) (map[string]interface{}, error) + func (s *PAMService) EndSession(ctx context.Context, orgID, sessionID string) error + func (s *PAMService) GetAccessRequest(ctx context.Context, orgID, reqID string) (map[string]interface{}, error) + func (s *PAMService) GetBreakGlassConfig(ctx context.Context, orgID string) (map[string]interface{}, error) + func (s *PAMService) GetCAPublicKey(ctx context.Context, orgID string) (string, error) + func (s *PAMService) GetSSHCA(ctx context.Context, orgID string) (map[string]interface{}, error) + func (s *PAMService) GetSession(ctx context.Context, orgID, sessionID string) (map[string]interface{}, error) + func (s *PAMService) ListAccessRequests(ctx context.Context, orgID, status string, page PAMPage) (*PAMListResult, error) + func (s *PAMService) ListCredentials(ctx context.Context, orgID string) ([]PAMCredential, error) + func (s *PAMService) ListRotationLog(ctx context.Context, orgID, credID string) ([]map[string]interface{}, error) + func (s *PAMService) ListSessionEvents(ctx context.Context, orgID, sessionID string) ([]map[string]interface{}, error) + func (s *PAMService) ListSessions(ctx context.Context, orgID string, page PAMPage) (*PAMListResult, error) + func (s *PAMService) PutBreakGlassConfig(ctx context.Context, orgID string, p BreakGlassConfigParams) error + func (s *PAMService) ReturnCheckout(ctx context.Context, orgID, credID, checkoutID string) error + func (s *PAMService) RevokeAccessRequest(ctx context.Context, orgID, reqID, reason string) (map[string]interface{}, error) + func (s *PAMService) SignSSHKey(ctx context.Context, orgID, publicKey, validPrincipals, accessRequestID string) (*SignSSHKeyResult, error) + func (s *PAMService) StartSession(ctx context.Context, orgID string, p StartSessionParams) (map[string]interface{}, error) + func (s *PAMService) UpdateCredential(ctx context.Context, orgID, credID string, p UpdateCredentialParams) error + func (s *PAMService) UpsertSSHCA(ctx context.Context, orgID string, p SSHCAParams) error + type Page struct + HasMore bool + Items []T + NextCursor string + PrevCursor string + Total int + type PasswordPolicy struct + HistoryCount int + MaxAgeDays int + MinLength int + OrgID string + RequireLower bool + RequireNumber bool + RequireSpecial bool + RequireUpper bool + type PasswordPolicyService struct + func (s *PasswordPolicyService) Get(ctx context.Context, orgID string) (*PasswordPolicy, error) + func (s *PasswordPolicyService) Put(ctx context.Context, orgID string, p PasswordPolicy) (*PasswordPolicy, error) + type PatchVCIConfigParams struct + ClaimsMapping map[string]interface{} + PreIssuanceWebhookSecret *string + PreIssuanceWebhookURL *string + PresentationDefinitionVPR map[string]interface{} + RequireKeyAttestation *bool + RequireVP *bool + SelectiveDisclosure *bool + SourceIdpType *string + type PolicyConditions struct + ClientIDs []string + Countries []string + DaysOfWeek []string + HourRange *HourRange + IPCIDRs []string + LastLoginBefore string + MFAEnrolled *bool + NewCountry *bool + NotCountries []string + type PolicyOutcome struct + Action string + MFAForced bool + Reason string + RuleName string + type PolicyRule struct + Action string + Conditions PolicyConditions + CreatedAt time.Time + Enabled bool + ID string + Name string + OrgID string + Priority int + UpdatedAt time.Time + type PolicyService struct + func (s *PolicyService) Create(ctx context.Context, orgID string, p CreatePolicyRuleParams) (*PolicyRule, error) + func (s *PolicyService) Delete(ctx context.Context, orgID, ruleID string) error + func (s *PolicyService) List(ctx context.Context, orgID string) ([]PolicyRule, error) + func (s *PolicyService) Simulate(ctx context.Context, orgID string, p SimulateParams) (*SimulateResult, error) + func (s *PolicyService) Update(ctx context.Context, orgID, ruleID string, p UpdatePolicyRuleParams) (*PolicyRule, error) + type PostureRecommendation struct + Code string + Detail string + Severity string + Title string + type ProcessingRecordParams struct + ActivityName string + DataCategories []string + DataSubjects string + LegalBasis string + Processors interface{} + Purpose string + Recipients interface{} + RetentionPeriod string + type ProtocolMapper struct + ClientID string + Config map[string]interface{} + CreatedAt time.Time + ID string + MapperType string + Name string + Protocol string + UpdatedAt time.Time + type ProtocolMapperService struct + func (s *ProtocolMapperService) Create(ctx context.Context, orgID, clientID string, p CreateProtocolMapperParams) (*ProtocolMapper, error) + func (s *ProtocolMapperService) Delete(ctx context.Context, orgID, clientID, mapperID string) error + func (s *ProtocolMapperService) List(ctx context.Context, orgID, clientID string) ([]ProtocolMapper, error) + func (s *ProtocolMapperService) Update(ctx context.Context, orgID, clientID, mapperID string, ...) (*ProtocolMapper, error) + type RateLimitConfig struct + IPMaxAttemptsPerMinute int + LockoutDurationSeconds int + MaxAttemptsPerMinute int + OrgID string + type RateLimitService struct + func (s *RateLimitService) Get(ctx context.Context, orgID string) (*RateLimitConfig, error) + func (s *RateLimitService) Update(ctx context.Context, orgID string, cfg RateLimitConfig) (*RateLimitConfig, error) + type RegisterDeviceTokenParams struct + DeviceToken string + Platform string + UserID string + type RegisterSubordinateParams struct + EntityID string + EntityTypes []string + JWKS map[string]interface{} + JWKSURI string + MetadataOverride map[string]interface{} + MetadataPolicy map[string]interface{} + Name string + StatementLifetimeSeconds int + Status string + TrustMarkIDs []string + type RetentionPolicyParams struct + ActivityField string + Enabled bool + ExemptRoleNames []string + RetentionDays int + type RetryPolicy struct + BaseDelay time.Duration + MaxAttempts int + MaxDelay time.Duration + RetryOn []int + type RevokeTrustMarkParams struct + Reason string + Sub string + TrustMarkID string + type Role struct + CreatedAt time.Time + Description *string + ID string + IsSystem bool + Name string + OrgID string + type RoleService struct + func (s *RoleService) AddChild(ctx context.Context, orgID, roleID, childID string) error + func (s *RoleService) AssignToUser(ctx context.Context, orgID, roleID, userID string) error + func (s *RoleService) Create(ctx context.Context, orgID string, p CreateRoleParams) (*Role, error) + func (s *RoleService) Delete(ctx context.Context, orgID, roleID string) error + func (s *RoleService) List(ctx context.Context, orgID string) ([]Role, error) + func (s *RoleService) ListChildren(ctx context.Context, orgID, roleID string) ([]Role, error) + func (s *RoleService) RemoveChild(ctx context.Context, orgID, roleID, childID string) error + func (s *RoleService) UnassignFromUser(ctx context.Context, orgID, roleID, userID string) error + type SCIMService struct + func (s *SCIMService) CreateToken(ctx context.Context, orgID string) (*CreateTokenResult, error) + func (s *SCIMService) DeleteToken(ctx context.Context, orgID, tokenID string) error + func (s *SCIMService) ListTokens(ctx context.Context, orgID string) ([]SCIMToken, error) + type SCIMToken struct + CreatedAt time.Time + ID string + Name string + OrgID string + type SMTPConfig struct + FromAddr string + FromName string + Host string + OrgID string + Port int + UseTLS bool + Username string + type SMTPService struct + func (s *SMTPService) Get(ctx context.Context, orgID string) (*SMTPConfig, error) + func (s *SMTPService) Put(ctx context.Context, orgID string, cfg SMTPConfig) (*SMTPConfig, error) + func (s *SMTPService) Test(ctx context.Context, orgID string) (*SMTPTestResult, error) + type SMTPTestResult struct + Message string + Success bool + type SSFPendingEvent struct + CreatedAt time.Time + EventType string + ExpiresAt time.Time + JTI string + Payload string + type SSFService struct + func (s *SSFService) Acknowledge(ctx context.Context, orgID, streamID string, jtis []string) error + func (s *SSFService) Create(ctx context.Context, orgID string, p CreateSSFStreamParams) (*SSFStream, error) + func (s *SSFService) Delete(ctx context.Context, orgID, streamID string) error + func (s *SSFService) Get(ctx context.Context, orgID, streamID string) (*SSFStream, error) + func (s *SSFService) List(ctx context.Context, orgID string) ([]SSFStream, error) + func (s *SSFService) Poll(ctx context.Context, orgID, streamID string, maxEvents int) ([]SSFPendingEvent, error) + func (s *SSFService) Update(ctx context.Context, orgID, streamID string, p UpdateSSFStreamParams) (*SSFStream, error) + func (s *SSFService) Verify(ctx context.Context, orgID, streamID string) error + type SSFStream struct + CreatedAt time.Time + DeliveryMethod string + Description string + EndpointURL *string + EventTypes []string + ID string + LastDeliveredAt *time.Time + OrgID string + Status string + UpdatedAt time.Time + type SSHCAParams struct + CertTTLSeconds int + RequireAccessRequest bool + VaultAddr string + VaultMount string + VaultRole string + VaultToken string + type SamlSP struct + ACSURL string + CreatedAt time.Time + EntityID string + ID string + IsActive bool + Name string + NameIDFormat string + OrgID string + SLOURL *string + type SamlSpService struct + func (s *SamlSpService) Create(ctx context.Context, orgID string, p CreateSamlSpParams) (*SamlSP, error) + func (s *SamlSpService) Delete(ctx context.Context, orgID, spID string) error + func (s *SamlSpService) List(ctx context.Context, orgID string) ([]SamlSP, error) + type ScimPushService struct + func (s *ScimPushService) Create(ctx context.Context, orgID string, p CreateScimPushParams) (map[string]interface{}, error) + func (s *ScimPushService) Delete(ctx context.Context, orgID, id string) error + func (s *ScimPushService) List(ctx context.Context, orgID string) ([]map[string]interface{}, error) + func (s *ScimPushService) ListDeliveries(ctx context.Context, orgID, id string) ([]map[string]interface{}, error) + func (s *ScimPushService) RetryDelivery(ctx context.Context, orgID, id, deliveryID string) error + func (s *ScimPushService) Update(ctx context.Context, orgID, id string, p UpdateScimPushParams) (map[string]interface{}, error) + type SecurityPosture struct + InactiveUsers int + MFAAdoptionPct float64 + OrgID string + Recommendations []PostureRecommendation + Score int + UnverifiedEmails int + type SendVCIOfferParams struct + Channel string + To string + type ServiceAccount struct + ClientID string + CreatedAt time.Time + Description *string + ID string + IsActive bool + LastUsedAt *time.Time + Name string + OrgID string + Scopes []string + UpdatedAt time.Time + type ServiceAccountService struct + func (s *ServiceAccountService) Create(ctx context.Context, orgID string, p CreateServiceAccountParams) (*ServiceAccountWithSecret, error) + func (s *ServiceAccountService) Delete(ctx context.Context, orgID, id string) error + func (s *ServiceAccountService) Get(ctx context.Context, orgID, id string) (*ServiceAccount, error) + func (s *ServiceAccountService) List(ctx context.Context, orgID string) ([]ServiceAccount, error) + func (s *ServiceAccountService) RotateSecret(ctx context.Context, orgID, id string) (*ServiceAccountWithSecret, error) + func (s *ServiceAccountService) Update(ctx context.Context, orgID, id string, p UpdateServiceAccountParams) (*ServiceAccount, error) + type ServiceAccountWithSecret struct + ClientSecret string + SecretNote string + ServiceAccount ServiceAccount + type SessionService struct + func (s *SessionService) ListByOrg(ctx context.Context, orgID string) ([]ActiveSession, error) + func (s *SessionService) ListByUser(ctx context.Context, orgID, userID string) ([]ActiveSession, error) + func (s *SessionService) Revoke(ctx context.Context, orgID, sessionID string) error + func (s *SessionService) RevokeAllByUser(ctx context.Context, orgID, userID string) error + type SignSSHKeyResult struct + ExpiresAt string + Instructions string + Principals []string + SignedKey string + TTL int + type SimulateParams struct + ClientID string + Country string + IPAddress string + RequestTime string + UserAgent string + UserID string + type SimulateResult struct + EvaluatedAt time.Time + MFARequired bool + Outcome PolicyOutcome + Trace []SimulateTraceItem + type SimulateTraceItem struct + Action string + Enabled bool + Matched bool + Priority int + RuleName string + type StartSessionParams struct + AccessRequestID *string + SessionType string + TargetHost *string + TargetPort *int + TargetUser *string + type TestConnectionResult struct + Message string + Success bool + type TrustMarkType struct + CreatedAt time.Time + Description string + LifetimeSeconds int + LogoURI string + Name string + RefURI string + TrustMarkID string + type TrustedDevice struct + ID string + IPAddress string + LastSeenAt *time.Time + Name string + OrgID string + RegisteredAt time.Time + UserAgent string + UserID string + type UpdateClientParams struct + GrantTypes []string + IsActive *bool + Name *string + PostLogoutRedirects []string + RedirectURIs []string + ResponseTypes []string + type UpdateCredentialParams struct + CheckoutDuration *int + Description *string + IsActive *bool + Name *string + RequireAccessRequest *bool + RotationIntervalDays *int + Secret *string + TargetHost *string + Username *string + type UpdateLoginFlowParams struct + Description *string + IsActive bool + IsDefault bool + Name string + type UpdateOrgParams struct + IsActive *bool + LogoURL *string + MFARequired *bool + Name *string + type UpdatePolicyRuleParams struct + Action *string + Conditions PolicyConditions + Enabled *bool + Name *string + Priority *int + type UpdateSSFStreamParams struct + Description *string + EndpointURL *string + EventTypes []string + Status *string + type UpdateScimPushParams struct + BearerToken *string + EnabledEvents []string + EndpointURL *string + IsActive *bool + Name *string + type UpdateServiceAccountParams struct + Description *string + IsActive *bool + Name *string + Scopes []string + type UpdateUserParams struct + Attributes map[string]string + Email *string + FirstName *string + IsActive *bool + LastName *string + Username *string + type UpsertActionTargetParams struct + IsActive *bool + SandboxCode *string + SigningSecret *string + TargetType string + TimeoutMs int + URL string + type UpsertCIBANotificationConfigParams struct + APNsBundleID *string + APNsKeyID *string + APNsKeyP8 *string + APNsProduction bool + APNsTeamID *string + BaseURL *string + EmailEnabled bool + FCMServiceAccountJSON *string + PushEnabled bool + SMSEnabled bool + WebhookHeaders map[string]string + WebhookSecret *string + WebhookURL *string + type UpsertTrustMarkTypeParams struct + Description string + LifetimeSeconds int + LogoURI string + Name string + RefURI string + TrustMarkID string + type UsageService struct + func (s *UsageService) Get(ctx context.Context, orgID string) (*OrgUsage, error) + func (s *UsageService) SecurityPosture(ctx context.Context, orgID string) (*SecurityPosture, error) + type User struct + AvatarURL *string + CreatedAt time.Time + Email string + FirstName *string + ID string + IsActive bool + IsEmailVerified bool + LastLoginAt *time.Time + LastName *string + MFARequired bool + Metadata map[string]interface{} + OrgID string + RequiredActions []string + UpdatedAt time.Time + type UserService struct + func (s *UserService) Create(ctx context.Context, orgID string, p CreateUserParams) (*User, error) + func (s *UserService) Delete(ctx context.Context, orgID, userID string) error + func (s *UserService) Get(ctx context.Context, orgID, userID string) (*User, error) + func (s *UserService) Impersonate(ctx context.Context, orgID, userID string) (*LoginResponse, error) + func (s *UserService) ImportUsers(ctx context.Context, orgID string, p ImportUsersParams) error + func (s *UserService) List(ctx context.Context, orgID string) ([]User, error) + func (s *UserService) ListSessions(ctx context.Context, orgID, userID string) ([]ActiveSession, error) + func (s *UserService) PatchAttributes(ctx context.Context, orgID, userID string, attrs map[string]string) error + func (s *UserService) RevokeAllSessions(ctx context.Context, orgID, userID string) error + func (s *UserService) SendPasswordReset(ctx context.Context, orgID, userID string) error + func (s *UserService) SetRequiredActions(ctx context.Context, orgID, userID string, actions []string) error + func (s *UserService) Update(ctx context.Context, orgID, userID string, p UpdateUserParams) (*User, error) + type VCICredentialConfig struct + Category string + ClaimsMapping map[string]interface{} + Description *string + DisplayName string + ID string + IsActive bool + OrgID string + SchemaFields []VCISchemaField + TTLSeconds int + VCT string + type VCIIssuedCredential struct + ExpiresAt *time.Time + ID string + IsRevoked bool + IssuedAt time.Time + OrgID string + RevocationReason *string + RevokedAt *time.Time + UserID *string + VCT string + type VCIOffer struct + CreatedAt time.Time + ExpiresAt time.Time + ID string + OrgID string + Payload map[string]interface{} + Status string + UserID *string + VCT string + type VCISchemaField struct + Label string + Mandatory bool + Name string + Type string + type VPSession struct + CreatedAt time.Time + DCQLQuery map[string]interface{} + ExpiresAt time.Time + ID string + Nonce string + PresentationDefinition map[string]interface{} + Status string + VerifiedClaims map[string]interface{} + type VerifyElevateParams struct + Code string + Credential json.RawMessage + Method string + type Webhook struct + CreatedAt time.Time + Events []string + ID string + IsActive bool + OrgID string + URL string + UpdatedAt time.Time + type WebhookService struct + func (s *WebhookService) Create(ctx context.Context, orgID string, p CreateWebhookParams) (*Webhook, error) + func (s *WebhookService) Delete(ctx context.Context, orgID, webhookID string) error + func (s *WebhookService) List(ctx context.Context, orgID string) ([]Webhook, error) + func (s *WebhookService) Update(ctx context.Context, orgID, webhookID string, p CreateWebhookParams) (*Webhook, error) + type WsfedRP struct + ClaimsMapping map[string]string + CreatedAt time.Time + ID string + IsActive bool + Name string + OrgID string + Realm string + TokenLifetimeSeconds int + UpdatedAt time.Time + WreplyURIs []string + type WsfedRpParams struct + ClaimsMapping map[string]string + Name string + Realm string + TokenLifetimeSeconds int + WreplyURIs []string + type WsfedRpService struct + func (s *WsfedRpService) Create(ctx context.Context, orgID string, p WsfedRpParams) (*WsfedRP, error) + func (s *WsfedRpService) Delete(ctx context.Context, orgID, rpID string) error + func (s *WsfedRpService) Get(ctx context.Context, orgID, rpID string) (*WsfedRP, error) + func (s *WsfedRpService) List(ctx context.Context, orgID string) ([]WsfedRP, error) + func (s *WsfedRpService) Update(ctx context.Context, orgID, rpID string, p WsfedRpParams) (*WsfedRP, error) v0.1.0 Jun 29, 2026