2 writes to SecurityTokenValidator
Microsoft.AspNetCore.Authentication.OpenIdConnect (1)
OpenIdConnectOptions.cs (1)
48SecurityTokenValidator = _defaultHandler;
Microsoft.AspNetCore.Authentication.Test (1)
OpenIdConnect\OpenIdConnectEventTests.cs (1)
1290o.SecurityTokenValidator = new TestTokenValidator();
6 references to SecurityTokenValidator
Microsoft.AspNetCore.Authentication.OpenIdConnect (4)
OpenIdConnectHandler.cs (2)
1387if (!Options.SecurityTokenValidator.CanReadToken(idToken)) 1404var principal = Options.SecurityTokenValidator.ValidateToken(idToken, validationParameters, out SecurityToken validatedToken);
OpenIdConnectOptions.cs (2)
279/// This will be used instead of <see cref="SecurityTokenValidator"/> if <see cref="UseSecurityTokenValidator"/> is <see langword="false"/>. 400/// Gets or sets whether to use the <see cref="TokenHandler"/> or the <see cref="SecurityTokenValidator"/> for validating identity tokens.
Microsoft.AspNetCore.Authentication.Test (2)
OpenIdConnect\OpenIdConnectTests.cs (2)
378var jwtHandler = options.SecurityTokenValidator as JwtSecurityTokenHandler; 391var jwtHandler = options.SecurityTokenValidator as JwtSecurityTokenHandler;