Click or drag to resize

LocalSecurityRepository Constructor

Creates a new local security repository service

Namespace:  SanteDB.DisconnectedClient.Services.Local
Assembly:  SanteDB.DisconnectedClient.Core (in SanteDB.DisconnectedClient.Core.dll) Version: 2.2.1
Syntax
public LocalSecurityRepository(
	IRepositoryService<SecurityUser> userRepository,
	IRepositoryService<SecurityApplication> applicationRepository,
	IRepositoryService<SecurityRole> roleRepository,
	IRepositoryService<SecurityDevice> deviceRepository,
	IRepositoryService<SecurityPolicy> policyRepository,
	IRepositoryService<UserEntity> userEntityRepository,
	IDataPersistenceService<SecurityProvenance> provenanceRepository,
	IRoleProviderService roleProviderService,
	IIdentityProviderService identityProviderService,
	IApplicationIdentityProviderService applicationIdentityProvider,
	IDeviceIdentityProviderService deviceIdentityProvider
)

Parameters

userRepository
Type: SanteDB.Core.ServicesIRepositoryServiceSecurityUser

[Missing <param name="userRepository"/> documentation for "M:SanteDB.DisconnectedClient.Services.Local.LocalSecurityRepository.#ctor(SanteDB.Core.Services.IRepositoryService{SanteDB.Core.Model.Security.SecurityUser},SanteDB.Core.Services.IRepositoryService{SanteDB.Core.Model.Security.SecurityApplication},SanteDB.Core.Services.IRepositoryService{SanteDB.Core.Model.Security.SecurityRole},SanteDB.Core.Services.IRepositoryService{SanteDB.Core.Model.Security.SecurityDevice},SanteDB.Core.Services.IRepositoryService{SanteDB.Core.Model.Security.SecurityPolicy},SanteDB.Core.Services.IRepositoryService{SanteDB.Core.Model.Entities.UserEntity},SanteDB.Core.Services.IDataPersistenceService{SanteDB.Core.Model.Security.SecurityProvenance},SanteDB.Core.Security.Services.IRoleProviderService,SanteDB.Core.Security.Services.IIdentityProviderService,SanteDB.Core.Security.Services.IApplicationIdentityProviderService,SanteDB.Core.Security.Services.IDeviceIdentityProviderService)"]

applicationRepository
Type: SanteDB.Core.ServicesIRepositoryServiceSecurityApplication

[Missing <param name="applicationRepository"/> documentation for "M:SanteDB.DisconnectedClient.Services.Local.LocalSecurityRepository.#ctor(SanteDB.Core.Services.IRepositoryService{SanteDB.Core.Model.Security.SecurityUser},SanteDB.Core.Services.IRepositoryService{SanteDB.Core.Model.Security.SecurityApplication},SanteDB.Core.Services.IRepositoryService{SanteDB.Core.Model.Security.SecurityRole},SanteDB.Core.Services.IRepositoryService{SanteDB.Core.Model.Security.SecurityDevice},SanteDB.Core.Services.IRepositoryService{SanteDB.Core.Model.Security.SecurityPolicy},SanteDB.Core.Services.IRepositoryService{SanteDB.Core.Model.Entities.UserEntity},SanteDB.Core.Services.IDataPersistenceService{SanteDB.Core.Model.Security.SecurityProvenance},SanteDB.Core.Security.Services.IRoleProviderService,SanteDB.Core.Security.Services.IIdentityProviderService,SanteDB.Core.Security.Services.IApplicationIdentityProviderService,SanteDB.Core.Security.Services.IDeviceIdentityProviderService)"]

roleRepository
Type: SanteDB.Core.ServicesIRepositoryServiceSecurityRole

[Missing <param name="roleRepository"/> documentation for "M:SanteDB.DisconnectedClient.Services.Local.LocalSecurityRepository.#ctor(SanteDB.Core.Services.IRepositoryService{SanteDB.Core.Model.Security.SecurityUser},SanteDB.Core.Services.IRepositoryService{SanteDB.Core.Model.Security.SecurityApplication},SanteDB.Core.Services.IRepositoryService{SanteDB.Core.Model.Security.SecurityRole},SanteDB.Core.Services.IRepositoryService{SanteDB.Core.Model.Security.SecurityDevice},SanteDB.Core.Services.IRepositoryService{SanteDB.Core.Model.Security.SecurityPolicy},SanteDB.Core.Services.IRepositoryService{SanteDB.Core.Model.Entities.UserEntity},SanteDB.Core.Services.IDataPersistenceService{SanteDB.Core.Model.Security.SecurityProvenance},SanteDB.Core.Security.Services.IRoleProviderService,SanteDB.Core.Security.Services.IIdentityProviderService,SanteDB.Core.Security.Services.IApplicationIdentityProviderService,SanteDB.Core.Security.Services.IDeviceIdentityProviderService)"]

deviceRepository
Type: SanteDB.Core.ServicesIRepositoryServiceSecurityDevice

