Interface: AuthorizationServiceConfig
Defined in: src/auth/authorization/authorization-service.ts:34
Authorization service configuration.
Properties
assignmentPrefix?
readonlyoptionalassignmentPrefix:string
Defined in: src/auth/authorization/authorization-service.ts:47
Redis key prefix for role assignments metadata.
Default Value
'chive:authz:assignments:'
cacheTtlSeconds?
readonlyoptionalcacheTtlSeconds:number
Defined in: src/auth/authorization/authorization-service.ts:61
Cache TTL in seconds.
Default Value
300
enableCache?
readonlyoptionalenableCache:boolean
Defined in: src/auth/authorization/authorization-service.ts:54
Enable caching of role lookups.
Default Value
true
rolePrefix?
readonlyoptionalrolePrefix:string
Defined in: src/auth/authorization/authorization-service.ts:40
Redis key prefix for role storage.
Default Value
'chive:authz:roles:'