From 4392f4e4d81edb870b5d1b77735acb05f3515d70 Mon Sep 17 00:00:00 2001 From: Azuma Kasumi Date: Thu, 19 May 2022 10:21:18 +0900 Subject: [PATCH] =?UTF-8?q?=E3=83=AD=E3=82=B0=E3=82=A4=E3=83=B3=E7=94=BB?= =?UTF-8?q?=E9=9D=A2=E8=A1=A8=E7=A4=BA=E6=99=82=E8=AA=8D=E8=A8=BC=E6=83=85?= =?UTF-8?q?=E5=A0=B1=E3=81=AE=E5=89=8A=E9=99=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../AgileWorks/Login/View/LoginViewController.swift | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/AgileWorks/AgileWorks/Login/View/LoginViewController.swift b/AgileWorks/AgileWorks/Login/View/LoginViewController.swift index c321e43..41d1217 100644 --- a/AgileWorks/AgileWorks/Login/View/LoginViewController.swift +++ b/AgileWorks/AgileWorks/Login/View/LoginViewController.swift @@ -10,6 +10,7 @@ import AuthenticationServices import AVFoundation import DropDown import UIKit +import WidgetKit protocol LoginView: AnyObject { } @@ -58,6 +59,18 @@ class LoginViewController: UIViewController { override func viewDidLoad() { super.viewDidLoad() + //認証情報削除 + KeychainDataStore().removeOAuthState() + KeychainDataStore().removeAccessToken() + KeychainDataStore().removeSessionID() + KeychainDataStore().removeLanguage() + KeychainDataStore().removeDeviceID() + + //ウィジェットの更新 + if #available(iOS 14.0, *) { + WidgetCenter.shared.reloadAllTimelines() + } + clientCertificateSettingView.isHidden = (CertificateDataStore().readClientCertificate() == nil) //固定文言表示 setupFixedWording() -- GitLab