示例#1
0
        private async Task <ZoomOAuthOptions> Init()
        {
            _options = await _optionsAccessor.GetOptions();

            if (string.IsNullOrWhiteSpace(_options.ApiBaseUrl))
            {
                _options.ApiBaseUrl = "https://api.zoom.us/v2";
            }
            return(_options);
        }
示例#2
0
 public ZoomOAuthOptionsConstructorAccessor(ZoomOAuthOptions zoomOAuthOptions)
 {
     _oAuthOptions = zoomOAuthOptions ?? throw new ArgumentNullException(nameof(zoomOAuthOptions));
 }