Auth Provider¶
After you've added the Auth Provider package to your project, setting the provider up in code is easy.
Add to Droplet¶
Register the AuthProvider.Provider with your Droplet in your Config+Setup.swift file:
import App
import AuthProvider
let config = try Config()
try config.addProvider(AuthProvider.Provider.self)
let drop = try Droplet(config)
...
Done¶
You are now ready to start using the Auth package.