https://github.com/bigbuildbench/auth0_auth0.net

https://github.com/bigbuildbench/auth0_auth0.net

Science Score: 13.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
  • DOI references
  • Academic publication links
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (12.3%) to scientific vocabulary
Last synced: 10 months ago · JSON representation

Repository

Basic Info
  • Host: GitHub
  • Owner: BigBuildBench
  • License: mit
  • Language: C#
  • Default Branch: master
  • Size: 14.4 MB
Statistics
  • Stars: 0
  • Watchers: 0
  • Forks: 0
  • Open Issues: 0
  • Releases: 0
Created over 1 year ago · Last pushed over 1 year ago
Metadata Files
Readme Changelog License Codeowners Security

README.md

.NET client for Auth0 Authentication and Management APIs

Release Downloads License AzureDevOps

:books: Documentation - :rocket: Getting Started - :computer: API Reference - :speech_balloon: Feedback

Documentation

  • Docs site - explore our docs site and learn more about Auth0.

Getting started

Requirements

This library supports .NET Standard 2.0 and .NET Framework 4.6.2 as well as later versions of both.

Management API

Installation

powershell Install-Package Auth0.ManagementApi

Usage

Generate a token for the API calls you wish to make (see Access Tokens for the Management API). Create an instance of the ManagementApiClient class with the token and the API URL of your Auth0 instance:

csharp var client = new ManagementApiClient("your token", new Uri("https://YOUR_AUTH0_DOMAIN/api/v2"));

The API calls are divided into groups which correlate to the Management API documentation. For example all Connection related methods can be found under the ManagementApiClient.Connections property. So to get a list of all database (Auth0) connections, you can make the following API call:

csharp await client.Connections.GetAllAsync("auth0");

Authentication API

Installation

powershell Install-Package Auth0.AuthenticationApi

Usage

To use the Authentication API, create a new instance of the AuthenticationApiClient class, passing in the URL of your Auth0 instance, e.g.:

csharp var client = new AuthenticationApiClient(new Uri("https://YOUR_AUTH0_DOMAIN"));

Authentication

This library contains URL Builders which will assist you with constructing an authentication URL, but does not actually handle the authentication/authorization flow for you. It is suggested that you refer to the Quickstart tutorials for guidance on how to implement authentication for your specific platform.

Important note on state validation: If you choose to use the AuthorizationUrlBuilder to construct the authorization URL and implement a login flow callback yourself, it is important to generate and store a state value (using WithState) and validate it in your callback URL before exchanging the authorization code for the tokens.

Feedback

Contributing

We appreciate feedback and contribution to this repo! Before you get started, please see the following:

Raise an issue

To provide feedback or report a bug, please raise an issue on our issue tracker.

Vulnerability Reporting

Please do not report security vulnerabilities on the public GitHub issue tracker. The Responsible Disclosure Program details the procedure for disclosing security issues.


Auth0 Logo

Auth0 is an easy to implement, adaptable authentication and authorization platform. To learn more checkout Why Auth0?

This project is licensed under the MIT license. See the LICENSE file for more info.

Owner

  • Name: BigBuildBench
  • Login: BigBuildBench
  • Kind: organization

abbr. B3, benchmarking the repo-level understanding capability of your LLMs by reconstructing project build-file.

GitHub Events

Total
  • Create event: 4
Last Year
  • Create event: 4

Dependencies

.github/actions/get-prerelease/action.yml actions
.github/actions/get-release-notes/action.yml actions
  • actions/github-script v7 composite
.github/actions/get-version/action.yml actions
.github/actions/nuget-publish/action.yml actions
  • actions/checkout v4 composite
  • actions/setup-dotnet v3 composite
.github/actions/release-create/action.yml actions
  • softprops/action-gh-release de2c0eb89ae2a093876385947365aca7b0e5f844 composite
.github/actions/tag-exists/action.yml actions
.github/workflows/build.yml actions
  • actions/cache/restore v3 composite
  • actions/cache/save v3 composite
  • actions/checkout v3 composite
  • actions/setup-dotnet v3 composite
.github/workflows/nuget-release.yml actions
  • ./.github/actions/get-prerelease * composite
  • ./.github/actions/get-release-notes * composite
  • ./.github/actions/get-version * composite
  • ./.github/actions/nuget-publish * composite
  • ./.github/actions/release-create * composite
  • ./.github/actions/tag-exists * composite
  • actions/checkout v4 composite
.github/workflows/release.yml actions
.github/workflows/semgrep.yml actions
  • actions/checkout v3 composite
.github/workflows/snyk.yml actions
  • actions/checkout v4 composite
  • actions/setup-dotnet v3 composite
playground/Auth0.NET6/Auth0.NET6.csproj nuget
playground/Auth0.NETCore3/Auth0.NETCore3.csproj nuget
playground/Auth0.NETFramework/Auth0.NETFramework.csproj nuget
src/Auth0.AuthenticationApi/Auth0.AuthenticationApi.csproj nuget
src/Auth0.Core/Auth0.Core.csproj nuget
src/Auth0.ManagementApi/Auth0.ManagementApi.csproj nuget
tests/Auth0.AuthenticationApi.IntegrationTests/Auth0.AuthenticationApi.IntegrationTests.csproj nuget
tests/Auth0.Core.UnitTests/Auth0.Core.UnitTests.csproj nuget
tests/Auth0.IntegrationTests.Shared/Auth0.IntegrationTests.Shared.csproj nuget
tests/Auth0.ManagementApi.IntegrationTests/Auth0.ManagementApi.IntegrationTests.csproj nuget