Astarte.Flow.Auth.Guardian.Plug (astarte_flow v0.1.0)

Link to this section Summary

Link to this section Functions

Link to this function

authenticated?(conn, opts \\ [])

Link to this function

clear_remember_me(conn, opts \\ [])

Link to this function

current_claims(conn, opts \\ [])

Link to this function

current_resource(conn, opts \\ [])

Link to this function

current_token(conn, opts \\ [])

Link to this function

implementation()

@spec implementation() :: Astarte.Flow.Auth.Guardian
Link to this function

put_current_claims(conn, claims, opts \\ [])

Link to this function

put_current_resource(conn, resource, opts \\ [])

Link to this function

put_current_token(conn, token, opts \\ [])

Link to this function

put_session_token(conn, token, opts \\ [])

Link to this function

remember_me(conn, resource, claims \\ %{}, opts \\ [])

Link to this function

remember_me_from_token(conn, token, claims \\ %{}, opts \\ [])

@spec remember_me_from_token(
  Plug.Conn.t(),
  Guardian.Token.token(),
  Guardian.Token.claims(),
  Guardian.options()
) :: Plug.Conn.t()
Link to this function

sign_in(conn, resource, claims \\ %{}, opts \\ [])

Link to this function

sign_out(conn, opts \\ [])