コード例 #1
0
        public static PlexAuth NewPlexAuthPin()
        {
            var j = Get.DownloadJson(PlexEndpoints.PlexPinsEndpoint, RestSharp.Method.POST);

            return(JsonValidation.IsValidJson(j) ? PlexAuth.FromJson(j) : null);
        }
コード例 #2
0
        public static PlexAuth FromPinEndpoint(PlexAuth auth)
        {
            var j = Get.DownloadJson(auth.PinEndpointUrl);

            return(JsonValidation.IsValidJson(j) ? PlexAuth.FromJson(j) : null);
        }