Fixed 'requestAuthInfos()' not public.
This commit is contained in:
parent
99884b3d9b
commit
dbdfee6fb5
@ -35,7 +35,7 @@ simpleAuthenticator::simpleAuthenticator(const string& username, const string& p
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
const authenticationInfos simpleAuthenticator::getAuthInfos() const
|
const authenticationInfos simpleAuthenticator::requestAuthInfos() const
|
||||||
{
|
{
|
||||||
return (authenticationInfos(m_username, m_password));
|
return (authenticationInfos(m_username, m_password));
|
||||||
}
|
}
|
||||||
|
@ -44,12 +44,12 @@ public:
|
|||||||
|
|
||||||
defaultAuthenticator(weak_ref <session> session, const string& prefix);
|
defaultAuthenticator(weak_ref <session> session, const string& prefix);
|
||||||
|
|
||||||
|
const authenticationInfos requestAuthInfos() const;
|
||||||
|
|
||||||
private:
|
private:
|
||||||
|
|
||||||
weak_ref <session> m_session;
|
weak_ref <session> m_session;
|
||||||
const string m_prefix;
|
const string m_prefix;
|
||||||
|
|
||||||
const authenticationInfos requestAuthInfos() const;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
@ -46,12 +46,12 @@ public:
|
|||||||
const string& getPassword() const;
|
const string& getPassword() const;
|
||||||
void setPassword(const string& password);
|
void setPassword(const string& password);
|
||||||
|
|
||||||
|
const authenticationInfos requestAuthInfos() const;
|
||||||
|
|
||||||
private:
|
private:
|
||||||
|
|
||||||
string m_username;
|
string m_username;
|
||||||
string m_password;
|
string m_password;
|
||||||
|
|
||||||
const authenticationInfos getAuthInfos() const;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user