{
namespace Microsoft.AspNetCore.Authentication.OpenIdConnect {
public class OpenIdConnectOptions : RemoteAuthenticationOptions {
+ public bool UsePkce { get; set; }
}
public class UserInformationReceivedContext : RemoteAuthenticationContext<OpenIdConnectOptions> {
- public JObject User { get; set; }
+ public JsonDocument User { get; set; }
}
}
namespace Microsoft.AspNetCore.Authentication.OpenIdConnect.Claims {
public class UniqueJsonKeyClaimAction : JsonKeyClaimAction {
- public override void Run(JObject userData, ClaimsIdentity identity, string issuer);
+ public override void Run(JsonElement userData, ClaimsIdentity identity, string issuer);
}
}
- namespace Microsoft.AspNetCore.Builder {
{
- public static class OpenIdConnectAppBuilderExtensions {
{
- public static IApplicationBuilder UseOpenIdConnectAuthentication(this IApplicationBuilder app);
- public static IApplicationBuilder UseOpenIdConnectAuthentication(this IApplicationBuilder app, OpenIdConnectOptions options);
- }
- }
}