Identity Domain Provider

IIdentityDomainRepositoryService in assembly SanteDB.Core.Api version 3.0.1980.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 (IdentityDomain) objects simpler by including methods for getting domains by name and URI

Operations

Operation
Response/Return
Input/Parameter
Description

Get

IdentityDomain

String domain

Get by domain

Get

IdentityDomain

Uri uri

Get by domain

Implementations

LocalIdentityDomainRepository - (SanteDB.Core.Api)

Represents a repository service for managing assigning authorities.

Service Registration

...
<section xsi:type="ApplicationServiceContextConfigurationSection" threadPoolSize="4">
	<serviceProviders>
		...
		<add type="SanteDB.Core.Services.Impl.Repository.LocalIdentityDomainRepository, SanteDB.Core.Api, Version=3.0.1980.0, Culture=neutral, PublicKeyToken=null" />
		...
	</serviceProviders>

Example Implementation

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

References

Last updated