Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Context ¶
type Context struct {
Configuration *configuration.ConfigurationService
Services *service_provider.ServiceProvider
Caches *cache.CacheService
TokenCache *jwt_token_cache.JwtTokenCacheProvider
Authorization *authorization_context.AuthorizationContext
UserDatabaseAdapter interfaces.UserContextAdapter
CorrelationId string
Environment string
IsDevelopment bool
Debug bool
Init func() error
}
Context entity
func InitNewContext ¶
func (*Context) SetCorrelationId ¶
func (*Context) WithAuthorization ¶
func (c *Context) WithAuthorization(options authorization_context.AuthorizationOptions) *Context
func (*Context) WithDefaultAuthorization ¶
Click to show internal directories.
Click to hide internal directories.