Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrTicketValidationFailed = errors.NewErrUnauthorized("La validation du ticket a échoué.")
)
View Source
var (
)Functions ¶
This section is empty.
Types ¶
type AuthenticationService ¶
type AuthenticationService struct {
// contains filtered or unexported fields
}
func New ¶
func New(repo Repository, sso Sso, sessions sessions.Sessions) *AuthenticationService
func (*AuthenticationService) Login ¶
func (service *AuthenticationService) Login(ticket string) (*LoginResult, error)
func (*AuthenticationService) Logout ¶
func (service *AuthenticationService) Logout(token string) error
func (*AuthenticationService) ValidateToken ¶
func (service *AuthenticationService) ValidateToken(token string) (*domain.UserContext, error)
type LoginResult ¶
type Repository ¶
Click to show internal directories.
Click to hide internal directories.