Documentation ¶
Index ¶
- type Manager
- func (m *Manager) GetAPISecretAuthenticator() authentication.APISecretAuthenticator
- func (m *Manager) GetAuthProvider(providerStr string) (provider.Type, error)
- func (m *Manager) GetUserAuthenticator() authentication.UserAuthenticator
- func (m *Manager) IsAllowedOrigin(ctx context.Context, apiKey string, origin string) (bool, error)
- func (m *Manager) PreRegisterUser(ctx context.Context, userID string, providerType provider.Type) (string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Manager ¶
type Manager struct { APISecretAuthenticator authentication.APISecretAuthenticator UserAuthenticator authentication.UserAuthenticator // contains filtered or unexported fields }
func NewManager ¶
func NewManager(repo repositories.ProjectRepository, providerManager *providersmgr.Manager, userService services.UserService) *Manager
func (*Manager) GetAPISecretAuthenticator ¶
func (m *Manager) GetAPISecretAuthenticator() authentication.APISecretAuthenticator
func (*Manager) GetAuthProvider ¶
func (*Manager) GetUserAuthenticator ¶
func (m *Manager) GetUserAuthenticator() authentication.UserAuthenticator
func (*Manager) IsAllowedOrigin ¶
Click to show internal directories.
Click to hide internal directories.