vapor / fluent

Vapor ORM (queries, models, and relations) for NoSQL and SQL databases
https://docs.vapor.codes/4.0/fluent/overview/
MIT License
1.3k stars 171 forks source link

Extend ModelCredentialsAuthenticatable with async authenticator #743

Closed petralli closed 1 year ago

petralli commented 1 year ago

Actually, the ModelCredentialsAuthenticatable protocol only expose the credentialsAuthenticator (future).

To allow to easy override the authenticate function with async code, it should also expose an asyncCredentialsAuthenticator (async).