Documentation
¶
Index ¶
Constants ¶
View Source
const ( MinPasswordLength = 8 MaxPasswordLength = 32 )
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( ctx context.Context, authRepo AuthPersistencyLayer, userRepo UserPersistencyLayer, authReady chan domain.AuthNodeInfo, ) *AuthService
func (*AuthService) AuthLogin ¶
func (as *AuthService) AuthLogin(message event.LoginEvent) (authInfo event.LoginResponse, err error)
func (*AuthService) IsAuthenticated ¶
func (as *AuthService) IsAuthenticated() bool
func (*AuthService) PrivateKey ¶
func (as *AuthService) PrivateKey() ed25519.PrivateKey
func (*AuthService) Storage ¶
func (as *AuthService) Storage() AuthPersistencyLayer
Click to show internal directories.
Click to hide internal directories.