Pristine.OAuth2.Interactive (Pristine v0.3.1)

Copy Markdown View Source

Interactive authorization-code orchestration for OAuth2 providers.

Summary

Types

io_device()

@type io_device() :: pid() | atom()

Functions

authorize(provider, opts \\ [])

@spec authorize(Pristine.OAuth2.Provider.t(), keyword()) ::
  {:ok, Pristine.OAuth2.Token.t()}
  | {:error, Pristine.OAuth2.Error.t() | term()}