C# Class Cats.Services.Security.UserIdentity

Inheritance: IIdentity
Show file Open project: edgecomputing/cats Class Usage Examples

Public Methods

Method Description
SetPermissions ( string permissions ) : void
UserIdentity ( UserInfo info ) : System.Collections
UserIdentity ( UserProfile user ) : System.Collections
UserIdentity ( int userId, UserAccountService service, UserInfo userInfo, string store, string application ) : System.Collections
UserIdentity ( string userName ) : System.Collections

Private Methods

Method Description
IsInRole ( string role ) : bool

Method Details

SetPermissions() public method

public SetPermissions ( string permissions ) : void
permissions string
return void

UserIdentity() public method

public UserIdentity ( UserInfo info ) : System.Collections
info Cats.Models.Security.UserInfo
return System.Collections

UserIdentity() public method

public UserIdentity ( UserProfile user ) : System.Collections
user Cats.Models.Security.UserProfile
return System.Collections

UserIdentity() public method

public UserIdentity ( int userId, UserAccountService service, UserInfo userInfo, string store, string application ) : System.Collections
userId int
service UserAccountService
userInfo Cats.Models.Security.UserInfo
store string
application string
return System.Collections

UserIdentity() public method

public UserIdentity ( string userName ) : System.Collections
userName string
return System.Collections