vapor / auth

👤 Authentication and Authorization framework for Fluent.
53 stars 34 forks source link

Export Crypto #33

Closed 0xTim closed 6 years ago

0xTim commented 6 years ago

Export Crypto in Authentication so using things like the BCryptDigest for setting up a password verifier don't require an import Crypto

Joannis commented 6 years ago

You can also export only BCrypt

0xTim commented 6 years ago

@Joannis BCrypt isn't its own module now and is inside the Crypto module

Joannis commented 6 years ago

@0xTim I'm aware. @exported import class Crypto.BCryptHasher would work

tanner0101 commented 6 years ago

@0xTim this should follow the pattern of other packages and do all exports in a top-level Exports.swift file.

0xTim commented 6 years ago

@tanner0101 updated

tanner0101 commented 6 years ago

thanks!

penny-coin commented 6 years ago

Hey @0xTim, you just merged a pull request, have a coin!

You now have 6 coins.