Securing 2M+ accounts & $15B+ in assets, protected & secure·B5 Secure™ — per data-element authorization for .NET platforms

B5SecurityKit

Docs / API Reference / B5SecurityKit

B5SecurityKit

B5 Secure · Never Trust · 36 classes · 6 enums · 35 interfaces

Core abstractions, security context, pipeline, hashing, sessions, permits and user services.

TypeSummary
IAuthDetails InterfaceInterface — AuthDetails.
IAuthDetails<TId> InterfaceInterface — AuthDetails.
IAuthSessionProvider InterfaceProvider abstraction — AuthSession.
IBrowser InterfaceInterface — Browser.
ICacheClient InterfaceInterface — CacheClient.
IConfig InterfaceInterface — Config.
IContainer InterfaceInterface — Container.
IContainerBuilder InterfaceInterface — ContainerBuilder.
IErrorMessageResourceProvider InterfaceProvider abstraction — ErrorMessageResource.
IFirewallIpRange InterfaceAn allow-listed IP range for the IP firewall.
IHashService InterfacePassword and token hashing abstraction.
IIdentityRepository InterfaceRepository abstraction — Identity.
ILocaleService InterfaceService abstraction — Locale.
ILogger InterfaceInterface — Logger.
IPermit InterfaceA grant of one or more permissions, optionally scoped to a record.
IPermit<TId> InterfaceInterface — Permit.
IPermitManager<TId> InterfaceResolves and caches an identity’s permits.
IPermitRepository<TId,TEntityId> InterfaceRepository abstraction — Permit.
IRequestService InterfaceService abstraction — Request.
ISecurityContext InterfacePer-request identity, permits and security state.
ISecurityEvents InterfaceInterface — SecurityEvents.
ISecurityFailureResponseHandler InterfaceHandler abstraction — SecurityFailureResponse.
ISecurityPipeline InterfaceThe multi-stage pipeline every request passes through.
ISecuritySettings InterfaceInterface — SecuritySettings.
ISecurityUtility InterfaceInterface — SecurityUtility.
ISessionService InterfaceService abstraction — Session.
ISuspendedId InterfaceInterface — SuspendedId.
ISuspensionService InterfaceReports whether a user or entity id is suspended.
IUser InterfaceInterface — User.
IUser<TId> InterfaceInterface — User.
IUserMultiFactor InterfaceInterface — UserMultiFactor.
IUserRepository<TId> InterfaceRepository abstraction — User.
IUserService InterfaceSign-in, identity resolution and session establishment.
IUserService<TId,TEntityId,TUser> InterfaceService abstraction — User.
IWhitelistedDomain InterfaceAn allow-listed origin domain for origin restriction.
ArgumentValidator ClassArgumentValidator.
AuthError ClassAuthError.
AuthFailedException ClassThrown when authentication fails.
AuthSessionProvider ClassAuthSessionProvider.
AuthToken ClassRepresents a parsed authentication token.
Browser ClassBrowser.
CacheOptimizedPermitManager<TId> ClassCacheOptimizedPermitManager.
CookieOptions ClassCookieOptions.
DefaultErrorMessageResourceProvider ClassDefaultErrorMessageResourceProvider.
DigitalSignatureProvider ClassSigns and verifies digital signatures.
HeaderKeys ClassHeaderKeys.
InMemoryCacheClient ClassInMemoryCacheClient.
InMemoryPermitManager<TId> ClassInMemoryPermitManager.
InMemorySessionService ClassInMemorySession service implementation.
KeyPair ClassKeyPair.
KeyWrapper<TKey> ClassKeyWrapper.
License ClassLicense.
LocaleService ClassLocale service implementation.
LoginResult ClassLoginResult.
MiscExtensions ClassExtension methods for Misc.
NoActionSecurityEvents ClassNoActionSecurityEvents.
NullSuspensionService ClassNo-op suspension service for apps that don’t use suspension.
OpException ClassException — Op.
OpResult ClassStandard operation result envelope.
PBKDF2HashService ClassPBKDF2-based password hashing implementation.
RequestFeature ClassRequestFeature.
SecurityContext ClassSecurityContext.
SecurityPipeline ClassDefault pipeline implementation; runs all checks and fails closed.
SecuritySettings ClassSecuritySettings.
SecurityUtility ClassSecurityUtility.
StringExtensions ClassExtension methods for String.
TryOperationResult<TValue> ClassTryOperationResult.
TypeExtensions ClassExtension methods for Type.
UserDataItem ClassUserDataItem.
UserService<TId,TEntityId,TUser> ClassUser service implementation.
UserServiceSessionDetails<TId,TUser> ClassUserServiceSessionDetails.
HashAlgorithmName EnumHashAlgorithmName.
IdentityTokenType EnumIdentityTokenType.
ImpersonateAllowOperation EnumImpersonateAllowOperation.
InstanceScope EnumInstanceScope.
LicenseFeature EnumLicenseFeature.
SameSiteOption EnumSameSiteOption.
Developer Relations

Talk to a human.

Get architecture guidance, Test Mode access, integration review, or help choosing the right B5 identity and authorization pattern.

Scroll to Top