plug_mishka_auth v0.0.2 MishkaAuth.Strategy View Source
Link to this section Summary
Link to this section Types
Specs
Specs
conn() :: Plug.Conn.t()
Specs
error_msg() :: String.t()
Specs
redirect_url() :: String.t()
Specs
strategy_type() :: atom()
Specs
token() :: String.t()
Specs
user_id() :: Ecto.UUID.t()
Link to this section Functions
Specs
auth_error_strategy(Plug.Conn.t(), atom(), [any()] | map(), any()) :: Plug.Conn.t()
Specs
failed_none_registered_user_routing( Plug.Conn.t(), map(), integer(), :refresh_token | :current_user | :current_token ) :: Plug.Conn.t()
Link to this function
none_registered_user_routing(conn, user_temporary_data, temporary_user_uniq_id, status, atom)
View SourceSpecs
none_registered_user_routing( Plug.Conn.t(), map(), user_id(), any(), :refresh_token | :current_user | :current_token ) :: Plug.Conn.t()
Specs
registered_user_routing( user_id(), Plug.Conn.t(), :current_user | :current_token | :refresh_token, auth_version() ) :: Plug.Conn.t()
Link to this function
saving_user_info_and_indentities(conn, user_temporary_data, temporary_user_uniq_id)
View SourceSpecs
saving_user_info_and_indentities(Plug.Conn.t(), map(), user_id()) :: Plug.Conn.t()