oauth_axum/providers/
spotify.rs

1use crate::CustomProvider;
2
3pub struct SpotifyProvider {}
4
5impl SpotifyProvider {
6    pub fn new(client_id: String, client_secret: String, redirect_url: String) -> CustomProvider {
7        CustomProvider::new(
8            String::from("https://accounts.spotify.com/authorize"),
9            String::from("https://accounts.spotify.com/api/token"),
10            client_id,
11            client_secret,
12            redirect_url,
13        )
14    }
15}