async public Task <IActionResult> OnGetAsync(string id)
        {
            await LoadCurrentApiResourceAsync(id);

            Input = new NewSecretModel()
            {
                ApiName = id
            };

            return(Page());
        }
        async public Task <IActionResult> OnGetAsync(string id)
        {
            await LoadCurrentClientAsync(id);

            //IdentityServerConstants.SecretTypes.

            Input = new NewSecretModel()
            {
                ClientId   = id,
                SecretType = IdentityServer4.IdentityServerConstants.SecretTypes.SharedSecret
            };

            return(Page());
        }