Documentation ¶
Index ¶
Constants ¶
View Source
const ( // BearerScheme used for Authorization header BearerScheme = "Bearer " // TokenCookieName is the name of the cookie which stores the auth token TokenCookieName = "micro-token" )
Variables ¶
View Source
var SystemRules = []*auth.Rule{ &auth.Rule{ ID: "default", Scope: auth.ScopePublic, Access: auth.AccessGranted, Resource: &auth.Resource{Type: "*", Name: "*", Endpoint: "*"}, }, }
SystemRules are the default rules which are applied to the runtime services
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.