Skip to content

Commit 7c6f0da

Browse files
committed
RUBY-890 Add mechanism name to MONGODB-CR
1 parent 5991474 commit 7c6f0da

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

lib/mongo/auth/cr.rb

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,11 @@ module Auth
2222
# @since 2.0.0
2323
class CR
2424

25+
# The authentication mechinism string.
26+
#
27+
# @since 2.0.0
28+
MECHANISM = 'MONGODB-CR'.freeze
29+
2530
# @return [ Mongo::Auth::User ] The user to authenticate.
2631
attr_reader :user
2732

0 commit comments

Comments
 (0)