def scopes(self, scopes):
        """Set scopes.

        :param scopes: The list of scopes.
        """
        validate_scopes(scopes)
        self._scopes = " ".join(set(scopes)) if scopes else ""
def scopes ( self , scopes ) : validate_scopes ( scopes ) self . _scopes = " " . join ( set ( scopes ) ) if scopes else ""
Set scopes.

        :param scopes: The list of scopes.