code: def getMechanismName(self):
          
          if self._server_side:
              mech = self._authenticator.current_mech
              return mech.getMechanismName() if mech else None
          else:
              return getattr(self._authenticator, 'authMech', None)
docs: Return the authentication mechanism name.