Class TestTokenRequest

Namespace
XBullet.EasyTesting.Azure
Assembly
XBullet.EasyTesting.Azure.dll

An immutable token request captured by TestTokenCredential.

public sealed class TestTokenRequest
Inheritance
TestTokenRequest
Inherited Members

Properties

Claims

Gets claims requested by a challenge, when supplied.

public string? Claims { get; }

Property Value

string

The unredacted claims challenge, or null when none was supplied. Claims may contain sensitive data and are omitted from captured scenario diagnostics.

ParentRequestId

Gets the parent request identifier, when supplied.

public string? ParentRequestId { get; }

Property Value

string

The parent request identifier, or null when none was supplied.

Scopes

Gets the requested OAuth scopes.

public IReadOnlyList<string> Scopes { get; }

Property Value

IReadOnlyList<string>

A stable, read-only snapshot of scopes in the order supplied to the Azure SDK token request.

TenantId

Gets the requested tenant identifier, when supplied.

public string? TenantId { get; }

Property Value

string

The tenant identifier, or null when none was supplied.