Documentation ¶
Index ¶
- Constants
- func AccessToken(ctx context.Context) string
- func ClearAuthorizedGroups(ctx context.Context)
- func CreateContextWithValueMap(ctx context.Context) context.Context
- func Email(ctx context.Context) string
- func EmailVerified(ctx context.Context) bool
- func HasApiToken(ctx context.Context) bool
- func IdToken(ctx context.Context) string
- func IsAuthorizedAsGroup(ctx context.Context, group string) bool
- func Name(ctx context.Context) string
- func RequestId(ctx context.Context) string
- func SetAccessToken(ctx context.Context, token string)
- func SetApiToken(ctx context.Context, apiToken string)
- func SetAuthorizedAsGroup(ctx context.Context, group string)
- func SetEmail(ctx context.Context, email string)
- func SetEmailVerified(ctx context.Context, verified bool)
- func SetIdToken(ctx context.Context, token string)
- func SetName(ctx context.Context, Name string)
- func SetRequestId(ctx context.Context, requestId string)
- func SetSubject(ctx context.Context, Subject string)
- func Subject(ctx context.Context) string
Constants ¶
View Source
const ContextAccessToken = "accesstoken"
View Source
const ContextApiToken = "apitoken"
View Source
const ContextAuthorizedAs = "authorizedas"
View Source
const ContextEmail = "email"
View Source
const ContextEmailVerified = "emailverified"
View Source
const ContextIdToken = "idtoken"
View Source
const ContextMap = "map"
View Source
const ContextName = "name"
View Source
const ContextRequestId = "requestid"
View Source
const ContextSubject = "subject"
Variables ¶
This section is empty.
Functions ¶
func AccessToken ¶
func ClearAuthorizedGroups ¶
func EmailVerified ¶
func HasApiToken ¶
func SetAccessToken ¶
func SetApiToken ¶
func SetAuthorizedAsGroup ¶
func SetEmailVerified ¶
func SetIdToken ¶
func SetRequestId ¶
func SetSubject ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.