Skip to content

Commit 0bdaf14

Browse files
Update KakaoTalk provider for .NET 5
Update the KakaoTalk provider to support .NET 5.
1 parent d55afcb commit 0bdaf14

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/AspNet.Security.OAuth.KakaoTalk/AspNet.Security.OAuth.KakaoTalk.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFrameworks>netcoreapp3.1</TargetFrameworks>
4+
<TargetFrameworks>net5.0</TargetFrameworks>
55
</PropertyGroup>
66

77
<PropertyGroup>

src/AspNet.Security.OAuth.KakaoTalk/KakaoTalkAuthenticationHandler.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ protected override async Task<AuthenticationTicket> CreateTicketAsync(
4040
context.RunClaimActions();
4141

4242
await Options.Events.CreatingTicket(context);
43-
return new AuthenticationTicket(context.Principal, context.Properties, Scheme.Name);
43+
return new AuthenticationTicket(context.Principal!, context.Properties, Scheme.Name);
4444
}
4545

4646
private async Task<JsonDocument> GetUserProfileAsync(

0 commit comments

Comments
 (0)