Configuration Reference
Configuration property fixed at build time - All other configuration properties are overridable at runtime
Configuration property |
Type |
Default |
|---|---|---|
Base URL of the Casdoor server, for example Environment variable: |
string |
|
Client ID used to call the Casdoor API. Defaults to Environment variable: |
string |
|
Client secret used to call the Casdoor API. Defaults to Environment variable: |
string |
|
Add the names of the user’s Casdoor roles to the security identity, so that Environment variable: |
boolean |
|
Check Environment variable: |
boolean |
|
Casdoor permission to enforce, as Set at most one of Environment variable: |
string |
|
Casdoor model whose permissions are enforced, as Environment variable: |
string |
|
Casdoor resource whose permissions are enforced. Environment variable: |
string |
|
Casdoor enforcer to use, as Environment variable: |
string |
|
How long an enforce result is cached. Environment variable: |
|
|
Timeout of a call to the Casdoor API. Environment variable: |
|
|
About the Duration format
To write duration values, use the standard You can also use a simplified format, starting with a number:
In other cases, the simplified format is translated to the
|