Versions in this module Expand all Collapse all v0 v0.6.1 Apr 3, 2026 v0.6.0 Apr 2, 2026 Changes in this version + const UserIntegrationAuthModesPrefix + const UserIntegrationCanResetPrefix + const UserIntegrationLocalGroupsPrefix + const UserIntegrationMfaNeedsResetPrefix + const UserIntegrationMfaPrefix + const UserIntegrationMfaWithResetPrefix + const UserIntegrationNeedsResetPrefix + const UserIntegrationPreCheckPrefix + const UserIntegrationPreCheckValue + const UserIntegrationPrefix + const UserIntegrationQRcodeStaticPrefix + const UserIntegrationUnexistent + func StartBus(cfgPath string) (conn *dbus.Conn, err error) + type Broker struct + func New(name string) (b *Broker, fullName, brandIcon string) + func (b *Broker) CancelIsAuthenticated(ctx context.Context, sessionID string) + func (b *Broker) EndSession(ctx context.Context, sessionID string) error + func (b *Broker) GetAuthenticationModes(ctx context.Context, sessionID string, supportedUILayouts []map[string]string) (authenticationModes []map[string]string, err error) + func (b *Broker) IsAuthenticated(ctx context.Context, sessionID, authenticationData string) (access, data string, err error) + func (b *Broker) NewSession(ctx context.Context, username, lang, mode string) (sessionID, encryptionKey string, err error) + func (b *Broker) SelectAuthenticationMode(ctx context.Context, sessionID, authenticationModeName string) (uiLayoutInfo map[string]string, err error) + func (b *Broker) UserPreCheck(ctx context.Context, username string) (string, error) + type Bus struct + func (b *Bus) CancelIsAuthenticated(sessionID string) (dbusErr *dbus.Error) + func (b *Bus) EndSession(sessionID string) (dbusErr *dbus.Error) + func (b *Bus) GetAuthenticationModes(sessionID string, supportedUILayouts []map[string]string) (authenticationModes []map[string]string, dbusErr *dbus.Error) + func (b *Bus) IsAuthenticated(sessionID, authenticationData string) (access, data string, dbusErr *dbus.Error) + func (b *Bus) NewSession(username, lang, mode string) (sessionID, encryptionKey string, dbusErr *dbus.Error) + func (b *Bus) SelectAuthenticationMode(sessionID, authenticationModeName string) (uiLayoutInfo map[string]string, dbusErr *dbus.Error) + func (b *Bus) UserPreCheck(username string) (userinfo string, dbusErr *dbus.Error)