KartaWeb. APIScope
(Karta v1.0.0)
Lets a request through only when its API key (assigned by
KartaWeb.APIAuth) has the scope given as the option, e.g.
plug KartaWeb.APIScope, "messages:send" when action in [:create].
Otherwise it halts with {:missing_scope, scope} from the errors module
KartaWeb.APIAuth was given.