示例#1
0
 /// <inheritdoc/>
 public DiscoveryResponse StartAutomatedOperatorDiscovery(string clientId, string clientSecret, string discoveryUrl, string redirectUrl, DiscoveryOptions options, IEnumerable <BasicKeyValuePair> currentCookies)
 {
     return(StartAutomatedOperatorDiscoveryAsync(clientId, clientSecret, discoveryUrl, redirectUrl, options, currentCookies).Result);
 }
示例#2
0
        /// <inheritdoc/>
        public DiscoveryResponse StartAutomatedOperatorDiscovery(IPreferences preferences, string redirectUrl, DiscoveryOptions options, IEnumerable <BasicKeyValuePair> currentCookies)
        {
            Validate.RejectNull(preferences, "preferences");

            return(StartAutomatedOperatorDiscovery(preferences.ClientId, preferences.ClientSecret, preferences.DiscoveryUrl, redirectUrl, options, currentCookies));
        }