public OAuthClient(OAuthSettings configuration)
		{
			_provider = new LoginProvider
			{
				AppId = configuration.ClientId,
				AppSecret = configuration.ClientSecret,
				Definition = new GenericLoginProviderDefinition(new GenericProvider(configuration))
			};
		}
 public AuthenticationSettings()
 {
     ConnectionString = "";
     Facebook = new FacebookSettings
         {
             AppId = "",
             AppSecret = ""
         };
     OAuth = new OAuthSettings
         {
             AuthorizationEndpoint = "",
             ClientId = "",
             ClientSecret = "",
             TokenEndpoint = "",
             UserInfoEndpoint = ""
         };
     Password = new PasswordSettings
         {
             UseSalt = false,
             Iterations = 1
         };
 }
		public GenericProvider(OAuthSettings configuration)
		{
			AuthorizationEndpointUri = configuration.AuthorizationEndpoint;
			TokenEndpointUri = configuration.TokenEndpoint;
			UserInfoEndpoint = configuration.UserInfoEndpoint;
		}