OAuthCreatingTicketContext.Identity Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the main identity exposed by the authentication ticket.
This property returns null
when the ticket is null
.
public:
property System::Security::Claims::ClaimsIdentity ^ Identity { System::Security::Claims::ClaimsIdentity ^ get(); };
public System.Security.Claims.ClaimsIdentity Identity { get; }
public System.Security.Claims.ClaimsIdentity? Identity { get; }
member this.Identity : System.Security.Claims.ClaimsIdentity
Public ReadOnly Property Identity As ClaimsIdentity
Property Value
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Kommer snart: Under hela 2024 kommer vi att fasa ut GitHub-problem som feedbackmekanism för innehåll och ersätta det med ett nytt feedbacksystem. Mer information finns i:Skicka och visa feedback för