Skip to content

Commit 06b1587

Browse files
feat(rs-client)!: Remove deprecated TokenGenerator::sign
Co-Authored-By: Lorenzo Cian <17258265+lcian@users.noreply.github.com>
1 parent 60adc25 commit 06b1587

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)