Skip to content
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

Merged
merged 11 commits into from
Aug 16, 2024
Merged

Conversation

adam-fowler
Copy link
Member

@adam-fowler adam-fowler commented Aug 11, 2024

Edit examples to use both BasicAuthenticator and SessionAuthenticator

@@ -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"),
Copy link
Member Author

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

@adam-fowler adam-fowler requested a review from Joannis August 13, 2024 07:33
@@ -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"),
Copy link
Member

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 {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fluent...

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yep

@adam-fowler adam-fowler merged commit 1f7fef3 into main Aug 16, 2024
1 check passed
@adam-fowler adam-fowler deleted the basic-authenticator branch August 16, 2024 12:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants