1 instantiation of TokenValidatedContext
Microsoft.AspNetCore.Authentication.OpenIdConnect (1)
OpenIdConnectHandler.cs (1)
1124var context = new TokenValidatedContext(Context, Scheme, Options, user, properties)
12 references to TokenValidatedContext
Microsoft.AspNetCore.Authentication.OpenIdConnect (10)
Events\OpenIdConnectEvents.cs (2)
57public Func<TokenValidatedContext, Task> OnTokenValidated { get; set; } = context => Task.CompletedTask; 110public virtual Task TokenValidated(TokenValidatedContext context) => OnTokenValidated(context);
Events\TokenValidatedContext.cs (2)
12/// A context for <see cref="OpenIdConnectEvents.TokenValidated(TokenValidatedContext)"/>. 17/// Creates a <see cref="TokenValidatedContext"/>
OpenIdConnectHandler.cs (4)
677var tokenValidatedContext = await RunTokenValidatedEventAsync(authorizationResponse, null, user, properties, jwt, nonce); 760var tokenValidatedContext = await RunTokenValidatedEventAsync(authorizationResponse, tokenEndpointResponse, tokenEndpointUser, properties, tokenEndpointJwt, nonce); 1122private async Task<TokenValidatedContext> RunTokenValidatedEventAsync(OpenIdConnectMessage authorizationResponse, OpenIdConnectMessage? tokenEndpointResponse, ClaimsPrincipal user, AuthenticationProperties properties, JwtSecurityToken jwt, string? nonce) 1124var context = new TokenValidatedContext(Context, Scheme, Options, user, properties)
OpenIdConnectOptions.cs (2)
407/// SecurityTokenValidator can be used when <see cref="TokenValidatedContext.SecurityToken"/> needs a <see cref="JwtSecurityToken"/>. 408/// When using TokenHandler, <see cref="TokenValidatedContext.SecurityToken"/> will be a <see cref="JsonWebToken"/>.
Microsoft.AspNetCore.Authentication.Test (2)
OpenIdConnect\OpenIdConnectEventTests.cs (1)
1181public override Task TokenValidated(TokenValidatedContext context)
OpenIdConnect\OpenIdConnectEventTests_Handler.cs (1)
1181public override Task TokenValidated(TokenValidatedContext context)