Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewUserAuthenticator ¶
func NewUserAuthenticator(repository repositories.ProjectRepository, userService services.UserService, apiKey, token string, identityFactory factories.Identity) factories.Authenticator
Types ¶
type UserAuthenticator ¶
type UserAuthenticator struct {
// contains filtered or unexported fields
}
func (*UserAuthenticator) Authenticate ¶
func (a *UserAuthenticator) Authenticate(ctx context.Context) (*authentication.Authentication, error)
Click to show internal directories.
Click to hide internal directories.