Aller au contenu principal
Version: Next

CasbinConfigOptions

Index

Properties

modelPath

modelPath: string

policyAdapter

policyAdapter: string | (applicationContext: IMidwayContainer) => Promise<Adapter> | Adapter

optionalpolicyWatcher

policyWatcher?: Watcher | (applicationContext: IMidwayContainer) => Promise<Watcher>

usernameFromContext

usernameFromContext: (ctx: Context) => string