ExOauth2Provider v0.3.1 ExOauth2Provider.Authorization View Source

Handler for dealing with generating access grants.

Link to this section Summary

Functions

Check ExOauth2Provider.Authorization.Code for usage

Check ExOauth2Provider.Authorization.Code for usage

Check ExOauth2Provider.Authorization.Code for usage

Link to this section Functions

Link to this function authorize(resource_owner, request) View Source
authorize(Ecto.Schema.t(), Map.t()) ::
  {:ok, String.t()}
  | {:error, Map.t(), integer()}
  | {:redirect, String.t()}
  | {:native_redirect, %{code: String.t()}}

Check ExOauth2Provider.Authorization.Code for usage.

Link to this function deny(resource_owner, request) View Source
deny(Ecto.Schema.t(), Map.t()) ::
  {:error, Map.t(), integer()} | {:redirect, String.t()}

Check ExOauth2Provider.Authorization.Code for usage.

Link to this function preauthorize(resource_owner, request) View Source
preauthorize(Ecto.Schema.t(), Map.t()) ::
  {:ok, Ecto.Schema.t(), [String.t()]}
  | {:error, Map.t(), integer()}
  | {:redirect, String.t()}
  | {:native_redirect, %{code: String.t()}}

Check ExOauth2Provider.Authorization.Code for usage.