hunter v0.1.0 Hunter.Application

Application entity

This module defines a Hunter.Application struct and the main functions for working with Applications.

Fields

  • name - name of the application
  • website - homepage URL of the application
  • scope - access scopes
  • redirect_uri -

Scopes

  • read - read data
  • write - post statuses and upload media for statuses
  • follow - follow, unfollow, block, unblock

Multiple scopes can be requested during the authorization phase with the scope query param

Summary

Functions

Register a new OAuth client app on the target instance

Types

t()
t() :: %Hunter.Application{name: String.t, redirect_uri: URI.t, scopes: String.t, website: URI.t}

Functions

create_app(conn, name, redirect_uri, scopes \\ "read", website \\ nil)

Register a new OAuth client app on the target instance

Parameters

  • conn - connection credentials
  • name -
  • redirect_uri -
  • scopes -
  • website -