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"`
} // @name AuthConfig
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 ¶ added in v0.10.0
func (*Handler) HasPendingAuthorize ¶ added in v0.10.0
type LoginHandoffStore ¶ added in v0.10.0
type LoginHandoffStore struct {
// contains filtered or unexported fields
}
func NewLoginHandoffStore ¶ added in v0.10.0
func NewLoginHandoffStore() *LoginHandoffStore
func (*LoginHandoffStore) Put ¶ added in v0.10.0
func (s *LoginHandoffStore) Put(ticket, token string)
func (*LoginHandoffStore) StartCleanup ¶ added in v0.10.0
func (s *LoginHandoffStore) StartCleanup(ctx context.Context, interval time.Duration)
func (*LoginHandoffStore) Take ¶ added in v0.10.0
func (s *LoginHandoffStore) Take(ticket string) string
type SSOProvider ¶ added in v0.10.0
type SSOProvider struct {
Type string `json:"type"`
Name string `json:"name"`
IssuerURL string `json:"issuer_url,omitempty"`
} // @name SSOProvider
SSOProvider is an admin-facing view of a configured SSO provider.
Click to show internal directories.
Click to hide internal directories.