mirror of
https://github.com/Sarsoo/Spotify.NET.git
synced 2024-12-24 23:16:28 +00:00
34 lines
1.2 KiB
Markdown
34 lines
1.2 KiB
Markdown
---
|
|
id: getting_started
|
|
title: Getting Started
|
|
---
|
|
|
|
## Auth-Methods
|
|
|
|
Before you can use the Web API's full functionality, you need the user to authenticate your Application.
|
|
If you want to know more, you can read to the whole auth-process [here](https://developer.spotify.com/web-api/authorization-guide/).
|
|
|
|
Before you start, install `SpotifyAPI.Web.Auth` and create an application at Spotify: [Your Applications](https://developer.spotify.com/my-applications/#!/applications)
|
|
|
|
After you have created your Application, you will have following important values:
|
|
|
|
|Name|Description|
|
|
|--------------|-------------------------|-------------------------|
|
|
| **Client_Id** | This is your client_id, you don't have to hide it|
|
|
| **Client_Secret** | Never use this in one of your client-side apps! Keep it secret! |
|
|
| **Redirect URIs** | Some of auth flows require that you set the correct redirect URI |
|
|
|
|
Now you can start with the user-authentication. Spotify provides 3 ways (4 if you consider different implementations):
|
|
|
|
* [ImplicitGrantAuth](implicit_grant.md)
|
|
|
|
* [AutorizationCodeAuth](authorization_code.md)
|
|
|
|
* [ClientCredentialsAuth](client_credentials.md)
|
|
|
|
* [TokenSwapAuth](token_swap.md)
|
|
|
|
|
|
Overview:
|
|
![Overview](http://i.imgur.com/uf3ahTl.png)
|