Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Firewall ¶
type Firewall interface { Authorized(ctx context.Context, token string, scopes ...string) (*Context, error) HTTPAuthorized(ctx context.Context, r *http.Request, scopes ...string) (*Context, error) ActionAllowed(ctx context.Context, token string, accessRequest *ladon.Request, scopes ...string) (*Context, error) HTTPActionAllowed(ctx context.Context, r *http.Request, accessRequest *ladon.Request, scopes ...string) (*Context, error) }
Click to show internal directories.
Click to hide internal directories.