Spotify.NET/SpotifyAPI.Docs/versioned_docs/version-5.1.1/auth/getting_started.md

34 lines
1.2 KiB
Markdown
Raw Normal View History

2020-05-13 17:25:42 +01:00
---
id: getting_started
title: Getting Started
---
2019-08-16 23:40:04 +01:00
## Auth-Methods
2020-01-09 19:27:54 +00:00
Before you can use the Web API's full functionality, you need the user to authenticate your Application.
2019-08-16 23:40:04 +01:00
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)
2020-01-09 19:27:54 +00:00
After you have created your Application, you will have following important values:
2020-05-13 17:25:42 +01:00
2019-08-16 23:40:04 +01:00
|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 |
2020-01-09 19:27:54 +00:00
Now you can start with the user-authentication. Spotify provides 3 ways (4 if you consider different implementations):
2019-08-16 23:40:04 +01:00
2020-05-13 17:25:42 +01:00
* [ImplicitGrantAuth](implicit_grant.md)
* [AutorizationCodeAuth](authorization_code.md)
2019-08-16 23:40:04 +01:00
2020-05-13 17:25:42 +01:00
* [ClientCredentialsAuth](client_credentials.md)
2019-08-16 23:40:04 +01:00
2020-05-13 17:25:42 +01:00
* [TokenSwapAuth](token_swap.md)
2019-08-16 23:40:04 +01:00
Overview:
![Overview](http://i.imgur.com/uf3ahTl.png)