Identity
A clean .NET surface over AWS Cognito — sign-up, password and one-time-code sign-in, Apple and Google sign-in, password resets and groups, exposed as one typed API in your own AWS account.
Your Cognito user pool, in idiomatic .NET.
Your Cognito user pool
Register users and sign them in with SRP against the pool you already run in your own account. The SDK never creates or changes it.
RegisterUserAsync() One typed service
IUserIdentityService takes your own user and group types: register, sign in, create and update groups, and add users to them.
IUserIdentityService Groups & permissions
Guard an action with [RequiresPermission] and the caller’s groups are checked against permissions in DynamoDB. A missing [Module] fails the build.
[RequiresPermission] One-time codes
Passwordless sign-in with a single-use, six-digit code that can expire. The SDK issues the code; you deliver it by SMS or email.
SignInOption.OneTimePassword Apple & Google sign-in
The provider’s token is checked against its signing keys, then linked to an existing user by email or provisioned as a new one.
IdentityProvider.Apple Account controls
Disable or re-enable an account, sign a user out everywhere, and reset or change a password as an admin.
DisableUserAccountAsync() Inside your service.
On Lambda or in any container.
Identity is a .NET library, not a service you call. Add the package, register it in Program.cs, and it runs inside your own service, in process. Ship that service as a Lambda function or as your own container on ECS, EKS or App Runner — the module goes wherever your code goes.
- ✓ In process: your code calls the module directly — no sidecar, no extra network hop
- ✓ Built from your code: your image or Lambda package, patched on your schedule
- ✓ Configured in
Program.cs, with values from your own settings
Kanject.Program.cs, and exposes a typed API the rest of your service can use immediately.
Simplify your cloud
journey today.
Join forward-thinking developers and businesses who trust Kanject to eliminate cloud complexity and accelerate innovation.