AuthenticationRegistry class
Registry of authentication options keyed by (schema, type). Stores as base AuthenticationSchemeOptions, with typed helpers.
public sealed class AuthenticationRegistry
Public Members
| name | description |
|---|---|
| AuthenticationRegistry(…) | Initializes a new instance of the AuthenticationRegistry class. |
| Clear() | Clears all registered authentication schemes. |
| Exists(…) | Checks if an authentication scheme exists for the specified schema and type. |
| Get(…) | Gets the authentication options for the specified schema and type. |
| Get<TOptions>(…) | Gets the authentication options of the specified type for the given schema and type. |
| Items() | Enumerates all registered authentication schemes. |
| Register(…) | Registers an authentication scheme with the specified options. |
| Register<TOptions>(…) | Registers an authentication scheme with the specified options and configuration. |
| Remove(…) | Removes the authentication scheme for the specified schema and type. |
| TryGet(…) | Tries to get the authentication options for the specified schema and type. |
| TryGet<TOptions>(…) | Tries to get the authentication options of the specified type for the given schema and type. |
| Upsert(…) | Upserts (adds or replaces) an entry. |
| Upsert<TOptions>(…) | Upserts (adds or replaces) an entry. |
See Also
- namespace Kestrun.Authentication