Method AddSignInCodes
AddSignInCodes(IServiceCollection, Action<SignInCodeOptions>?)
Registers SignInCodes for one-time sign-in codes bound to PKCE code challenges, and the IShortLivedStore that keeps them (see AddShortLivedStore(IServiceCollection, Action<MemoryShortLivedStoreOptions>?)). Services that are already registered are kept, so it can be called more than once.
Declaration
public static IServiceCollection AddSignInCodes(this IServiceCollection services, Action<SignInCodeOptions>? configure = null)
Parameters
| Type | Name | Description |
|---|---|---|
| IServiceCollection | services | The service collection to add the services to. |
| Action<SignInCodeOptions> | configure | An optional action to configure options. |
Returns
| Type | Description |
|---|---|
| IServiceCollection |