ISecurityRepositoryService
ISecurityRepositoryService
in assembly SanteDB.Core.Api version 2.1.151.0
Summary
Security repository service is responsible for the maintenance of security entities
Operations
Operation | Response/Return | Input/Parameter | Description |
---|---|---|---|
ChangePassword | SecurityUser | Guid userId String password | Changes a user's password. |
GetProviderEntity | Provider | IIdentity identity | Gets the specified provider entity from the specified identity |
CreateUser | SecurityUser | SecurityUser userInfo String password | Creates a user with a specified password. |
GetUser | SecurityUser | String userName | Get a user by user name |
GetDevice | SecurityDevice | String deviceName | Get a device by name |
GetApplication | SecurityApplication | String applicationName | Get a app by name |
GetPolicy | SecurityPolicy | String policyOid | Get the specified security policy by OID |
GetRole | SecurityRole | String roleName | Gets a specific role. |
LockDevice | void | Guid key | Locks a device principal |
LockApplication | void | Guid key | Locks an application |
UnlockDevice | void | Guid key | Removes a lock from a device |
UnlockApplication | void | Guid key | Removes a lock from an application |
GetUser | SecurityUser | IIdentity identity | Get a user by user name |
GetDevice | SecurityDevice | IIdentity identity | Get a device by name |
GetApplication | SecurityApplication | IIdentity identity | Get a app by name |
GetUserEntity | UserEntity | IIdentity identity | Get the user entity |
LockUser | void | Guid userId | Locks a specific user. |
UnlockUser | void | Guid userId | Unlocks a specific user. |
GetProvenance | SecurityProvenance | Guid provenanceId | Get the provenance object |
GetSecurityEntity | SecurityEntity | IPrincipal principal | Get the data object for the provided |
FindProvenance | IEnumerable<SecurityProvenance> | Expression<Func<SecurityProvenance,Boolean>> query Int32 offset Nullable<Int32> count Int32& totalResults Guid queryId ModelSort`1[] orderBy | Find provenance objects matching the specified object |
Implementations
LocalSecurityRepositoryService - (SanteDB.Server.Core)
Represents a security repository service that uses the direct local services
Service Registration
Example Implementation
References
Last updated