Table of Contents

Class DynamicClientRegistrationResponse

Namespace
ModelContextProtocol.Authentication
Assembly
ModelContextProtocol.Core.dll

Represents a client registration response for OAuth 2.0 Dynamic Client Registration (RFC 7591).

public sealed class DynamicClientRegistrationResponse
Inheritance
DynamicClientRegistrationResponse
Inherited Members

Properties

ClientId

Gets or initializes the client identifier.

[JsonPropertyName("client_id")]
public required string ClientId { get; init; }

Property Value

string

ClientIdIssuedAt

Gets or initializes the timestamp at which the client ID was issued.

[JsonPropertyName("client_id_issued_at")]
public long? ClientIdIssuedAt { get; init; }

Property Value

long?

ClientSecret

Gets or initializes the client secret.

[JsonPropertyName("client_secret")]
public string? ClientSecret { get; init; }

Property Value

string

ClientSecretExpiresAt

Gets or initializes the client secret expiration time.

[JsonPropertyName("client_secret_expires_at")]
public long? ClientSecretExpiresAt { get; init; }

Property Value

long?

GrantTypes

Gets or initializes the grant types that the client will use.

[JsonPropertyName("grant_types")]
public IList<string>? GrantTypes { get; init; }

Property Value

IList<string>

RedirectUris

Gets or initializes the redirect URIs for the client.

[JsonPropertyName("redirect_uris")]
public IList<string>? RedirectUris { get; init; }

Property Value

IList<string>

ResponseTypes

Gets or initializes the response types that the client will use.

[JsonPropertyName("response_types")]
public IList<string>? ResponseTypes { get; init; }

Property Value

IList<string>

TokenEndpointAuthMethod

Gets or initializes the token endpoint authentication method.

[JsonPropertyName("token_endpoint_auth_method")]
public string? TokenEndpointAuthMethod { get; init; }

Property Value

string