Namespace Quantellia.WMServer.Auth
Namespace that provides authentication, authorization and application access control.
Classes
APIKey
Fields tracked against each API key.
AuthDbContext
Entity Framework DB Context for security model.
JWTParams
The configuration parameters necessary to defne a JSON Web Token (JWT).
JoinPermissionAssign
Class that assigns Permissions to WMPrincipals.
JoinPolicyAssign
Class that joins a Policy to a IPolicyAssignable instance.
JoinUserRoleWMUser
JoinWMUserWMOrganization
Assigns a WMUser to membership of a WMOrganization./
LoginController
Controller for the REST login
interface.
LoginController.APIKeyArgs
Arguments required to by the apiKey REST interface.
LoginController.LoginArgs
Arguments required for the login REST interface
LoginController.RefreshTokenArgs
Arguments required for the refreshToken rest interface
Permission
Specifies a specific application permission as a resource-operation pair. This represents the permission to perform the specified operation on the specified resource type.
Policy
Represents a collection of Permissions allowing them to be handled as a single right of access.
Token
Manages JWT (JSON Web Token) instances.
UserController
Controller class for the User
REST interface
UserController.WMUserArgs
Class to represent arguments to WMUser that are visible to external services.
UserProfile
Stub. Not used in this version.
UserRole
Domain values defining roles that can be assigned to users. These can be associated with Permissions and Policys.
UserRoleController
Controller for REST actions that managed the UserRole domain of values.
WMAccessDeniedException
Custom Exception class to indicate an access request has been denied.
WMAccessManager
Manages access privileges throughout the WM API
WMOrganization
Implements organizations as instances of a WMPrincipal. Organizations can have access rights granted to them, which many be inherited by the WMUsers assigned to them.
WMPrincipal
Abstract base class representing an entity to which access privileges can be granted.
WMUser
Class representing users as WMPrincipal instances to which access privileges can be granted, and ownership of objects assigned.
WMUserDTO
Data Transfer Object that implements the persistent data storage interface for the WMUser class.
Interfaces
IPermissionAssignable
Must be implemented by all classes to which Permissions can be assigned.
IPolicyAssignable
Implemented by all classes to which a collection of Policy items can be assigned.
IWMPrincipalOwned
Must be implemented by all classes that represent objects owned by a WMPrincipal
Enums
PrincipalStatus
Status of a WMPrincipal (Active or Inactive)