C# Class Thinktecture.IdentityModel.Utility.ClaimsViewer

This class contains helpers to dump an IClaimsPrincipal to various outputs
Exibir arquivo Open project: IdentityModel/Thinktecture.IdentityModel.v1

Public Methods

Method Description
ShowAspNet ( IClaimsPrincipal principal, Page page ) : void

Dumps an IClaimsPrincipal to an ASP.NET page.

ShowConsole ( IClaimsPrincipal principal ) : void

Dumps an IClaimsPrincipal to the console.

ShowForm ( IClaimsPrincipal principal ) : void

Dumps an IClaimsPrincipal to a Windows form.

Private Methods

Method Description
AddIdentityToPage ( IClaimsIdentity identity, Page page ) : void

Method Details

ShowAspNet() public static method

Dumps an IClaimsPrincipal to an ASP.NET page.
public static ShowAspNet ( IClaimsPrincipal principal, Page page ) : void
principal IClaimsPrincipal The principal.
page System.Web.UI.Page The page.
return void

ShowConsole() public static method

Dumps an IClaimsPrincipal to the console.
public static ShowConsole ( IClaimsPrincipal principal ) : void
principal IClaimsPrincipal The principal.
return void

ShowForm() public static method

Dumps an IClaimsPrincipal to a Windows form.
public static ShowForm ( IClaimsPrincipal principal ) : void
principal IClaimsPrincipal The principal.
return void