C# Class SitecoreOwinFederator.Pipelines.HttpRequest.LoginHelper

Datei anzeigen Open project: BasLijten/SitecoreFederatedLogin Class Usage Examples

Public Methods

Method Description
AddClaimsInfo ( User user, ClaimsIdentity claimsIdentity ) : void

Adds the claims information.

Login ( IPrincipal principal ) : void

Logins the specified user.

Private Methods

Method Description
GetGroups ( ClaimsIdentity claimsIdentity ) : IEnumerable

Gets the group names.

GetRoleName ( string roleName ) : string

Gets the name of the role.

WriteClaimsInfo ( ClaimsIdentity claimsIdentity ) : void

Writes the claims information.

Method Details

AddClaimsInfo() public method

Adds the claims information.
public AddClaimsInfo ( User user, ClaimsIdentity claimsIdentity ) : void
user User The user.
claimsIdentity System.Security.Claims.ClaimsIdentity The claims identity.
return void

Login() public method

Logins the specified user.
public Login ( IPrincipal principal ) : void
principal IPrincipal
return void