C# Class _09_PerRouteMHOwnershipSample.MessageHandlers.MyShopAuthHandler

Inheritance: WebAPIDoodle.Http.BasicAuthenticationHandler
Mostrar archivo Open project: tugberkugurlu/AdvancedWebAPI

Protected Methods

Method Description
AuthenticateUser ( HttpRequestMessage request, string username, string password, CancellationToken cancellationToken ) : IPrincipal

Private Methods

Method Description
isUserValid ( Customer customer, string password ) : bool

Method Details

AuthenticateUser() protected method

protected AuthenticateUser ( HttpRequestMessage request, string username, string password, CancellationToken cancellationToken ) : IPrincipal
request System.Net.Http.HttpRequestMessage
username string
password string
cancellationToken System.Threading.CancellationToken
return IPrincipal