Documentation ¶
Index ¶
Constants ¶
View Source
const ( SenderKey = "sender" TokenType = "Bearer" )
Variables ¶
View Source
var ErrExpired = fmt.Errorf("access token expired")
Functions ¶
func ContextWithSender ¶ added in v0.2.2
Types ¶
type Sender ¶ added in v0.2.3
func GetSenderFromContext ¶
func GetSystemSender ¶ added in v0.2.3
func GetSystemSender() *Sender
func (*Sender) IsDeveloper ¶ added in v0.2.3
func (*Sender) IsGlobalAdmin ¶ added in v0.2.3
Click to show internal directories.
Click to hide internal directories.