Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ErrEmptyAuth occurs when authorization content is not found ErrEmptyAuth = errors.New("empty authorization content") // ErrNoMatchingProvider occurs no provider is found for given auth ErrNoMatchingProvider = errors.New("no matching provider for Authorization content") )
Functions ¶
This section is empty.
Types ¶
type App ¶
type App struct {
// contains filtered or unexported fields
}
App of package
func (App) IsAuthenticated ¶
IsAuthenticated check if request has correct headers for authentification
func (App) IsAuthorized ¶ added in v2.11.3
IsAuthorized checks if User in context has given profile
Click to show internal directories.
Click to hide internal directories.