-
Notifications
You must be signed in to change notification settings - Fork 69
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
Re auth #689
Re auth #689
Conversation
a7e3976
to
791c227
Compare
Neo4j.Driver/Neo4j.Driver/Internal/Connector/PooledConnection.cs
Outdated
Show resolved
Hide resolved
Neo4j.Driver/Neo4j.Driver/Internal/Connector/SocketConnection.cs
Outdated
Show resolved
Hide resolved
Neo4j.Driver/Neo4j.Driver/Internal/Services/DateTimeProvider.cs
Outdated
Show resolved
Hide resolved
Reauth handling for routing, and 5.0 protocol.
|
||
namespace Neo4j.Driver.Auth; | ||
|
||
public record AuthTokenAndExpiration |
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.
class doesn't have documentation
Neo4j.Driver/Neo4j.Driver.Tests/Internal/Protocol/BoltProtocolV3Tests.cs
Show resolved
Hide resolved
Assembly | ||
.GetExecutingAssembly() | ||
.DefinedTypes | ||
.Where(t => t.IsAssignableTo(typeof(IProtocolObject)))); |
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.
While this is nicer one issue it leads to is all the classes being highlighted as unused, we could disable that check on all of them though
…ns for uninitialized connections
…andlers. fix unit tests
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.
Reauth.
Re-Authentication (preview)
Introduces updated authentication APIs which cover several features.
AuthTokenManagers (5.9 API Docs)
AuthTokenManagers allows the creation of a new IAuthTokenManager instance which can be then be used when instantiating a driver instance preview interface.
Session Tokens (5.9 API Docs)
Sessions can now be configured with an auth token.
Session tokens require server version 5.6+ this can be checked for with
IDriver.SupportsSessionAuthAsync
5.9 API DocsPreview status & Feedback wanted
Introduced in preview status so APIs could see change.
Any feedback is welcome: Discussion.