|
10 | 10 | using Intersect.Server.Web.Configuration; |
11 | 11 | using Intersect.Server.Web.Constraints; |
12 | 12 | using Intersect.Server.Web.Middleware; |
13 | | -using Intersect.Server.Web.RestApi.Payloads; |
| 13 | +using Intersect.Server.Web.RestApi.Types; |
| 14 | +using Intersect.Server.Web.RestApi.Types.Chat; |
14 | 15 | using Intersect.Server.Web.RestApi.Routes; |
15 | 16 | using Intersect.Server.Web.Serialization; |
16 | 17 | using Intersect.Server.Web.Swagger.Filters; |
@@ -251,10 +252,10 @@ internal partial class ApiService : ApplicationService<ServerContext, IApiServic |
251 | 252 | options.TokenValidationParameters.ValidIssuer ??= tokenGenerationOptions.Issuer; |
252 | 253 | options.Events = new JwtBearerEvents |
253 | 254 | { |
254 | | - OnAuthenticationFailed = async _ => {}, |
255 | | - OnChallenge = async _ => {}, |
256 | | - OnMessageReceived = async _ => {}, |
257 | | - OnTokenValidated = async _ => {}, |
| 255 | + OnAuthenticationFailed = async _ => { }, |
| 256 | + OnChallenge = async _ => { }, |
| 257 | + OnMessageReceived = async _ => { }, |
| 258 | + OnTokenValidated = async _ => { }, |
258 | 259 | }; |
259 | 260 | SymmetricSecurityKey issuerKey = new(tokenGenerationOptions.SecretData); |
260 | 261 | options.TokenValidationParameters.IssuerSigningKey = issuerKey; |
|
0 commit comments