Documentation ¶
Index ¶
- type AuthenticationService
- func (as *AuthenticationService) RefreshToken(token string) (newToken string, err error)
- func (as *AuthenticationService) SignIn(email string, password string) (token string, expiration string, err error)
- func (as *AuthenticationService) SignOut(token string) (message string, err error)
- func (as *AuthenticationService) SignUp(email string, password string) (userId string, err error)
- type IAuthenticationService
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthenticationService ¶
type AuthenticationService struct {
// contains filtered or unexported fields
}
func NewAuthenticationService ¶
func NewAuthenticationService(database squirrel.StatementBuilderType, redisManager *redis.Client, jwtManager util.JwtManager) *AuthenticationService
func (*AuthenticationService) RefreshToken ¶
func (as *AuthenticationService) RefreshToken(token string) (newToken string, err error)
type IAuthenticationService ¶
Click to show internal directories.
Click to hide internal directories.