Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AllowAuthenticated ¶
AllowAuthenticated is an AccessHandler which allows all requests. This function doesn't do anything itself, except return the EmptySyncResponse that allows the request to proceed. However in order to access any API route you must be authenticated, unless the handler's AllowUntrusted property is set to true or you are an admin.
Types ¶
type TrustedRequest ¶
type TrustedRequest struct {
Trusted bool
}
TrustedRequest holds data pertaining to what level of trust we have for the request.
Click to show internal directories.
Click to hide internal directories.