diff options
Diffstat (limited to 'src/mongo/db/auth/authorization_session.h')
-rw-r--r-- | src/mongo/db/auth/authorization_session.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mongo/db/auth/authorization_session.h b/src/mongo/db/auth/authorization_session.h index 81cfdc466d0..e260d859651 100644 --- a/src/mongo/db/auth/authorization_session.h +++ b/src/mongo/db/auth/authorization_session.h @@ -144,6 +144,9 @@ public: // multiple users are authenticated, this method will throw an exception. User* getSingleUser(); + // Is authenticated as at least one user. + bool isAuthenticated(); + // Gets an iterator over the names of all authenticated users stored in this manager. UserNameIterator getAuthenticatedUserNames(); |