lib/mongo/auth/stringprep.rb in mongo-2.12.4 vs lib/mongo/auth/stringprep.rb in mongo-2.13.0.beta1
- old
+ new
@@ -1,6 +1,6 @@
-# Copyright (C) 2018-2019 MongoDB, Inc.
+# Copyright (C) 2018-2020 MongoDB Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
@@ -15,14 +15,15 @@
require 'mongo/auth/stringprep/tables'
require 'mongo/auth/stringprep/profiles/sasl'
module Mongo
module Auth
- # This namespace contains all behavior related to string preparation (RFC 3454). It's used to
- # implement SCRAM-SHA-256 authentication, which is available in MongoDB server versions 4.0 and
- # up.
+ # This namespace contains all behavior related to string preparation
+ # (RFC 3454). It's used to implement SCRAM-SHA-256 authentication,
+ # which is available in MongoDB server versions 4.0 and later.
#
# @since 2.6.0
+ # @api private
module StringPrep
extend self
# Prepare a string given a set of mappings and prohibited character tables.
#