Documentation
¶
Index ¶
- Constants
- func ClearAccountCookie(w http.ResponseWriter, r *http.Request)
- func GetOrganizationIdFromMetadata(ctx context.Context) (string, bool)
- func GetUserIdFromMetadata(ctx context.Context) (string, bool)
- func SetUserIdInMetadata(ctx context.Context, userId string) context.Context
- type Handler
- type ProviderConfig
Constants ¶
View Source
const SignupDisabledError = "signup is currently disabled"
Variables ¶
This section is empty.
Functions ¶
func ClearAccountCookie ¶
func ClearAccountCookie(w http.ResponseWriter, r *http.Request)
Types ¶
type Handler ¶
type Handler struct {
// contains filtered or unexported fields
}
func NewHandler ¶
func (*Handler) FindOrCreateAccountForProvider ¶
func (*Handler) InitializeProviders ¶
func (a *Handler) InitializeProviders(providers map[string]ProviderConfig)
func (*Handler) RegisterRoutes ¶
type ProviderConfig ¶
Click to show internal directories.
Click to hide internal directories.