Table of Contents

Struct ClientId

Namespace
Fdyay.AccessTokenManagement
Assembly
Fdyay.AccessTokenManagement.dll

The client_id this client authenticates as.

public readonly record struct ClientId : IEquatable<ClientId>
Implements
Inherited Members

Properties

Value

The client identifier, as given to Parse(string).

public string Value { get; }

Property Value

string

Methods

Parse(string)

Wraps a string as a ClientId.

public static ClientId Parse(string value)

Parameters

value string

The client identifier; must not be null, empty or whitespace.

Returns

ClientId

The wrapped value.

Exceptions

ArgumentException

value is null, empty or whitespace.

ToString()

The wrapped string; the same as Value.

public override string ToString()

Returns

string

Value.