View Source Mobilizon.GraphQL.Resolvers.Application (Mobilizon v5.0.0-beta.1)

Handles the Application-related GraphQL calls.

Summary

Functions

Link to this function

activate_device(parent, arg2, arg3)

View Source
Link to this function

authorize(parent, args, arg3)

View Source
@spec authorize(any(), map(), Absinthe.Resolution.t()) ::
  {:ok, map()} | {:error, String.t()}

Authorize an application

Link to this function

authorize_device_application(parent, arg2, arg3)

View Source
@spec authorize_device_application(any(), map(), Absinthe.Resolution.t()) ::
  {:ok, map()} | {:error, String.t()}
Link to this function

get_application(parent, arg2, arg3)

View Source
@spec get_application(any(), map(), Absinthe.Resolution.t()) ::
  {:ok, Mobilizon.Applications.Application.t()}
  | {:error, :application_not_found | :unauthenticated}
Link to this function

get_user_applications(parent, args, arg3)

View Source
Link to this function

revoke_application_token(parent, arg2, arg3)

View Source