ArgumentValidator
Internally used to validate function arguments.
Internally used to validate function arguments.
Represents an individual data point for an auth failure.
Represents an exception that can be thrown from any part of the authentication/authorization flow to indicate failure and thus terminate the request with appropriate reason and details.
Provides an implementation for IAuthSessionProvider to manage authenticated sessions and obtaining/validating auth identity tokens.
Defines the representation names of different auth token methods which you can override with custom name if so required.
Provides an implementation for IBrowser to determine browser information from user agent strings using the UAParser library.
Implements IPermitManager
Represents various options (attributes) available for HTTP cookie.
Implements IErrorMessageResourceProvider with default content in English language.
Provides methods to sign and verify public key cryptography based digital signatures using any of the hashing algorithms as defined by HashAlgorithmName.
Defines the representation names of custom headers which you can override with your own preferred name if so required.
Defines the representation names of different identity token types which you can override with custom name if so required. Also provides methods to generate identity token urns (authUrns).
Represents a model to define rules to white-list operations for impersonation.
Provides an in-memory implementation of ICacheClient.
Implements a memory-based IPermitManager
Implements Dictionary<Tkey, TValue> based ISessionService to store and retrieve identity data for an authenticated session.
Represents a simple public/private key pair.
Provides methods to register and validate a license. To learn more visit https://ASPSecurityKit.net/docs/license/
Implements ILocaleService to provide user specific locale for both formatting and converting time in user time zone.
Represents the result of a login operation.
Static miscellaneous extension methods for general, reusable utility operations.
Provides an implementation of ISecurityEvents that does nothing. You can inherit from this implementation and override the event(s) you want to do custom processing upon.
Provides an implementation of ISuspensionService that does nothing.
Represents an exception that can be thrown to indicate operation failure along with its cause. You can use this exception type as a custom application or domain validation exception to pass on useful information to the client securely. See the guidance given in the remarks for this purpose.
Implements IHashService using Salted password hashing with PBKDF2-SHA1 algorithm.
Implements the ISecurityContext to hold security related data for the lifetime of the request.
Implements the ISecurityPipeline to protect your application with authentication, multi-factor, activity-based and data-aware authorization, IP firewall, verification and suspension checks. To learn more visit https://ASPSecurityKit.net/docs/the-security-pipeline/
Implements the ISecuritySettings to enable configuration of various security settings used by the security pipeline.
Implements utility methods required by security operations as defined by the ISecurityUtility.
Static string extension methods for general, reusable utility operations.
Represents a result of calling a safe try method.
Static Type extension methods for general, reusable utility operations.
Represents a model maintained by userService for storing custom information related to the authenticated identity.
Implements IUserService<TId,TEntityId,TUser> and provides logic for authenticating, authorizing and managing user identities to consuming application.
Represents a session details model maintained by userService internally.
Lifetime scope for initialized dependency.
Represents various ASPSecurityKit features that can be enabled by a license key.
Enumerates various security features that can be enabled on requests.
Enumerates possible values for SameSite attribute of HTTP cookie.
Provides an interface to represent details related to identity tokens.
Extends IAuthDetails and provides a generic interface to represent details related to identity tokens.
Provides an interface to manage authenticated sessions.
Defines operations to determine browser information from user agent strings.
Provides an interface to perform simple caching operations.
Provides an interface to access application configuration.
Provides an interface to represent a simple dependency injection resolver required by ASK components. You provide the implementation based on DI framework of your choice. Check out https://ASPSecurityKit.net/docs/source-packages/ – every source package comes with a default implementation.
Provides an interface to represent a simple dependency injection builder required by ASK components. You provide the implementation based on DI framework of your choice. Check out https://ASPSecurityKit.net/docs/source-packages/ – every source package comes with a default implementation.
Defines messages for security violations content of which can be customized for locale and other needs.
Provides an interface to represent IP ranges white listed for tokens
Provides an interface to implement password hashing operations using algorithm of choice.
Provides an abstraction to implement a repository for identity tokens in the database/ORM technology of your choice.
Provides an interface to implement user specific locale for both formatting and converting time in user time zone.
Provides a simple interface for writing application logs.
Base interface to represent the user permit model for the application. Note: use IPermit
Extends IPermit and provides a strongly typed interface to represent the user permit model for the application.
Defines operations to manage permits for an authenticated session.
Provides an abstraction to implement a repository for IPermit
Provides an abstraction to interact with platform specific request/response objects.
Provides an interface to represent the security context for a request.
Provides implementers a way to listen to security pipeline related events and do custom pre/post processing.
Provides an interface to implement a response handler if requested operation fails any security check.
Represents ASPSecurityKit security pipeline to protect your application with authentication, multi-factor, activity-based and data-aware authorization, IP firewall, verification and suspension checks. To learn more visit https://ASPSecurityKit.net/docs/the-security-pipeline/
Defines configuration settings for security pipeline.
Defines utility methods required by security operations.
Defines operations to store and retrieve identity data for an authenticated session.
Interface to represent a suspended entityId model.
Provides an abstraction to implement a service for entity suspension.
Base interface to represent the user model for the application. Note: use IUser
Extends IUser and provides a strongly typed interface to represent the user model for the application.
Represents a user’s multi-factor model for the application.
Provides an abstraction to implement a repository for IUser
Provides a base interface for authenticating, authorizing and managing user identities.
Extends IUserService and provides a generic interface for authenticating, authorizing and managing user identities.
Provides an interface to represent patterns to white list domains for public keys.
Represents the name of a cryptographic hash algorithm.
Wrapper type to additionally represent null keys in generic dictionary which otherwise doesn’t support null keys.
Enumerates various possible values to represent as a result of executing an operation.