public ContasController() { _authApp = GlobalConfiguration.Configuration.DependencyResolver.GetService(typeof(IOAuthApp)) as OAuthApp; }
public SimpleAuthorizationServerProvider(IOAuthApp authApp) { _oauthApp = GlobalConfiguration.Configuration.DependencyResolver.GetService(typeof(IOAuthApp)) as OAuthApp; }