Created
March 23, 2019 21:10
-
-
Save zoltanarvai/6967e319ab750c55dfa5cd049a1980f0 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Pipeline for private apis, requires Authorisation header with Bearer token | |
pipeline :private do | |
plug :accepts, ["json"] | |
plug Auth.Guardian.Pipeline | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment