{"id":18321077,"url":"https://github.com/workos/workos-dotnet","last_synced_at":"2025-04-05T22:32:15.528Z","repository":{"id":37904117,"uuid":"289332269","full_name":"workos/workos-dotnet","owner":"workos","description":"Official .NET SDK for interacting with the WorkOS API ","archived":false,"fork":false,"pushed_at":"2025-03-28T14:06:45.000Z","size":306,"stargazers_count":17,"open_issues_count":6,"forks_count":10,"subscribers_count":17,"default_branch":"main","last_synced_at":"2025-04-02T20:50:19.416Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/workos.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-08-21T17:55:09.000Z","updated_at":"2025-03-29T19:09:20.000Z","dependencies_parsed_at":"2023-12-13T00:25:29.790Z","dependency_job_id":"bb28a0f0-9324-4288-b699-88eb01db9eb1","html_url":"https://github.com/workos/workos-dotnet","commit_stats":{"total_commits":112,"total_committers":17,"mean_commits":6.588235294117647,"dds":0.8303571428571428,"last_synced_commit":"78c83e6ce030fbd7f4e4d45a0b47c68eafc9d392"},"previous_names":["workos-inc/workos-dotnet"],"tags_count":45,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/workos%2Fworkos-dotnet","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/workos%2Fworkos-dotnet/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/workos%2Fworkos-dotnet/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/workos%2Fworkos-dotnet/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/workos","download_url":"https://codeload.github.com/workos/workos-dotnet/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247411234,"owners_count":20934650,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-05T18:18:16.984Z","updated_at":"2025-04-05T22:32:15.204Z","avatar_url":"https://github.com/workos.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# WorkOS .NET Library\n\n[![Packagist Version](https://img.shields.io/nuget/v/WorkOS.net)](https://www.nuget.org/packages/WorkOS.net)\n[![CI](https://github.com/workos/workos-dotnet/actions/workflows/ci.yml/badge.svg?branch=main)](https://github.com/workos/workos-dotnet/actions/workflows/ci.yml)\n\nThe WorkOS library for .NET provides convenient access to the WorkOS API from applications using .NET.\nSupports .NET Standard 2.0+ and .NET Framework 4.6.1+\n\n## Documentation\n\nSee the [API Reference](https://workos.com/docs/reference/client-libraries) for .NET usage examples.\n\n## Installation\n\nThere are several options to install the WorkOS .NET SDK.\n\n### Via the NuGet Package Manager\n\n```sh\nnuget install WorkOS.net\n```\n\n### Via the .NET Core Command Line Tools\n\n```sh\ndotnet add package WorkOS.net\n```\n\n### Via Visual Studio IDE\n\n```sh\nInstall-Package WorkOS.net\n```\n\n## Configuration\n\nTo use the WorkOS client, you must provide an API key from the WorkOS dashboard.\n\n```c#\nWorkOS.SetApiKey(\"sk_key123\");\n```\n\nYou can also optionally provide a custom [HttpClient](https://docs.microsoft.com/en-us/dotnet/api/system.net.http.httpclient).\n\n```c#\nvar client = new WorkOSClient(\n    new WorkOSOptions\n    {\n        ApiKey = \"sk_key123\",\n        HttpClient = ...,\n    });\nWorkOS.WorkOSClient = client;\n```\n\n## Development and Testing\n\nRun all tests with the following command:\n\n```sh\ndotnet test test/WorkOSTests/WorkOSTests.csproj\n```\n\nRun tests for a specific framework with the following command:\n\n```sh\ndotnet test test/WorkOSTests/WorkOSTests.csproj -f netcoreapp3.1\n```\n\n## SDK Versioning\n\nFor our SDKs WorkOS follows a Semantic Versioning process where all releases will have a version X.Y.Z (like 1.0.0) pattern wherein Z would be a bug fix (I.e. 1.0.1), Y would be a minor release (1.1.0) and X would be a major release (2.0.0). We permit any breaking changes to only be released in major versions and strongly recommend reading changelogs before making any major version upgrades.\n\n## Beta Releases\n\nWorkOS has features in Beta that can be accessed via Beta releases. We would love for you to try these\nand share feedback with us before these features reach general availability (GA). To install a Beta version,\nplease follow the [installation steps](#installation) above using the Beta release version.\n\n\u003e Note: there can be breaking changes between Beta versions. Therefore, we recommend pinning the package version to a\n\u003e specific version. This way you can install the same version each time without breaking changes unless you are\n\u003e intentionally looking for the latest Beta version.\n\nWe highly recommend keeping an eye on when the Beta feature you are interested in goes from Beta to stable so that you\ncan move to using the stable version.\n\n## More Information\n\n- [Single Sign-On Guide](https://workos.com/docs/sso/guide)\n- [Directory Sync Guide](https://workos.com/docs/directory-sync/guide)\n- [Admin Portal Guide](https://workos.com/docs/admin-portal/guide)\n- [Magic Link Guide](https://workos.com/docs/magic-link/guide)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fworkos%2Fworkos-dotnet","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fworkos%2Fworkos-dotnet","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fworkos%2Fworkos-dotnet/lists"}