Class SeedAdminOptions

Assembly: redb.Identity.Core.dll

Options for the default-admin password seeder that ensures the well-known
admin user from the base redb SQL seed has a usable password on a fresh
install. Idempotent: only updates when the stored password is empty or still the
default admin; a password the operator changed is never overwritten.

public sealed class SeedAdminOptions

Inheritance

Object→SeedAdminOptions

Properties

Enabled

Master switch; default true. Set to false to disable seeding entirely.

public bool Enabled { get; set; }

Login

Login of the seed admin user; default admin.

public string Login { get; set; }

Password

Plain-text password to hash and store when the user has no password. Default

public string Password { get; set; }