Пример #1
0
        private async Task DefaultLoadAsync()
        {
            try
            {
                var trackClaimMapping = await TrackService.GetTrackClaimMappingAsync();

                await trackClaimMappingForm.InitAsync(new ClaimMappingViewModel { ClaimMappings = trackClaimMapping ?? new List <ClaimMap>() });

                await trackClaimMappingDefaultForm.InitAsync();
            }
            catch (TokenUnavailableException)
            {
                await(OpenidConnectPkce as TenantOpenidConnectPkce).TenantLoginAsync();
            }
            catch (Exception ex)
            {
                trackClaimMappingForm.SetError(ex.Message);
            }
        }