-
Notifications
You must be signed in to change notification settings - Fork 23
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use BasicAuthenticator from hummingbird-auth #89
Conversation
auth-jwt/Package.swift
Outdated
@@ -11,7 +11,7 @@ let package = Package( | |||
], | |||
dependencies: [ | |||
.package(url: "https://github.com/hummingbird-project/hummingbird.git", from: "2.0.0-rc.1"), | |||
.package(url: "https://github.com/hummingbird-project/hummingbird-auth.git", from: "2.0.0-beta.4"), | |||
.package(url: "https://github.com/hummingbird-project/hummingbird-auth.git", branch: "basic-auth"), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remember to revert before merging
sessions/Package.swift
Outdated
@@ -11,7 +11,7 @@ let package = Package( | |||
], | |||
dependencies: [ | |||
.package(url: "https://github.com/hummingbird-project/hummingbird.git", from: "2.0.0-rc.1"), | |||
.package(url: "https://github.com/hummingbird-project/hummingbird-auth.git", from: "2.0.0-beta.4"), | |||
.package(url: "https://github.com/hummingbird-project/hummingbird-auth.git", branch: "main"), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
All of these need updating of course
@@ -4,7 +4,7 @@ import HummingbirdAuth | |||
import HummingbirdFluent | |||
import WebAuthn | |||
|
|||
final class WebAuthnCredential: Model { | |||
final class WebAuthnCredential: Model, @unchecked Sendable { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fluent...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yep
Edit examples to use both BasicAuthenticator and SessionAuthenticator