forked from cloudtrust/common-service
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcontext.go
23 lines (21 loc) · 781 Bytes
/
context.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
package commonservice
// CtContext type
type CtContext int
const (
// CtContextAccessToken is the access token context key
CtContextAccessToken CtContext = iota
// CtContextRealm is the realm name context key
CtContextRealm CtContext = iota
// CtContextRealmID is the realm id context key
CtContextRealmID CtContext = iota
// CtContextUserID is the user id context key
CtContextUserID CtContext = iota
// CtContextUsername is the username context key
CtContextUsername CtContext = iota
// CtContextGroups is the groups context key
CtContextGroups CtContext = iota
// CtContextCorrelationID is the correlation id context key
CtContextCorrelationID CtContext = iota
// CtContextIssuerDomain is the issuer domain context key
CtContextIssuerDomain CtContext = iota
)