Skip to content

Commit ebc5278

Browse files
committed
Fixed links and added some more regarding auth
1 parent a6f2baa commit ebc5278

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

SpotifyAPI.Docs/docs/authorization_code.md

+4
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,8 @@ var config = SpotifyClientConfig
6161
var spotify = new SpotifyClient(config);
6262
```
6363

64+
For a real example, have a look at [Example.ASP](https://github.com/JohnnyCrazy/SpotifyAPI-NET/tree/master/SpotifyAPI.Web.Examples/Example.ASP). This also uses the great package `AspNet.Security.OAuth.Spotify` which takes care of the OAuth flow inside of `ASP.NET`.
65+
6466
## Using Spotify.Web.Auth
6567

6668
For cross-platform CLI and desktop apps (non `UWP` apps), `Spotify.Web.Auth` can be used to supply a small embedded Web Server for the code retrieval.
@@ -102,3 +104,5 @@ private static async Task OnAuthorizationCodeReceived(object sender, Authorizati
102104
// do calls with spotify and save token?
103105
}
104106
```
107+
108+
For real examples, have a look at [Example.CLI.PersistentConfig](https://github.com/JohnnyCrazy/SpotifyAPI-NET/tree/master/SpotifyAPI.Web.Examples/Example.CLI.PersistentConfig) and [Example.CLI.CustomHTML](https://github.com/JohnnyCrazy/SpotifyAPI-NET/tree/master/SpotifyAPI.Web.Examples/Example.CLI.CustomHTML)

SpotifyAPI.Docs/docs/implicit_grant.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ protected override void OnActivated(IActivatedEventArgs args)
7171
}
7272
```
7373

74-
For a real example, have a look at the [UWP Example](https://github.com/JohnnyCrazy/SpotifyAPI-NET/tree/v6/SpotifyAPI.Web.Examples/Example.UWP)
74+
For a real example, have a look at the [Example.UWP](https://github.com/JohnnyCrazy/SpotifyAPI-NET/tree/master/SpotifyAPI.Web.Examples/Example.UWP), [Example.ASP](https://github.com/JohnnyCrazy/SpotifyAPI-NET/tree/master/SpotifyAPI.Web.Examples/Example.ASP) or [Example.ASPBlazor](https://github.com/JohnnyCrazy/SpotifyAPI-NET/tree/master/SpotifyAPI.Web.Examples/Example.ASPBlazor)
7575

7676
# Using Spotify.Web.Auth
7777

@@ -103,4 +103,4 @@ private static async Task OnImplictGrantReceived(object sender, ImplictGrantResp
103103
}
104104
```
105105

106-
For real examples, have a look at [Example.CLI.PersistentConfig](https://github.com/JohnnyCrazy/SpotifyAPI-NET/tree/v6/SpotifyAPI.Web.Examples/Example.CLI.PersistentConfig) and [Example.CLI.CustomHTML](https://github.com/JohnnyCrazy/SpotifyAPI-NET/tree/v6/SpotifyAPI.Web.Examples/Example.CLI.CustomHTML)
106+
For real examples, have a look at [Example.CLI.PersistentConfig](https://github.com/JohnnyCrazy/SpotifyAPI-NET/tree/master/SpotifyAPI.Web.Examples/Example.CLI.PersistentConfig) and [Example.CLI.CustomHTML](https://github.com/JohnnyCrazy/SpotifyAPI-NET/tree/master/SpotifyAPI.Web.Examples/Example.CLI.CustomHTML)

0 commit comments

Comments
 (0)