Skip to content

0.4.0

Compare
Choose a tag to compare
@0xTim 0xTim released this 05 Aug 09:28

Vapor OAuth 0.4.0

This release contains some major tidy ups and improvements to the code quality (as well as making swiftlint happy. As part of this, a couple of API changes have occurred:

  • the OAuthClient initialiser has the ID parameter renamed back to userID for clarity. Note that it is still id under the hood to aid with Fluent integration
  • the AuthorizationHandler is now called with an AuthorizationRequestObject, which encapsulates all the information that you need, rather than passing everything in with 100 parameters