1#if !defined(UserAgentServerAuthManager_hxx)
2#define UserAgentServerAuthManager_hxx
This class is used to provide server digest authentication capabilities.
virtual bool isMyRealm(const resip::Data &realm)
should return true if realm passed in is ours and we can challenge
virtual const resip::Data & getChallengeRealm(const resip::SipMessage &msg)
returns the realm to be used for the challenge
virtual bool proxyAuthenticationMode() const
virtual bool useAuthInt() const
virtual bool authorizedForThisIdentity(const resip::Data &user, const resip::Data &realm, resip::Uri &fromUri)
should return true if the passed in user is authorized for the provided uri
virtual resip::AsyncBool requiresChallenge(const resip::SipMessage &msg)
should return true if the request must be challenged The default is to challenge all requests - overr...
~UserAgentServerAuthManager()
virtual void requestCredential(const resip::Data &user, const resip::Data &realm, const resip::SipMessage &msg, const resip::Auth &auth, const resip::Data &transactionId)
This class is one of two main classes of concern to an application using the UserAgent library.
Represents the "credentials" and "challenge" elements in the SIP grammar.
An alternative to std::string, encapsulates an arbitrary buffer of bytes.
Represents a SIP message.
Represents the "SIP-URI" and "SIPS-URI" elements in the RFC 3261 grammar.