Namespace IRM.AspNetCore.Identity
Classes
The AuditEventHandler<TAudit> is responsible for auditing different events on a user. |
Provides the APIs for auditing various identity related events (sign-in, create user, change password). |
Options for configuring auditing. |
AuthenticationPropertiesExtensions Microsoft.AspNetCore.Authentication.AuthenticationProperties extension methods for easier access to some things. |
Constants of common item keys used for an Microsoft.AspNetCore.Authentication.AuthenticationProperties |
Represents serializable settings for Azure AD that can be used with a pre-configured Azure AD authentication scheme. |
Extension methods for determine if it is BankId. |
Base class for configuration builders. |
Represents a claim filter that removes claims from Principal. |
Represents a module that a tenant has bought. |
Represent an on-going processing of claims in the context of a IClaimFilter<TUser> |
Constants of claim filter callers. |
Extension methods for System.Security.Claims.ClaimsPrincipal. |
CommonAuthenticationSchemeOptions Represents serializable settings for all commom authentication schemes that does not have any configurable settings. |
Constants of common authentication schemes. |
CommonMappingClaimFilter<TUser> Maps common WS claim types to the OpenIdConnect claim types. |
Generates a password that only contains letters (a-z), digits (1-9) and common punctations characters (!@%&*()-+=;:.?). |
ConfigureMultitenantIdentityOptions Configures options for TenantIdentityOptions then a system is configured as multi tenant. |
ConfigureTenantIdentityOptions Configure options for TenantIdentityOptions then a system is configured as single tenant. |
ConfirmEmailClaimFilter<TUser> Claim filter that sets an email as verified if it is an external sign-in. |
CopySessionIdClaimFilter<TUser> Claim filter that ensures that SessionId from an external sign-in is copied to the user. |
Logs all claims. |
DefaultResilientTransactionFactory Default implementation of IResilientTransactionFactory. |
The default ITenantSettingsCache which uses Microsoft.Extensions.Caching.Distributed.IDistributedCache as underlying cache storage. |
Copies the PreferredUserName as Name if name is missing. |
Options used to configure the claim types for well known claims. |
Helper functions for configuring extended identity services. |
ExtendedIdentityBuilderExtensions Builder extension methods for registering additional services |
Represents all the options you can use to configure the cookies middleware uesd by the identity system. |
ExtendedIdentityErrorDescriber
|
ExtendedIdentityOptionsExtensions Extension methods for ExtendedIdentityOptions. |
Specifies options for password requirements. |
ExtendedPasswordValidator<TUser>
|
Provides the APIs for managing roles in a persistence store. |
Provides the default validation of roles in a system. |
|
ExtendedSignInManagerExtensions Extension methods for ExtendedSignInManager<TUser>. |
Options for configuring sign in. |
Represents the result of a sign-in operation. |
|
Provides the APIs for managing user in a persistence store. |
Options for user validation. |
|
Extension methods for Microsoft.AspNetCore.Identity.ExternalLoginInfo. |
Represents an external authentication provider. |
ExternalRoleSynchronizationResult Represents the result of a external role synchronization. |
Represents a functionality in a Module. |
A user picture provider that uses the Gravatar service (gravatar.com). |
Extensions methods for Microsoft.AspNetCore.Http.HttpContext. |
Represents an audit of a user action in the identity system. |
AuthenticationSchemes assign a name to a specific Microsoft.AspNetCore.Authentication.IAuthenticationHandler handlerType. |
IdentityAuthenticationSchemeExtensions Extension methods for TenantAuthenticationScheme. |
IdentityBuilderCompatShimExtensions Default compat shim extensions to Microsoft.AspNetCore.Identity.IdentityBuilder. |
Default IP2Location extensions to ExtendedIdentityBuilder. |
Default UI extensions to Microsoft.AspNetCore.Identity.IdentityBuilder. |
Helper functions for configuring identity configuration services. |
Constants of the common error codes returned by the identity system. |
Generates a password that fullfills the requirements defined in Microsoft.AspNetCore.Identity.PasswordOptions. |
Represents a role in the identity system. |
Represents a user in the identity system. |
Represents location information for an IPAddress |
Provides the APIs for finding IP address locations in a persistance store. |
IPAddressLocationManager.IPAddressLocationCacheInfo
|
Options for configuring IP address location. |
LetterAndDigitPasswordProvider Generates a password that only contains letters (a-z) and digits (1-9). |
Represents a combination of an user and person in the identity system, ued when listing or searching for users. |
Represents a minimal organisation when searching for users. |
Implements the ASP.NET Membership password hashing. |
Represents a module in the permission system. A module groups one or more functionality and it is also possible to restrict a tenants access to functionality by configuring BoughtModule. |
Provides the APIs for managing module in a persistance store. |
Represents a query used for filtering and sorting when listing or searching for modules. |
Provides the default validation of modules in a system. |
Helper functions for configuring multi-tenant identity services. |
MultitenantIdentityErrorDescriber
|
Represents a login and its associated provider for a user. |
MultitenantPasswordValidator<TUser>
|
Represents a person in the multi-tenant identity system. |
MultitenantPersonValidator<TPerson> Provides validation services for person classes. |
Represents a role in the multi-tenant identity system. |
Provides the APIs for managing roles in a persistence store in a multi-tenant application. |
MultitenantRoleValidator<TRole> Provides the default validation of roles in a multi-tenant system. |
MultitenantSignInManager<TUser, TTenant> Provides the APIs for user sign in. |
MultitenantSignInProviderFactory<TUser, TTenantOidcSetting> Provides methods to create a ExternalProviders in a multi-tenant solution. |
Represents the result of a sign-in operation. |
Represents a user in the multi-tenant identity system. |
Provides the APIs for managing user in a persistence store. |
MultitenantUserValidator<TUser>
|
Represents an organisation in the identity system. |
Represents a claim that an organisation possesses. |
Extension methods for IOrganisation. |
Represents an organisation unique identifier and group mother identifier. |
OrganisationManager<TOrganisation> Provides the APIs for managing organisations in a persistence store. |
Options for configuring organisations. |
Represents a query used for filtering and sorting when listing or searching for organisations. |
Extension methods for IOrganisationStore<TOrganisation>. |
OrganisationValidator<TOrganisation> Provides the default validation of organisations. |
Base class for making it easier to implement a IPasswordProvider that fulfills the requirements defined in PasswordOptions. |
Represents a person in the identity system. |
Extension methods for IPerson. |
Provides the APIs for managing persons in a persistence store. |
Options for configuring persons. |
Provides validation services for person classes. |
PostConfigureExtendedIdentityOptions Ensures that the configuration of ExtendedIdentityOptions is correct. |
PostConfigureExtendedIdentityOptionsWithIPAddressLocation Ensures that the configuration of ExtendedIdentityOptions is correct. |
Extension methods for determine if it a tenant is private persons. |
Represents a template for a role claim in the permission system. |
Represents a query used for filtering and sorting when listing or searching for roles. |
Represents a template for a role in the permission system. When a module is bought these roles are automatically created. |
Represents a query used for filtering and sorting when listing or searching for something. |
SecurityStampValidatorCallback Implements callback for SecurityStampValidator's OnRefreshingPrincipal event. |
Represents which sing-in alternatives that should be enabled for a user or a list of users. |
Provides methods to create a ExternalProviders. |
Implements the Simple Membership password hashing. |
Represents a social media authentication provider. |
Constants for the build in permissions. |
TemplateIdentityRoleFactory<TRole> Provides methods to create a |
Represents temproary login information for a user record. |
Service for creating a temporary user that is reverted when the class is disposed. |
TenantAuthenticationOpenIdConnectSettingsValidator Provides the default validation of IdentityAuthenticationScheme that has IRM.AspNetCore.Authentication.Serialization.OpenIdConnectOptions. |
|
TenantAuthenticationSchemeProvider Default implementation of ITenantAuthenticationSchemeProvider. |
TenantConfigurationManager<TTenantOidcSetting> Provides the APIs for managing tenant settings in a persistence store. |
Identity options (ExtendedIdentityOptions) for a Tenant, this class should be used with IOptionsSnapshot<TOptions> |
Represents settings for a tenant specific OpenID Connect authentication provider. |
Specifies options for password requirements per tenant. |
Represents that a specific tenant has permission to use a specific functionality. |
Represents a tennant specific external authentication provider. |
Reporesents settings for a tenant specific saml2 authentication provider. |
Represents tenant specific authentication settings. |
Extension methods for TenantSettings. |
Provides the APIs for managing tenant settings in a persistence store. |
Represents sign-in options for a tenant. |
Specifies user options per tenant. |
Represents a trusted domain that an organisation owns and therefor want to allow users with e-mail addresses from that domain to sign-up. |
Represents a trusted domain that can be used to match against a users domain. |
UpperInvariantAndPhoneLookupNormalizer Implements Microsoft.AspNetCore.Identity.ILookupNormalizer by converting keys to their upper cased invariant culture representation. |
UserClaimsPrincipalFactory<TUser, TRole> Provides methods to create a claims principal for a given user. |
UserClaimsPrincipalFactory<TUser, TRole, TPerson> Provides methods to create a claims principal for a given user and person. |
UserClaimsPrincipalFactory<TUser, TRole, TPerson, TOrganisation> Provides methods to create a claims principal for a given user, person and organisation. |
Extensions for System.Security.Claims.ClaimsPrincipal. |
Represents the used and unused external providers for a user. |
UserSignedInEventhandler<TUser> The UserSignedInEventhandler<TUser> is responsible for tracking user signed in and clear access failed. |
Represents a query used for filtering and sorting when listing or searching for users for a specific role. |
Represents a query used for filtering and sorting when listing or searching for users. |
WindowsAuthenticationSignInProviderOptions Represents all the options you can use to configure Windows authentication for the SignInProviderFactory<TUser>. |
Represents a windows integrated authentication provider. |
Interfaces
Provides an abstraction for a store which manages auditing. |
Represents collect data from Swedish BankId. |
Abstract interface to model data caching |
Represent a fitler that can manipulate the claims. |
Represents a task that performs clean up, for example removing old data according to GDPR. |
Abstract interface to model data caching with concurrency support |
Represents an aggregate that contains event that should be handled when saving the aggregate. |
Provides an abstraction for a store which can save events. |
Represents an entity that can supply claims. |
Represents an entity that has an e-mail. |
Represents an audit of a user action in the identity system. |
Provides an abstraction for a store which manages IP address locations. |
Represents a combined user and person. |
Represents a user with a local login. |
Provides an abstraction for a store which manages modules. |
Provides an abstraction for a validating a module. |
Represents an entity in a multi-tenant system. |
Represents a role in a multi-tenant system. |
Provides an abstraction for a storage and management of roles in a multi-tenant application. |
Represents a user in a multi-tenant system. |
Provides an abstraction for a store which manages user accounts in a multi-tenant environment. |
Represents an organisation in the identity system. The root organisation is the tenant. |
Represents an API for managing organisations in a persistence store. |
IOrganisationStore<TOrganisation> Provides an abstraction for a store which manages organisations in a multi-tenant environment. |
IOrganisationValidator<TOrganisation> Provides an abstraction for a validating an organisation. |
Represent a class that can generate a password. |
Represents a person. |
Provides an abstraction for the storage and management of person email addresses. |
Represents a persons name. |
Provides an abstraction for a store which manages persons. |
Provides an abstraction for person validation. |
IProtectedPersonStore<TPerson> Marker interface used to signal that the store supports the ProtectPersonalData flag. |
Represents a resilient transaction that handles EF execution strategies. |
Represents a facotry for createing IResilientTransaction instances based on configuration. |
Provides an abstraction for a service that resolves a users tenant. |
Represents a role. |
Provides an abstraction for a storage and management of roles. |
Represents a role template. |
|
Represents the authentication scheme that are valid for the specified tenant. |
ITenantAuthenticationSchemeProvider Responsible for managing what authentication schemes are supported for one or more tenant. |
ITenantConfigurationStore<TTenantOidcSetting> Provides an abstraction for a store which manages tenant configuration. |
Represents an updateable cache of TenantSettings. |
Provides an abstraction for a store which manages tenant authentication settings. |
Provides an abstraction for tenant authentication settings validation. |
Represents a trusted domain that an organisation owns and therefor want to allow users with e-mail addresses from that domain to sign-up. |
Represents a unique identifier of an object, typically the key in the database. |
Represents an user. |
Represents different identifiers of an user. |
Represents a provider that can get a url to a picture for a user. |
Provides an abstraction for a store which combines user and person. |
Represents a query used for filtering and sorting when listing or searching for users. |
Provides an abstraction for a store which manages user accounts. |
Represents a user that is restricted in time, aka only valid from and to a date.. |
Enums
Defines the status of a bought module. |
Contains constants for specifying the audience for a functionality. |
Represent the type of events that are audited. |
Represent what kind of service was used to send a one-time password. |
Defines different kinds of users. |
The price level that the customer have. |
Defines different kinds of roles. |
Defines different kinds of users. |
Represent the types of usernames supported. |