Location>code7788 >text

Introduction to Jimu, the dotnet core microservices framework

Popularity:636 ℃/2024-10-25 20:17:16
{ "JwtAuthorizationOptions":{ "ServiceInvokeIp": "${SERVICE_INVOKE_IP}", //Address of the service host "ServiceInvokePort": "${SERVICE_INVOKE_PORT}", "Protocol": "Netty", //Transport Protocol: Http,Netty "SecretKey": "123456", //Keys for generating tokens "ValidateLifetime": true, "ExpireTimeSpan": "0.16:0:0", //token Valid for: :minute:second "ValidateIssuer": false, // "ValidIssuer": "", "ValidateAudience": false, "ValidAudience": "", "TokenEndpointPath": "/v2/token", //Path to the token "CheckCredentialServiceId": "(context)" //service id to verify if the username and password are correct, context is JwtAuthorizationContext, contains UserName, Password and other call context information } }