Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthPersistencyLayer ¶
type AuthService ¶
type AuthService struct {
// contains filtered or unexported fields
}
func NewAuthService ¶
func NewAuthService( authRepo AuthPersistencyLayer, userRepo UserPersistencyLayer, interrupt chan os.Signal, authReady chan domain.AuthNodeInfo, ) *AuthService
func (*AuthService) AuthLogin ¶
func (as *AuthService) AuthLogin(message event.LoginEvent) (authInfo event.LoginResponse, err error)
func (*AuthService) AuthLogout ¶
func (as *AuthService) AuthLogout() error
func (*AuthService) IsAuthenticated ¶
func (as *AuthService) IsAuthenticated() bool
Click to show internal directories.
Click to hide internal directories.