pub struct SpotifyAuth { /* private fields */ }Expand description
Spotify authentication client.
Handles token operations via accounts.spotify.com/api/token.
Implementations§
Source§impl SpotifyAuth
impl SpotifyAuth
Sourcepub fn with_base_url(base_url: String) -> Self
pub fn with_base_url(base_url: String) -> Self
Create a new authentication client with a custom base URL.
Useful for testing with mock servers.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for SpotifyAuth
impl !RefUnwindSafe for SpotifyAuth
impl Send for SpotifyAuth
impl Sync for SpotifyAuth
impl Unpin for SpotifyAuth
impl !UnwindSafe for SpotifyAuth
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more