MJCZone.DapperMatic.AspNetCore.Authentication
Assembly: MJCZone.DapperMatic.AspNetCore
Classes
| Name | Description |
|---|---|
| DapperMaticApiKeyDefaults | The names of DapperMatic's API key sign-in method. |
| DapperMaticApiKeyOptions | API keys: how programs sign in. Off until <c>dm.AddApiKeys()</c>. A key is shown once, when made, and kept only as a hash; it is sent as <c>Authorization: Bearer {key}</c> or in HeaderName, never in a URL. |
| DapperMaticAuthenticationDefaults | The names of DapperMatic's own sign-in method, which runs the methods its endpoints accept. |
| DapperMaticClaims | The claims and authentication types of the callers DapperMatic signs in itself: by an API key, a built-in account, a JWT it issued, a stream's ticket. Such a caller names its tenant itself (Tenant), and the tenancy sources are not read for it: a request cannot choose another. The claim is read only on identities of DapperMatic's own authentication types, which only DapperMatic's handlers make, so a token from elsewhere carrying it is not believed. |
| DapperMaticRoleSource | Where a caller's roles are found besides ASP.NET Core's role claim: a claim of another type (each value a role, or one value holding a JSON array of them), a path into a claim holding JSON (Keycloak's <c>realm_access</c>), or code. The roles of every source add up; policies' roles are matched against them as against the role claim. |
Interfaces
| Name | Description |
|---|---|
| IDapperMaticKeyOwners | Finds a personal key's owner as they are now, each time the key signs in. |