Documentation
¶
Index ¶
Constants ¶
View Source
const ExternalUserID string = "ctxkeys_external_user_id"
ExternalUserID - echo context key for claims.eui
View Source
const Issuer string = "ctxkeys_issuer"
Issuer - echo context key for claims.iss
View Source
const JWTClaims string = "ctxkeys_jwt_claims"
JWTClaims - echo context key for middleware.JWTConfig
View Source
const LoggerKey contextKey = "ctxkeys_logger"
LoggerKey - log.Logrus
View Source
const RequestBodyKey contextKey = "ctxkeys_request_body"
RequestBodyKey - []byte
View Source
const ResponseBodyKey contextKey = "ctxkeys_response_body"
ResponseBodyKey - []byte
View Source
const Role string = "ctxkeys_role"
Role - echo context key for claims.role
View Source
const SessionID string = "ctxkeys_session_id"
SessionID - echo context key for claims.jti
View Source
const UserID string = "ctxkeys_user_id"
UserID - echo context key for claims.uid
View Source
const UserLanguage string = "ctxkeys_user_language"
UserLanguage - echo context key for i18n.
View Source
const ValidatorKey contextKey = "ctxkeys_validator"
ValidatorKey - *validator.Validate
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ExternalUserIDKey ¶
type ExternalUserIDKey struct{}
ExternalUserIDKey - context key for ExternalUserID
Click to show internal directories.
Click to hide internal directories.