You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -69,7 +69,7 @@ packagingOptions {
69
69
```
70
70
71
71
## Documentation
72
-
The `spotify-web-api-kotlin` JavaDocs are hosted at https://adamint.github.io/spotify-web-api-kotlin/spotify-web-api-kotlin/
72
+
The `spotify-web-api-kotlin` JavaDocs are hosted [here](https://adamint.github.io/spotify-web-api-kotlin-docs/spotify-web-api-kotlin/).
73
73
74
74
## Have a question?
75
75
If you have a question, you can:
@@ -97,7 +97,7 @@ By default, the SpotifyApi `Token` automatically regenerates when needed.
97
97
This can be changed by overriding the `automaticRefresh` builder setting.
98
98
99
99
There are four exposed builders, depending on the level of control you need over api creation.
100
-
Please see the [spotifyAppApi builder docs](https://adamint.github.io/spotify-web-api-kotlin/spotify-web-api-kotlin/com.adamratzman.spotify/spotify-app-api.html) for a full list of available builders.
100
+
Please see the [spotifyAppApi builder docs](https://adamint.github.io/spotify-web-api-kotlin-docs/spotify-web-api-kotlin/com.adamratzman.spotify/spotify-app-api.html) for a full list of available builders.
101
101
102
102
You will need:
103
103
- Spotify application client id
@@ -165,7 +165,7 @@ This library contains helpful methods that can be used to simplify the PKCE auth
165
165
This includes `getSpotifyPkceCodeChallenge` (not available in the Kotlin/JS target), which SHA256 hashes and base64url encodes the code
166
166
challenge, and `getPkceAuthorizationUrl`, which allows you to generate an easy authorization url for PKCE flow.
167
167
168
-
Please see the [spotifyClientPkceApi builder docs](https://adamint.github.io/spotify-web-api-kotlin/spotify-web-api-kotlin/com.adamratzman.spotify/spotify-client-pkce-api.html) for a full list of available builders.
168
+
Please see the [spotifyClientPkceApi builder docs](https://adamint.github.io/spotify-web-api-kotlin-docs/spotify-web-api-kotlin/com.adamratzman.spotify/spotify-client-pkce-api.html) for a full list of available builders.
169
169
170
170
**Takeaway**: Use PKCE authorization flow in applications where you cannot secure the client secret.
171
171
@@ -224,7 +224,7 @@ There are also several optional parameters, allowing you to set whether the auth
224
224
for implicit grant flow, the state, and whether a re-authorization dialog should be shown to users.
225
225
226
226
There are several exposed builders, depending on the level of control you need over api creation.
227
-
Please see the [spotifyClientApi builder docs](https://adamint.github.io/spotify-web-api-kotlin/spotify-web-api-kotlin/com.adamratzman.spotify/spotify-client-api.html) for a full list of available builders.
227
+
Please see the [spotifyClientApi builder docs](https://adamint.github.io/spotify-web-api-kotlin-docs/spotify-web-api-kotlin/com.adamratzman.spotify/spotify-client-api.html) for a full list of available builders.
228
228
229
229
##### Example: You've redirected the user back to your web server and have an authorization code (code).
230
230
In this example, automatic token refresh is turned on by default.
@@ -275,7 +275,7 @@ Some highlights about the flow are:
275
275
- It is client-side
276
276
- It does not require a client secret
277
277
278
-
Please see the [spotifyImplicitGrantApi builder docs](https://adamint.github.io/spotify-web-api-kotlin/spotify-web-api-kotlin/com.adamratzman.spotify/spotify-implicit-grant-api.html) for a full list of available builders.
278
+
Please see the [spotifyImplicitGrantApi builder docs](https://adamint.github.io/spotify-web-api-kotlin-docs/spotify-web-api-kotlin/com.adamratzman.spotify/spotify-implicit-grant-api.html) for a full list of available builders.
279
279
280
280
The Kotlin/JS target contains the `parseSpotifyCallbackHashToToken` method, which will parse the hash
281
281
for the current url into a Token object, with which you can then instantiate the api.
0 commit comments