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 sets the client identifier.

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

Property Value

string

ClientIdIssuedAt

Gets or sets the client ID issued timestamp.

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

Property Value

long?

ClientSecret

Gets or sets the client secret.

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

Property Value

string

ClientSecretExpiresAt

Gets or sets the client secret expiration time.

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

Property Value

long?

GrantTypes

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

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

Property Value

string[]

RedirectUris

Gets or sets the redirect URIs for the client.

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

Property Value

string[]

ResponseTypes

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

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

Property Value

string[]

TokenEndpointAuthMethod

Gets or sets the token endpoint authentication method.

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

Property Value

string