mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-10 01:25:21 +00:00
Update src/Interpreters/Session.h
Co-authored-by: Nikolay Degterinsky <43110995+evillique@users.noreply.github.com>
This commit is contained in:
parent
36014f739a
commit
185e715fc1
@ -53,8 +53,8 @@ public:
|
||||
void authenticate(const String & user_name, const String & password, const Poco::Net::SocketAddress & address);
|
||||
void authenticate(const Credentials & credentials_, const Poco::Net::SocketAddress & address_);
|
||||
|
||||
// Checks if user valid_until is higher than current time.
|
||||
// Throws exception if valid_until is less than current time.
|
||||
// Verifies whether the user's validity extends beyond the current time.
|
||||
// Throws an exception if the user's validity has expired.
|
||||
void checkIfUserIsStillValid();
|
||||
|
||||
/// Writes a row about login failure into session log (if enabled)
|
||||
|
Loading…
Reference in New Issue
Block a user