haskell-servant / servant-auth

160 stars 73 forks source link

HasSecurity type class #114

Closed tshinohara closed 6 years ago

tshinohara commented 6 years ago

I have a servant API which has a custom authentication method. toSwagger requires HasSecurity instance for the authentication method data type, but HasSecurity type class is not exported. Is there a problem if we export HasSecurity type class?

alpmestan commented 6 years ago

If it is needed for defining new auth methods, it should absolutely be exported yes :-)