flickrex v0.3.0 Flickrex.API.Auth

Provides authentication access to Flickr API.

See Flickrex for more documentation.

Summary

Functions

Fetches an access token from Flickr

Fetches a temporary token to authenticate the user to your application

Generates a Flickr authorization page URL for a user

Functions

fetch_access_token(client, request, oauth_verifier)
fetch_access_token(Flickrex.Client.t, Flickrex.Client.Request.t, binary) ::
  Flickrex.Schema.Access.t |
  {:error, term}

Fetches an access token from Flickr

fetch_request_token(client, params \\ [])
fetch_request_token(Flickrex.Client.t, Keyword.t) ::
  {:ok, Flickrex.Client.Request.t} |
  {:error, binary}

Fetches a temporary token to authenticate the user to your application

Options

  • oauth_callback - For web apps, the URL to redirect the user to after completing the authorization sequence. The URL will include query params oauth_token and oauth_verifier. If this option is not set, the user will be presented with a verification code that they must present to your application manually.
get_authorize_url(request, params \\ [])
get_authorize_url(Flickrex.Client.Request.t, Keyword.t) :: binary

Generates a Flickr authorization page URL for a user