Identity Domain Provider

IAssigningAuthorityRepositoryService in assembly SanteDB.Core.Api version 2.1.151.0

Summary

Represents a repository service for managing assigning authorities.

Description

This specialized IRepositoryService is intended to add functionality to make the management of identity domains (AssigningAuthority) objects simpler by including methods for getting domains by name and URI

Operations

OperationResponse/ReturnInput/ParameterDescription

Get

AssigningAuthority

String domain

Get by domain

Get

AssigningAuthority

Uri uri

Get by domain

Implementations

LocalAssigningAuthorityRepository - (SanteDB.Server.Core)

Represents a repository service for managing assigning authorities.

Service Registration

...
<section xsi:type="ApplicationServiceContextConfigurationSection" threadPoolSize="4">
	<serviceProviders>
		...
		<add type="SanteDB.Server.Core.Services.Impl.LocalAssigningAuthorityRepository, SanteDB.Server.Core, Version=2.1.151.0, Culture=neutral, PublicKeyToken=null" />
		...
	</serviceProviders>

Example Implementation

/// Example Implementation
using SanteDB.Core.Services;
/// Other usings here
public class MyAssigningAuthorityRepositoryService : SanteDB.Core.Services.IAssigningAuthorityRepositoryService { 
	public String ServiceName => "My own IAssigningAuthorityRepositoryService service";
	/// <summary>
	/// Get by domain
	/// </summary>
	public AssigningAuthority Get(String domain){
		throw new System.NotImplementedException();
	}
	/// <summary>
	/// Get by domain
	/// </summary>
	public AssigningAuthority Get(Uri uri){
		throw new System.NotImplementedException();
	}
}

References

Last updated