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 applicationwebsite
- homepage URL of the applicationscope
- access scopesredirect_uri
-
Scopes
read
- read datawrite
- post statuses and upload media for statusesfollow
- 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
Functions
create_app(conn, name, redirect_uri, scopes \\ "read", website \\ nil)
create_app(Hunter.Client.t, String.t, URI.t, String.t, String.t) :: Hunter.Application.t
Register a new OAuth client app on the target instance
Parameters
conn
- connection credentialsname
-redirect_uri
-scopes
-website
-