def write_credentials(self):
        """Write credentials.

        Write credentials to credentials store.

        Returns:
            Return value of self.storage.write_credentials()

        """
        c = self.get_credentials()
        return self.storage.write_credentials(
            credentials=c, profile=self.profile,
            cache_token=self.cache_token
        )
Write credentials.

        Write credentials to credentials store.

        Returns:
            Return value of self.storage.write_credentials()