def locked_put(self, credentials):
        """Write Credentials to file.

        Args:
            credentials: Credentials, the credentials to store.
        """
        keyring.set_password(self._service_name, self._user_name,
                             credentials.to_json())
def locked_put(self, credentials):
        """Write Credentials to file.

        Args:
            credentials: Credentials, the credentials to store.
        """
        keyring.set_password(self._service_name, self._user_name,
                             credentials.to_json())
def locked_put ( self , credentials ) : keyring . set_password ( self . _service_name , self . _user_name , credentials . to_json ( ) )
Write Credentials to file.

        Args:
            credentials: Credentials, the credentials to store.
Write Credentials to file .