2 writes to ProtocolValidator
Microsoft.AspNetCore.Authentication.Test (2)
OpenIdConnect\OpenIdConnectEventTests.cs (1)
1293
o.
ProtocolValidator
= new TestProtocolValidator();
OpenIdConnect\OpenIdConnectEventTests_Handler.cs (1)
1291
o.
ProtocolValidator
= new TestProtocolValidator();
6 references to ProtocolValidator
Microsoft.AspNetCore.Authentication.OpenIdConnect (6)
OpenIdConnectHandler.cs (5)
445
if (Options.
ProtocolValidator
.RequireNonce)
447
message.Nonce = Options.
ProtocolValidator
.GenerateNonce();
799
Options.
ProtocolValidator
.ValidateAuthenticationResponse(new OpenIdConnectProtocolValidationContext()
895
Options.
ProtocolValidator
.ValidateTokenResponse(new OpenIdConnectProtocolValidationContext()
1091
Options.
ProtocolValidator
.ValidateUserInfoResponse(new OpenIdConnectProtocolValidationContext()
OpenIdConnectOptions.cs (1)
358
cookieOptions.Expires = expiresFrom.Add(_options.
ProtocolValidator
.NonceLifetime);