C# Class Floream.People.FloreamUserMapper

Inheritance: Nancy.Authentication.Forms.IUserMapper
Datei anzeigen Open project: AVADOLearning/floream-we-are

Public Methods

Method Description
FloreamUserMapper ( PeopleContext people ) : System
GetUserFromIdentifier ( System.Guid identifier, Nancy context ) : Nancy.Security.IUserIdentity

Get user from the database

Method Details

FloreamUserMapper() public method

public FloreamUserMapper ( PeopleContext people ) : System
people Floream.People.DataSources.Context.PeopleContext
return System

GetUserFromIdentifier() public method

Get user from the database
public GetUserFromIdentifier ( System.Guid identifier, Nancy context ) : Nancy.Security.IUserIdentity
identifier System.Guid
context Nancy
return Nancy.Security.IUserIdentity