Versions in this module Expand all Collapse all v0 v0.0.16 Feb 11, 2026 v0.0.15 Feb 11, 2026 Changes in this version + type BridgeManager struct + func NewBridgeManager(clientRepo *repository.OAuthClientRepository, ...) *BridgeManager + func (bm *BridgeManager) CleanupExpiredDeviceCodes(ctx bridge.Context, input CleanupExpiredDeviceCodesInput) (*CleanupExpiredDeviceCodesOutput, error) + func (bm *BridgeManager) CreateClient(ctx bridge.Context, input CreateClientInput) (*CreateClientOutput, error) + func (bm *BridgeManager) DeleteClient(ctx bridge.Context, input DeleteClientInput) (*DeleteClientOutput, error) + func (bm *BridgeManager) GetClient(ctx bridge.Context, input GetClientInput) (*GetClientOutput, error) + func (bm *BridgeManager) GetClientStats(ctx bridge.Context, input GetClientStatsInput) (*GetClientStatsOutput, error) + func (bm *BridgeManager) GetClients(ctx bridge.Context, input GetClientsInput) (*GetClientsOutput, error) + func (bm *BridgeManager) GetDeviceCodes(ctx bridge.Context, input GetDeviceCodesInput) (*GetDeviceCodesOutput, error) + func (bm *BridgeManager) GetSettings(ctx bridge.Context, input GetSettingsInput) (*GetSettingsOutput, error) + func (bm *BridgeManager) GetStats(ctx bridge.Context, input GetStatsInput) (*GetStatsOutput, error) + func (bm *BridgeManager) RegenerateSecret(ctx bridge.Context, input RegenerateSecretInput) (*RegenerateSecretOutput, error) + func (bm *BridgeManager) RevokeDeviceCode(ctx bridge.Context, input RevokeDeviceCodeInput) (*RevokeDeviceCodeOutput, error) + func (bm *BridgeManager) RotateKeys(ctx bridge.Context, input RotateKeysInput) (*RotateKeysOutput, error) + func (bm *BridgeManager) UpdateClient(ctx bridge.Context, input UpdateClientInput) (*UpdateClientOutput, error) + func (bm *BridgeManager) UpdateDeviceFlowSettings(ctx bridge.Context, input UpdateDeviceFlowSettingsInput) (*UpdateDeviceFlowSettingsOutput, error) + func (bm *BridgeManager) UpdateTokenSettings(ctx bridge.Context, input UpdateTokenSettingsInput) (*UpdateTokenSettingsOutput, error) + type CleanupExpiredDeviceCodesInput struct + AppID string + type CleanupExpiredDeviceCodesOutput struct + Data struct{ ... } + type ClientDTO struct + AllowedScopes []string + ApplicationType string + ClientID string + ClientName string + CreatedAt time.Time + GrantTypes []string + ID string + IsOrgLevel bool + LogoURI string + OrganizationID string + RedirectURIs []string + RequireConsent bool + RequirePKCE bool + ResponseTypes []string + TokenEndpointAuth string + TrustedClient bool + UpdatedAt time.Time + type ClientStatsDTO struct + ActiveTokens int64 + TokensThisMonth int64 + TokensThisWeek int64 + TokensToday int64 + TotalTokens int64 + TotalUsers int64 + type ClientWithSecretDTO struct + ClientSecret string + type CreateClientInput struct + AllowedScopes []string + AppID string + ApplicationType string + ClientName string + Contacts []string + GrantTypes []string + LogoURI string + OrganizationID string + PolicyURI string + PostLogoutRedirectURIs []string + RedirectURIs []string + RequireConsent bool + RequirePKCE bool + ResponseTypes []string + TokenEndpointAuthMethod string + TosURI string + TrustedClient bool + type CreateClientOutput struct + Data ClientWithSecretDTO + type DeleteClientInput struct + ClientID string + type DeleteClientOutput struct + Success bool + type DeviceCodeDTO struct + AuthorizedAt *time.Time + ClientID string + ClientName string + ConsumedAt *time.Time + CreatedAt time.Time + DeviceCode string + ExpiresAt time.Time + ID string + PollCount int + Scope string + Status string + TimeRemaining int64 + UserCode string + VerificationURI string + type DeviceFlowDTO struct + CleanupInterval string + CodeExpiry string + Enabled bool + MaxPollAttempts int + PollingInterval int + UserCodeFormat string + UserCodeLength int + VerificationURI string + type GetClientInput struct + ClientID string + type GetClientOutput struct + Data ClientDTO + type GetClientStatsInput struct + ClientID string + type GetClientStatsOutput struct + Data ClientStatsDTO + type GetClientsInput struct + AppID string + Page int + PageSize int + Search string + type GetClientsOutput struct + Data []ClientDTO + Pagination *PaginationDTO + type GetDeviceCodesInput struct + AppID string + Page int + PageSize int + Status string + type GetDeviceCodesOutput struct + Data []DeviceCodeDTO + Pagination *PaginationDTO + type GetSettingsInput struct + AppID string + type GetSettingsOutput struct + Data SettingsDTO + type GetStatsInput struct + AppID string + Period string + type GetStatsOutput struct + Data OverallStatsDTO + type KeySettingsDTO struct + CurrentKeyID string + KeyLifetime string + LastRotation string + RotationInterval string + type OIDCServiceInterface interface + GetConfig func() any + GetCurrentKeyID func() (string, error) + GetDeviceFlowService func() any + GetLastKeyRotation func() time.Time + RotateKeys func() error + type OverallStatsDTO struct + ActiveDeviceCodes int64 + ActiveTokens int64 + ClientCount int64 + TokensByType TokensByTypeDTO + TokensIssuedOverTime []TimeSeriesDTO + TopClients []TopClientDTO + TotalTokensIssued int64 + TotalUsers int64 + type PaginationDTO struct + Page int + PageSize int + Total int64 + TotalPages int64 + type RegenerateSecretInput struct + ClientID string + type RegenerateSecretOutput struct + Data struct{ ... } + type RevokeDeviceCodeInput struct + UserCode string + type RevokeDeviceCodeOutput struct + Success bool + type RotateKeysInput struct + type RotateKeysOutput struct + NewKeyID string + Success bool + type SettingsDTO struct + DeviceFlow DeviceFlowDTO + DiscoveryURL string + Issuer string + JWKSURL string + KeySettings KeySettingsDTO + TokenSettings TokenSettingsDTO + type TimeSeriesDTO struct + Count int64 + Timestamp time.Time + type TokenSettingsDTO struct + AccessTokenExpiry string + IDTokenExpiry string + RefreshTokenExpiry string + type TokensByTypeDTO struct + AccessTokens int64 + IDTokens int64 + RefreshTokens int64 + type TopClientDTO struct + ClientID string + ClientName string + TokenCount int64 + type UpdateClientInput struct + AllowedScopes []string + ApplicationType string + ClientID string + ClientName string + Contacts []string + GrantTypes []string + LogoURI string + PolicyURI string + PostLogoutRedirectURIs []string + RedirectURIs []string + RequireConsent bool + RequirePKCE bool + ResponseTypes []string + TokenEndpointAuthMethod string + TosURI string + TrustedClient bool + type UpdateClientOutput struct + Data ClientDTO + type UpdateDeviceFlowSettingsInput struct + CleanupInterval string + CodeExpiry string + Enabled bool + MaxPollAttempts int + PollingInterval int + UserCodeFormat string + UserCodeLength int + VerificationURI string + type UpdateDeviceFlowSettingsOutput struct + Success bool + type UpdateTokenSettingsInput struct + AccessTokenExpiry string + IDTokenExpiry string + RefreshTokenExpiry string + type UpdateTokenSettingsOutput struct + Success bool