Table of Contents

Class TestUser

Namespace
Fdyay.IdentityServer.Test
Assembly
Fdyay.IdentityServer.Core.dll

A development/test user. Not for production use.

public class TestUser
Inheritance
TestUser
Inherited Members

Properties

Claims

The user's claims, from which the profile service releases those requested.

public ICollection<Claim> Claims { get; set; }

Property Value

ICollection<Claim>

IsActive

Whether the user may sign in and keep receiving tokens. Defaults to true.

public bool IsActive { get; set; }

Property Value

bool

Password

Plaintext password for local logins (development only). Null for external-only users.

public string? Password { get; set; }

Property Value

string

ProviderName

The external provider name, if this user was provisioned from an external IdP.

public string? ProviderName { get; set; }

Property Value

string

ProviderSubjectId

The user's id at the external provider.

public string? ProviderSubjectId { get; set; }

Property Value

string

SubjectId

The user's subject identifier, issued as the sub claim.

public string SubjectId { get; set; }

Property Value

string

Username

The name the user signs in with. Compared ignoring case.

public string Username { get; set; }

Property Value

string