Documentation
¶
Overview ¶
Package dbusservice is the dbus service implementation delegating its functional call to brokers.
Index ¶
- type Service
- func (s *Service) Addr() string
- func (s *Service) CancelIsAuthenticated(sessionID string) (dbusErr *dbus.Error)
- func (s *Service) EndSession(sessionID string) (dbusErr *dbus.Error)
- func (s *Service) GetAuthenticationModes(sessionID string, supportedUILayouts []map[string]string) (authenticationModes []map[string]string, dbusErr *dbus.Error)
- func (s *Service) IsAuthenticated(sessionID, authenticationData string) (access, data string, dbusErr *dbus.Error)
- func (s *Service) NewSession(username, lang, mode string) (sessionID, encryptionKey string, dbusErr *dbus.Error)
- func (s *Service) SelectAuthenticationMode(sessionID, authenticationModeName string) (uiLayoutInfo map[string]string, dbusErr *dbus.Error)
- func (s *Service) Serve() error
- func (s *Service) Stop() error
- func (s *Service) UserPreCheck(username string) (userinfo string, dbusErr *dbus.Error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
Service is the handler exposing our broker methods on the system bus.
func (*Service) CancelIsAuthenticated ¶
CancelIsAuthenticated is the method through which the broker and the daemon will communicate once dbusInterface.CancelIsAuthenticated is called.
func (*Service) EndSession ¶
EndSession is the method through which the broker and the daemon will communicate once dbusInterface.EndSession is called.
func (*Service) GetAuthenticationModes ¶
func (s *Service) GetAuthenticationModes(sessionID string, supportedUILayouts []map[string]string) (authenticationModes []map[string]string, dbusErr *dbus.Error)
GetAuthenticationModes is the method through which the broker and the daemon will communicate once dbusInterface.GetAuthenticationModes is called.
func (*Service) IsAuthenticated ¶
func (s *Service) IsAuthenticated(sessionID, authenticationData string) (access, data string, dbusErr *dbus.Error)
IsAuthenticated is the method through which the broker and the daemon will communicate once dbusInterface.IsAuthenticated is called.
func (*Service) NewSession ¶
func (s *Service) NewSession(username, lang, mode string) (sessionID, encryptionKey string, dbusErr *dbus.Error)
NewSession is the method through which the broker and the daemon will communicate once dbusInterface.NewSession is called.
func (*Service) SelectAuthenticationMode ¶
func (s *Service) SelectAuthenticationMode(sessionID, authenticationModeName string) (uiLayoutInfo map[string]string, dbusErr *dbus.Error)
SelectAuthenticationMode is the method through which the broker and the daemon will communicate once dbusInterface.SelectAuthenticationMode is called.
func (*Service) UserPreCheck ¶
UserPreCheck is the method through which the broker and the daemon will communicate once dbusInterface.UserPreCheck is called.