Swiftpack.co - Package - vapor/auth

Github

link
Stars: 9
Help us keep the lights on

Dependencies

Releases

1.2.1 - Sep 19, 2017

Fixed:

  • Fixed basic auth separator parsing.

Milestone

1.2.0 - Sep 13, 2017

New:

  • Swift 4 support

Milestone

1.1.0 - Jul 20, 2017

New:

  • Add AuthorizationHeader initializers.

Milestone

1.0.0 - May 18, 2017

Authentication and Authorization layer for Fluent.

1.0.0-beta.2 - May 5, 2017

New:

  • PR #6

The signature for verifying passwords in the PasswordVerifier has been changed to make it nicer to call and to fit in with real implementations.

When verifying your password it now looks like:

let passwordVerified = passwordVerifier.verify(password: password, matches: hash)

They verify function now takes Bytes as the default argument but there is an extension for anything conforming to BytesConvertible.