Table of Contents

Class DevCredentialSpec

Namespace
Core.CliniCore.Bootstrap
Assembly
Core.CliniCore.dll

Specification for a development credential.

public record DevCredentialSpec : IEquatable<DevCredentialSpec>
Inheritance
DevCredentialSpec
Implements
Inherited Members

Constructors

DevCredentialSpec(string, string, UserRole)

Specification for a development credential.

public DevCredentialSpec(string Username, string Password, UserRole Role)

Parameters

Username string

The username for login.

Password string

The plaintext password (for development only).

Role UserRole

The user role (Patient, Physician, or Administrator).

Properties

Password

The plaintext password (for development only).

public string Password { get; init; }

Property Value

string

Role

The user role (Patient, Physician, or Administrator).

public UserRole Role { get; init; }

Property Value

UserRole

Username

The username for login.

public string Username { get; init; }

Property Value

string