[Missing <param name="deviceRepository"/> documentation for "M:SanteDB.DisconnectedClient.Services.Local.LocalSecurityRepository.#ctor(SanteDB.Core.Services.IRepositoryService{SanteDB.Core.Model.Security.SecurityUser},SanteDB.Core.Services.IRepositoryService{SanteDB.Core.Model.Security.SecurityApplication},SanteDB.Core.Services.IRepositoryService{SanteDB.Core.Model.Security.SecurityRole},SanteDB.Core.Services.IRepositoryService{SanteDB.Core.Model.Security.SecurityDevice},SanteDB.Core.Services.IRepositoryService{SanteDB.Core.Model.Security.SecurityPolicy},SanteDB.Core.Services.IRepositoryService{SanteDB.Core.Model.Entities.UserEntity},SanteDB.Core.Services.IDataPersistenceService{SanteDB.Core.Model.Security.SecurityProvenance},SanteDB.Core.Security.Services.IRoleProviderService,SanteDB.Core.Security.Services.IIdentityProviderService,SanteDB.Core.Security.Services.IApplicationIdentityProviderService,SanteDB.Core.Security.Services.IDeviceIdentityProviderService)"]

policyRepository
Type: SanteDB.Core.ServicesIRepositoryServiceSecurityPolicy

[Missing <param name="policyRepository"/> documentation for "M:SanteDB.DisconnectedClient.Services.Local.LocalSecurityRepository.#ctor(SanteDB.Core.Services.IRepositoryService{SanteDB.Core.Model.Security.SecurityUser},SanteDB.Core.Services.IRepositoryService{SanteDB.Core.Model.Security.SecurityApplication},SanteDB.Core.Services.IRepositoryService{SanteDB.Core.Model.Security.SecurityRole},SanteDB.Core.Services.IRepositoryService{SanteDB.Core.Model.Security.SecurityDevice},SanteDB.Core.Services.IRepositoryService{SanteDB.Core.Model.Security.SecurityPolicy},SanteDB.Core.Services.IRepositoryService{SanteDB.Core.Model.Entities.UserEntity},SanteDB.Core.Services.IDataPersistenceService{SanteDB.Core.Model.Security.SecurityProvenance},SanteDB.Core.Security.Services.IRoleProviderService,SanteDB.Core.Security.Services.IIdentityProviderService,SanteDB.Core.Security.Services.IApplicationIdentityProviderService,SanteDB.Core.Security.Services.IDeviceIdentityProviderService)"]

userEntityRepository
Type: SanteDB.Core.ServicesIRepositoryServiceUserEntity

[Missing <param name="userEntityRepository"/> documentation for "M:SanteDB.DisconnectedClient.Services.Local.LocalSecurityRepository.#ctor(SanteDB.Core.Services.IRepositoryService{SanteDB.Core.Model.Security.SecurityUser},SanteDB.Core.Services.IRepositoryService{SanteDB.Core.Model.Security.SecurityApplication},SanteDB.Core.Services.IRepositoryService{SanteDB.Core.Model.Security.SecurityRole},SanteDB.Core.Services.IRepositoryService{SanteDB.Core.Model.Security.SecurityDevice},SanteDB.Core.Services.IRepositoryService{SanteDB.Core.Model.Security.SecurityPolicy},SanteDB.Core.Services.IRepositoryService{SanteDB.Core.Model.Entities.UserEntity},SanteDB.Core.Services.IDataPersistenceService{SanteDB.Core.Model.Security.SecurityProvenance},SanteDB.Core.Security.Services.IRoleProviderService,SanteDB.Core.Security.Services.IIdentityProviderService,SanteDB.Core.Security.Services.IApplicationIdentityProviderService,SanteDB.Core.Security.Services.IDeviceIdentityProviderService)"]

provenanceRepository
Type: SanteDB.Core.ServicesIDataPersistenceServiceSecurityProvenance

[Missing <param name="provenanceRepository"/> documentation for "M:SanteDB.DisconnectedClient.Services.Local.LocalSecurityRepository.#ctor(SanteDB.Core.Services.IRepositoryService{SanteDB.Core.Model.Security.SecurityUser},SanteDB.Core.Services.IRepositoryService{SanteDB.Core.Model.Security.SecurityApplication},SanteDB.Core.Services.IRepositoryService{SanteDB.Core.Model.Security.SecurityRole},SanteDB.Core.Services.IRepositoryService{SanteDB.Core.Model.Security.SecurityDevice},SanteDB.Core.Services.IRepositoryService{SanteDB.Core.Model.Security.SecurityPolicy},SanteDB.Core.Services.IRepositoryService{SanteDB.Core.Model.Entities.UserEntity},SanteDB.Core.Services.IDataPersistenceService{SanteDB.Core.Model.Security.SecurityProvenance},SanteDB.Core.Security.Services.IRoleProviderService,SanteDB.Core.Security.Services.IIdentityProviderService,SanteDB.Core.Security.Services.IApplicationIdentityProviderService,SanteDB.Core.Security.Services.IDeviceIdentityProviderService)"]

roleProviderService
Type: SanteDB.Core.Security.ServicesIRoleProviderService

