C# Class Zetbox.API.Common.BasePrincipalResolver

Inheritance: IPrincipalResolver
Exibir arquivo Open project: daszat/zetbox

Public Methods

Method Description
GetCurrent ( ) : ZetboxPrincipal
Resolve ( IIdentity identity ) : ZetboxPrincipal

Protected Methods

Method Description
BasePrincipalResolver ( ILifetimeScope parentScope ) : System
Resolve ( string name ) : ZetboxPrincipal

Private Methods

Method Description
CheckScope ( ) : void

Method Details

BasePrincipalResolver() protected method

protected BasePrincipalResolver ( ILifetimeScope parentScope ) : System
parentScope ILifetimeScope
return System

GetCurrent() public abstract method

public abstract GetCurrent ( ) : ZetboxPrincipal
return ZetboxPrincipal

Resolve() public method

public Resolve ( IIdentity identity ) : ZetboxPrincipal
identity IIdentity
return ZetboxPrincipal

Resolve() protected method

protected Resolve ( string name ) : ZetboxPrincipal
name string
return ZetboxPrincipal