Пример #1
0
        private async Task DefaultLoadAsync()
        {
            certificateLoadError = null;
            try
            {
                trackKey = await TrackService.GetTrackKeyTypeAsync();

                if (trackKey.Type == TrackKeyType.Contained)
                {
                    SetGeneralCertificates(await TrackService.GetTrackKeyContainedAsync());
                }
            }
            catch (TokenUnavailableException)
            {
                await(OpenidConnectPkce as TenantOpenidConnectPkce).TenantLoginAsync();
            }
            catch (Exception ex)
            {
                certificateLoadError = ex.Message;
            }
        }