Skip to content

Commit ebc4dee

Browse files
feat(rs-client)!: Remove deprecated TokenGenerator::sign (#716)
`TokenGenerator::sign(scope)` was deprecated in #545 when token minting moved to the `TokenRequest` builder. This removes it. Co-authored-by: sentry-junior[bot] <264270552+sentry-junior[bot]@users.noreply.github.com> Co-authored-by: Lorenzo Cian <17258265+lcian@users.noreply.github.com>
1 parent 7a1cd17 commit ebc4dee

1 file changed

Lines changed: 0 additions & 6 deletions

File tree

‎clients/rust/src/auth.rs‎

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -153,12 +153,6 @@ impl TokenGenerator {
153153
self
154154
}
155155

156-
/// Deprecated. Use [`create_token`](Self::create_token) instead.
157-
#[deprecated(note = "Use `create_token(scope).sign()` instead")]
158-
pub fn sign(&self, scope: &Scope) -> crate::Result<String> {
159-
self.create_token(scope).sign()
160-
}
161-
162156
/// Create a token for the given [`Scope`].
163157
///
164158
/// Use this to produce a static token that can be handed to an external service

0 commit comments

Comments
 (0)