C# Class Thinktecture.IdentityModel.Extensions.IPrincipalExtensions

Extension methods for IPrincipal
Show file Open project: IdentityModel/Thinktecture.IdentityModel.v1

Public Methods

Method Description
AsClaimsPrincipal ( this principal ) : IClaimsPrincipal

Casts an IPrincipal to an IClaimsPrincipal.

Method Details

AsClaimsPrincipal() public static method

Casts an IPrincipal to an IClaimsPrincipal.
public static AsClaimsPrincipal ( this principal ) : IClaimsPrincipal
principal this The principal.
return IClaimsPrincipal