Documentation
¶
Index ¶
- Constants
- func ClearAccountCookie(w http.ResponseWriter, r *http.Request)
- func GetOrganizationIdFromMetadata(ctx context.Context) (string, bool)
- func GetScopedTokenScopesFromMetadata(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"
View Source
const TokenScopesMetadataKey = "x-token-scopes"
Variables ¶
This section is empty.
Functions ¶
func ClearAccountCookie ¶
func ClearAccountCookie(w http.ResponseWriter, r *http.Request)
func GetScopedTokenScopesFromMetadata ¶ added in v0.14.0
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.