C# Class Organizr.IdentityConfig

Show file Open project: Cellenza/Organizr

Public Methods

Method Description
AddRoleClaims ( IEnumerable roles, IList claims ) : void
AddUserIdentityClaims ( string userId, string displayName, IList claims ) : void
ConfigureIdentity ( ) : void
RemoveUserIdentityClaims ( IEnumerable claims ) : IList
SignIn ( System.Web.HttpContextBase context, IEnumerable userClaims, bool isPersistent ) : void

Method Details

AddRoleClaims() public static method

public static AddRoleClaims ( IEnumerable roles, IList claims ) : void
roles IEnumerable
claims IList
return void

AddUserIdentityClaims() public static method

public static AddUserIdentityClaims ( string userId, string displayName, IList claims ) : void
userId string
displayName string
claims IList
return void

ConfigureIdentity() public static method

public static ConfigureIdentity ( ) : void
return void

RemoveUserIdentityClaims() public static method

public static RemoveUserIdentityClaims ( IEnumerable claims ) : IList
claims IEnumerable
return IList

SignIn() public static method

public static SignIn ( System.Web.HttpContextBase context, IEnumerable userClaims, bool isPersistent ) : void
context System.Web.HttpContextBase
userClaims IEnumerable
isPersistent bool
return void