From 06b1587ab8a662a2d9fa051d95d8583f64a6deb5 Mon Sep 17 00:00:00 2001 From: "sentry-junior[bot]" <264270552+sentry-junior[bot]@users.noreply.github.com> Date: Thu, 22 Oct 2026 10:07:53 +0000 Subject: [PATCH] feat(rs-client)!: Remove deprecated TokenGenerator::sign Co-Authored-By: Lorenzo Cian <17258265+lcian@users.noreply.github.com> --- clients/rust/src/auth.rs | 6 ------ 1 file changed, 6 deletions(-) diff --git a/clients/rust/src/auth.rs b/clients/rust/src/auth.rs index 6e571e98..624a6609 100644 --- a/clients/rust/src/auth.rs +++ b/clients/rust/src/auth.rs @@ -153,12 +153,6 @@ impl TokenGenerator { self } - /// Deprecated. Use [`create_token`](Self::create_token) instead. - #[deprecated(note = "Use `create_token(scope).sign()` instead")] - pub fn sign(&self, scope: &Scope) -> crate::Result { - self.create_token(scope).sign() - } - /// Create a token for the given [`Scope`]. /// /// Use this to produce a static token that can be handed to an external service