MJCZone.DapperMatic.AspNetCore.Accounts
Assembly: MJCZone.DapperMatic.AspNetCore
Classes
| Name | Description |
|---|---|
| DapperMaticAcceptRequest | Accepts an invitation: signed in (the invitation's email, confirmed), or with the new account's password. |
| DapperMaticAccountLinks | Where emails send people. Each is a template: <c>{token}</c>, <c>{userId}</c>, <c>{code}</c> and <c>{email}</c> are replaced (URL-encoded). |
| DapperMaticAccountOptions | Built-in accounts: people who sign in to DapperMatic with an email and a password, on ASP.NET Core Identity, kept in DapperMatic's tables. Off until <c>dm.AddUserAccounts()</c>. |
| DapperMaticFirstAdmin | The first administrator. |
| DapperMaticInvitation | An invitation to an email: to a tenant, with roles there, or to the platform, with platform roles. Accepted once, before it expires; its token is kept only as a hash. |
| DapperMaticJwtKey | A JWT signing key. |
| DapperMaticJwtOptions | The built-in accounts' access tokens as JSON Web Tokens, which other services check with the keys DapperMatic publishes (<c>auth/jwks.json</c>). Signed with RS256 (an RSA key of 2,048 bits or more) or ES256 (a P-256 key) only. |
| DapperMaticLoginRequest | Signs in to a built-in account: an email and password (and a second factor when it has one), in a tenant or none. |
| DapperMaticMembership | A built-in account's place in a tenant: a member's, or a platform user's grant (which expires, and which the audit names). Its roles are the account's roles there. |
| DapperMaticRegisterRequest | Signs an email up: an email to it carries the token that makes the account, with its password. |
| DapperMaticSetupRequest | Makes the first administrator, with the setup code from the log. |
| DapperMaticSignUpOptions | Who may make an account themselves. |
| DapperMaticSwitchRequest | Moves a signed-in account to another of its tenants, or to the platform (null). |
| DapperMaticUser | A built-in account: a person who signs in to DapperMatic with an email and a password (ASP.NET Core Identity's sign-in, kept in DapperMatic's tables). Their roles are per place: the platform's (with no tenant), or a membership's in a tenant. |
| DapperMaticUserSession | A sign-in: what a login started, which its refreshes keep going; ended by signing out, or the account turned off. |
Interfaces
| Name | Description |
|---|---|
| IDapperMaticEmailSender | Sends the built-in accounts' emails: the application's own (SMTP, a mail service). Without one, emails are logged, with their links and codes only in Development. |
Enums
| Name | Description |
|---|---|
| DapperMaticEmailKind | What an email from the built-in accounts is about. |