示例#1
0
        public async void can_get_developer_key()
        {
            KeysClient   keysClient   = new KeysClient(ACCESS_KEY, SECRET_KEY, TenantName.ONEBLINK_TEST);
            DeveloperKey developerKey = await keysClient.GetDeveloperKey(ACCESS_KEY);

            Assert.NotNull(developerKey);
        }
示例#2
0
        public async Task <DeveloperKey> GetDeveloperKey(string id)
        {
            string       getUrl = "/keys/" + id;
            DeveloperKey result = await this.oneBlinkApiClient.GetRequest <DeveloperKey>(getUrl);

            return(result);
        }