![]() |
VOOZH | about |
dotnet add package Udap.Tefca.Server --version 0.8.5
NuGet\Install-Package Udap.Tefca.Server -Version 0.8.5
<PackageReference Include="Udap.Tefca.Server" Version="0.8.5" />
<PackageVersion Include="Udap.Tefca.Server" Version="0.8.5" />Directory.Packages.props
<PackageReference Include="Udap.Tefca.Server" />Project file
paket add Udap.Tefca.Server --version 0.8.5
#r "nuget: Udap.Tefca.Server, 0.8.5"
#:package Udap.Tefca.Server@0.8.5
#addin nuget:?package=Udap.Tefca.Server&version=0.8.5Install as a Cake Addin
#tool nuget:?package=Udap.Tefca.Server&version=0.8.5Install as a Cake Tool
TEFCA community-specific validators for UDAP registration and token issuance, implementing the TEFCA SOP: Facilitated FHIR Implementation v2.0 requirements.
Register both the TEFCA model extensions and the validators:
// Register TEFCA authorization extension types (tefca_ias, etc.)
builder.Services.AddUdapTefcaExtensions();
// Register TEFCA community validators
builder.Services.AddUdapTefcaValidation(options =>
{
options.Communities.Add("tefca://test-community");
});
AddUdapTefcaExtensions() comes from the package and registers TEFCA-specific authorization extension object types. Call it before AddUdapTefcaValidation().
The default community URI (tefca://tefca) is included automatically. Use the options delegate to add additional communities.
| Rule | client_credentials |
authorization_code |
|---|---|---|
| Required extensions | hl7-b2b |
none |
Allowed purpose_of_use |
12 TEFCA XP codes | 12 TEFCA XP codes |
Max purpose_of_use count |
1 | 1 |
| POU must match SAN URI | yes | yes |
IAS + client_creds requires tefca_ias |
yes | n/a |
The allowed purpose_of_use codes come from the TEFCA SOP: Exchange Purposes v4.0 (OID: 2.16.840.1.113883.3.7204.1.5.2.1):
T-TREAT, T-REQTREAT, T-HPO, T-PAY, T-COC, T-HEDIS, T-QMR, T-PH, T-ECR, T-ELR, T-IAS, T-GBD
At dynamic client registration time, TefcaRegistrationValidator validates that the client certificate's SAN URI contains a valid TEFCA Exchange Purpose code in the fragment (e.g., https://example.com/fhir#T-TREAT).
When a client is registered with exchange purpose T-IAS and requests a client_credentials token, the tefca_ias authorization extension object must be present in the request (SOP v2.0 Section 6.11).
| Rule | SSRAA | TEFCA |
|---|---|---|
hl7-b2b required |
client_credentials only |
client_credentials only |
| Allowed POU codes | 62 (HL7 v3 full set) | 12 (TEFCA XP subset) |
| Max POU count | unlimited | 1 |
| POU must match SAN URI | no | yes |
| Registration validation | none | SAN URI XP code validation |
| IAS support | n/a | tefca_ias AEO required |
TefcaTokenValidator and TefcaRegistrationValidator implement ICommunityTokenValidator and ICommunityRegistrationValidator respectively. At runtime:
TefcaRegistrationValidator checks if the client's SAN URI contains a valid XP code fragmentTefcaTokenValidator returns rules for the grant type, then validates that the purpose_of_use in the hl7-b2b extension matches the registered SAN URI's XP codeSee for the full auth server setup and the for a working reference.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net8.0 net8.0 is compatible. net8.0-android net8.0-android was computed. net8.0-browser net8.0-browser was computed. net8.0-ios net8.0-ios was computed. net8.0-maccatalyst net8.0-maccatalyst was computed. net8.0-macos net8.0-macos was computed. net8.0-tvos net8.0-tvos was computed. net8.0-windows net8.0-windows was computed. net9.0 net9.0 is compatible. net9.0-android net9.0-android was computed. net9.0-browser net9.0-browser was computed. net9.0-ios net9.0-ios was computed. net9.0-maccatalyst net9.0-maccatalyst was computed. net9.0-macos net9.0-macos was computed. net9.0-tvos net9.0-tvos was computed. net9.0-windows net9.0-windows was computed. net10.0 net10.0 is compatible. net10.0-android net10.0-android was computed. net10.0-browser net10.0-browser was computed. net10.0-ios net10.0-ios was computed. net10.0-maccatalyst net10.0-maccatalyst was computed. net10.0-macos net10.0-macos was computed. net10.0-tvos net10.0-tvos was computed. net10.0-windows net10.0-windows was computed. |
This package is not used by any NuGet packages.
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 0.8.5 | 84 | 6/16/2026 |
| 0.8.4 | 99 | 5/30/2026 |
| 0.8.3 | 107 | 5/29/2026 |
| 0.8.2 | 102 | 5/22/2026 |
| 0.8.1 | 98 | 5/20/2026 |
| 0.8.0 | 100 | 5/15/2026 |
| 0.7.13 | 91 | 5/15/2026 |
| 0.7.12 | 117 | 4/1/2026 |
| 0.7.11 | 102 | 3/31/2026 |
| 0.7.10 | 101 | 3/31/2026 |
| 0.7.9 | 105 | 3/31/2026 |
| 0.7.8 | 104 | 3/30/2026 |
| 0.7.7 | 101 | 3/30/2026 |
| 0.7.6 | 105 | 3/30/2026 |
| 0.7.5 | 103 | 3/30/2026 |
| 0.7.4 | 105 | 3/29/2026 |
| 0.7.3 | 107 | 3/29/2026 |
| 0.7.2 | 111 | 3/28/2026 |