Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
The purpose of this package is provide the instance for 'servant-auth' combinators needed for 'servant-swagger' documentation generation.
Currently only JWT and BasicAuth are supported.
Re-export
data Auth auths val :: [*] -> * -> * #
Auth [auth1, auth2] val :> api
represents an API protected *either* by
auth1
or auth2
Orphan instances
(AllHasSecurity xs, HasSwagger * api) => HasSwagger * ((:>) * * (Auth xs r) api) Source # | |