Fakultas Ilmu Komputer UI

Commit c5a0f25e authored by Muhammad Rafif Elfazri's avatar Muhammad Rafif Elfazri
Browse files

add pipeline only to verify Authorization Bearer Header exist

parent d622e014
defmodule DiskuyWeb.Auth.PipelineAuthToken do
use Guardian.Plug.Pipeline, otp_app: :diskuy,
module: DiskuyWeb.Auth.Guardian,
error_handler: DiskuyWeb.Auth.ErrorHandler
plug Guardian.Plug.VerifyHeader
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment