Module auth

Source
Expand description

Authentication methods

Modules§

login
Authentication by login.

Structs§

AuthResponse
Authentication response.

Functions§

auth_url
Format genius authentication URL, the result is a URL. client_id and redirect_uri ​​are found at https://genius.com/api-clients.
authenticate
Transform the code in a token, the result is AuthResponse. code expires so be very light on this operation. The response token will be level client.