/* ====================================================================
 * Copyright (c) 2003-2006, Martin Hauner
 *
 * Subcommander is licensed as described in the file doc/COPYING, which
 * you should have received as part of this distribution.
 * ====================================================================
 */

#ifndef _SC_AUTHPROMPTPROVIDER_H
#define _SC_AUTHPROMPTPROVIDER_H

// sc
#include "svn/AuthPromptProvider.h"

class AuthPromptProvider : public svn::AuthPromptProvider
{
public:
  bool simplePrompt( const char* realm, const char* username, bool maySave,
    svn::AuthPromptProvider::simpleCredentials& cred );

  bool sslServerTrustPrompt( const char* realm, unsigned long failures,
    const svn::AuthPromptProvider::sslServerCertInfo& certinfo, bool maySave,
    svn::AuthPromptProvider::sslServerTrustCredentials& cred );
};


#endif //  _SC_AUTHPROMPTPROVIDER_H