[Missing <param name="roleProviderService"/> documentation for "M:SanteDB.DisconnectedClient.Services.Local.LocalSecurityRepository.#ctor(SanteDB.Core.Services.IRepositoryService{SanteDB.Core.Model.Security.SecurityUser},SanteDB.Core.Services.IRepositoryService{SanteDB.Core.Model.Security.SecurityApplication},SanteDB.Core.Services.IRepositoryService{SanteDB.Core.Model.Security.SecurityRole},SanteDB.Core.Services.IRepositoryService{SanteDB.Core.Model.Security.SecurityDevice},SanteDB.Core.Services.IRepositoryService{SanteDB.Core.Model.Security.SecurityPolicy},SanteDB.Core.Services.IRepositoryService{SanteDB.Core.Model.Entities.UserEntity},SanteDB.Core.Services.IDataPersistenceService{SanteDB.Core.Model.Security.SecurityProvenance},SanteDB.Core.Security.Services.IRoleProviderService,SanteDB.Core.Security.Services.IIdentityProviderService,SanteDB.Core.Security.Services.IApplicationIdentityProviderService,SanteDB.Core.Security.Services.IDeviceIdentityProviderService)"]

identityProviderService
Type: SanteDB.Core.Security.ServicesIIdentityProviderService

[Missing <param name="identityProviderService"/> documentation for "M:SanteDB.DisconnectedClient.Services.Local.LocalSecurityRepository.#ctor(SanteDB.Core.Services.IRepositoryService{SanteDB.Core.Model.Security.SecurityUser},SanteDB.Core.Services.IRepositoryService{SanteDB.Core.Model.Security.SecurityApplication},SanteDB.Core.Services.IRepositoryService{SanteDB.Core.Model.Security.SecurityRole},SanteDB.Core.Services.IRepositoryService{SanteDB.Core.Model.Security.SecurityDevice},SanteDB.Core.Services.IRepositoryService{SanteDB.Core.Model.Security.SecurityPolicy},SanteDB.Core.Services.IRepositoryService{SanteDB.Core.Model.Entities.UserEntity},SanteDB.Core.Services.IDataPersistenceService{SanteDB.Core.Model.Security.SecurityProvenance},SanteDB.Core.Security.Services.IRoleProviderService,SanteDB.Core.Security.Services.IIdentityProviderService,SanteDB.Core.Security.Services.IApplicationIdentityProviderService,SanteDB.Core.Security.Services.IDeviceIdentityProviderService)"]

applicationIdentityProvider
Type: SanteDB.Core.Security.ServicesIApplicationIdentityProviderService

[Missing <param name="applicationIdentityProvider"/> documentation for "M:SanteDB.DisconnectedClient.Services.Local.LocalSecurityRepository.#ctor(SanteDB.Core.Services.IRepositoryService{SanteDB.Core.Model.Security.SecurityUser},SanteDB.Core.Services.IRepositoryService{SanteDB.Core.Model.Security.SecurityApplication},SanteDB.Core.Services.IRepositoryService{SanteDB.Core.Model.Security.SecurityRole},SanteDB.Core.Services.IRepositoryService{SanteDB.Core.Model.Security.SecurityDevice},SanteDB.Core.Services.IRepositoryService{SanteDB.Core.Model.Security.SecurityPolicy},SanteDB.Core.Services.IRepositoryService{SanteDB.Core.Model.Entities.UserEntity},SanteDB.Core.Services.IDataPersistenceService{SanteDB.Core.Model.Security.SecurityProvenance},SanteDB.Core.Security.Services.IRoleProviderService,SanteDB.Core.Security.Services.IIdentityProviderService,SanteDB.Core.Security.Services.IApplicationIdentityProviderService,SanteDB.Core.Security.Services.IDeviceIdentityProviderService)"]

deviceIdentityProvider
Type: SanteDB.Core.Security.ServicesIDeviceIdentityProviderService

[Missing <param name="deviceIdentityProvider"/> documentation for "M:SanteDB.DisconnectedClient.Services.Local.LocalSecurityRepository.#ctor(SanteDB.Core.Services.IRepositoryService{SanteDB.Core.Model.Security.SecurityUser},SanteDB.Core.Services.IRepositoryService{SanteDB.Core.Model.Security.SecurityApplication},SanteDB.Core.Services.IRepositoryService{SanteDB.Core.Model.Security.SecurityRole},SanteDB.Core.Services.IRepositoryService{SanteDB.Core.Model.Security.SecurityDevice},SanteDB.Core.Services.IRepositoryService{SanteDB.Core.Model.Security.SecurityPolicy},SanteDB.Core.Services.IRepositoryService{SanteDB.Core.Model.Entities.UserEntity},SanteDB.Core.Services.IDataPersistenceService{SanteDB.Core.Model.Security.SecurityProvenance},SanteDB.Core.Security.Services.IRoleProviderService,SanteDB.Core.Security.Services.IIdentityProviderService,SanteDB.Core.Security.Services.IApplicationIdentityProviderService,SanteDB.Core.Security.Services.IDeviceIdentityProviderService)"]

See Also