View Source Boruta.Oauth.BearerToken (Boruta core v2.1.5)

OAuth bearer token utilities

Provide utilities to manipulate bearer tokens as stated in RFC 6750 - Bearer token usage

Link to this section Summary

Link to this section Functions

@spec extract_token(conn :: Plug.Conn.t()) ::
  {:ok, access_token :: String.t()} | {:error, error :: Boruta.Oauth.Error.t()}