Module auth

Source

Structs§

Account
Information about a user, available after authentication.
TokenResponse
Response for obtaining an access token. Really the only field you need is the access_token, but the other fields are provided for convenience.

Functions§

get_auth_token
Obtain an access token from an instance using an authorization code. The registered_app and app need to be matching.
verify_credentials
Verify an obtained token and obtain information about the user.