Documentation ¶
Index ¶
Constants ¶
View Source
const DefaultAssumeRoleDuration int64 = 900
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Boggart ¶
type Boggart struct {
// contains filtered or unexported fields
}
func (*Boggart) AssumeRole ¶
type Context ¶
type Context struct { RemoteAddr string Permission *config.Permission Logger zerolog.Logger }
func NewContext ¶
func (*Context) Authenticated ¶
func (ctx *Context) Authenticated(permission *config.Permission) *Context
func (*Context) Authorized ¶
func (ctx *Context) Authorized(permission *config.Permission) *Context
Click to show internal directories.
Click to hide internal directories.