Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/d0pare/aspnetcore.identity.neo4j
ASP.NET Core Identity provider based on Neo4j
https://github.com/d0pare/aspnetcore.identity.neo4j
aspnet-core aspnet-core-identity neo4j
Last synced: 29 days ago
JSON representation
ASP.NET Core Identity provider based on Neo4j
- Host: GitHub
- URL: https://github.com/d0pare/aspnetcore.identity.neo4j
- Owner: d0pare
- License: other
- Created: 2017-10-11T16:26:14.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2022-12-08T03:42:48.000Z (about 2 years ago)
- Last Synced: 2024-11-20T22:20:10.981Z (about 1 month ago)
- Topics: aspnet-core, aspnet-core-identity, neo4j
- Language: C#
- Homepage:
- Size: 85.9 KB
- Stars: 6
- Watchers: 2
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: License.txt
Awesome Lists containing this project
README
# AspNetCore.Identity.Neo4j
AspNetCore.Identity.Neo4j [Nuget library](https://www.nuget.org/packages/AspNetCore.Identity.Neo4j/) is using official [Neo4j.Driver](https://www.nuget.org/packages/Neo4j.Driver/) to connect to Neo4j graph database.
### Minimal setup
``` cs
public void ConfigureServices(IServiceCollection services)
{
services.AddSingleton(s => GraphDatabase.Driver(Configuration.GetConnectionString("DefaultConnection"), AuthTokens.Basic("neo4j", "neo4j")));
services.AddScoped(s => s.GetService().Session());services.AddIdentity()
.AddNeo4jDataStores()
.AddDefaultTokenProviders();...
}
```