Representing client_metadata in C# class

Hi, I’m struggling trying to specify what object type client_metadata is in a C# class. Is it a Hashtable, KVP or something else? Thanks for any help.

public class Auth0CreateClient
{
public string name { get; set; }

    public string[] grant_types { get; set; } = { "client_credentials" };

    public string app_type { get; set; } = "non_interactive";

    public bool oidc_conformant { get; set; } = true;

    public Hashtable client_metadata { get; set; }
}

Hi @tswiftma,

Welcome to the community, I apologize for the delayed response!

It looks like it is dynamic from this doc:

https://auth0.github.io/auth0.net/api/Auth0.ManagementApi.Models.ClientBase.html#Auth0_ManagementApi_Models_ClientBase_ClientMetaData.

Let me know if that doesn’t work for you.

Dan

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.