File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed
src/AspNet.Security.OpenId/Events Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change 9
9
using JetBrains . Annotations ;
10
10
using Microsoft . AspNetCore . Authentication ;
11
11
using Microsoft . AspNetCore . Http ;
12
+ using Microsoft . AspNetCore . Http . Authentication ;
12
13
using Newtonsoft . Json . Linq ;
13
14
14
15
namespace AspNet . Security . OpenId {
@@ -45,6 +46,11 @@ public OpenIdAuthenticatedContext(
45
46
/// </summary>
46
47
public string Identifier => Ticket ? . Principal ? . FindFirst ( ClaimTypes . NameIdentifier ) ? . Value ;
47
48
49
+ /// <summary>
50
+ /// Gets the authentication properties associated with the ticket.
51
+ /// </summary>
52
+ public AuthenticationProperties Properties => Ticket ? . Properties ;
53
+
48
54
/// <summary>
49
55
/// Gets or sets the attributes associated with the current user.
50
56
/// </summary>
You can’t perform that action at this time.
0 commit comments