Versions in this module Expand all Collapse all v0 v0.20.0 May 19, 2019 v0.19.0 Nov 7, 2018 Changes in this version + func NewActorContext(ctx context.Context, act Actor) context.Context + type Actor struct + FirstName string + ID int64 + IsActive bool + IsConfirmed bool + IsStaff bool + IsSuperuser bool + LastName string + Permissions charon.Permissions + Username string + func ActorFromContext(ctx context.Context) (Actor, bool) + type Context interface + AccessToken func() (string, bool) + Actor func() (Actor, bool) + func NewSecurityContext(ctx context.Context) Context