C# Class PhotoEntity.Controllers.UserAccount

显示文件 Open project: peteratseneca/bti420winter2016 Class Usage Examples

Public Methods

Method Description
HasClaim ( string type, string value ) : bool
HasRoleClaim ( string value ) : bool
UserAccount ( ClaimsPrincipal user ) : System

Method Details

HasClaim() public method

public HasClaim ( string type, string value ) : bool
type string
value string
return bool

HasRoleClaim() public method

public HasRoleClaim ( string value ) : bool
value string
return bool

UserAccount() public method

public UserAccount ( ClaimsPrincipal user ) : System
user System.Security.Claims.ClaimsPrincipal
return System