Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthConfig ¶
type AuthConfig struct {
EnabledProviders []string `json:"enabled_providers"`
}
type Handler ¶
type Handler struct {
// contains filtered or unexported fields
}
func NewHandler ¶
func NewHandler(authService auth.Service, oauthManager *auth.OAuthManager, userService user.Service, config *config.Config, oauthProvider *marmotOAuth2.Provider, authorizeSessionStore *marmotOAuth2.AuthorizeSessionStore) *Handler
func (*Handler) CompleteAuthorize ¶
type LoginHandoffStore ¶
type LoginHandoffStore struct {
// contains filtered or unexported fields
}
func NewLoginHandoffStore ¶
func NewLoginHandoffStore() *LoginHandoffStore
func (*LoginHandoffStore) Put ¶
func (s *LoginHandoffStore) Put(ticket, token string)
func (*LoginHandoffStore) StartCleanup ¶
func (s *LoginHandoffStore) StartCleanup(ctx context.Context, interval time.Duration)
func (*LoginHandoffStore) Take ¶
func (s *LoginHandoffStore) Take(ticket string) string
Click to show internal directories.
Click to hide internal directories.