ClaimsAuthenticationManager.Authenticate Method (String, ClaimsPrincipal)
Assembly: System.IdentityModel (in System.IdentityModel.dll)
public virtual ClaimsPrincipal Authenticate( string resourceName, ClaimsPrincipal incomingPrincipal )
The address of the resource that is being requested.
The claims principal that represents the authenticated user that is attempting to access the resource.
Return ValueType: System.Security.Claims.ClaimsPrincipal
A claims principal that contains any modifications necessary for the RP application. The default implementation returns the incoming claims principal unmodified.
The ClaimsPrincipal.method is called from the request processing pipeline You can override this method in a derived class to filter, modify, or inject claims into the claims principal according to the policy of your RP application. Depending on the requirements of the RP application, you can even return a custom implementation of
Available since 4.5