共用方式為


GlobalValidation interface

使用 App Service 驗證/授權決定使用者驗證流程的組態設定。

屬性

excludedPaths

未經驗證流程的路徑不會重新導向至登入頁面。

redirectToProvider

設定多個提供者時要使用的預設驗證提供者。 只有在設定多個提供者,且未驗證的客戶端動作設定為 “RedirectToLoginPage” 時,才需要此設定。

requireAuthentication

true 如果需要驗證流程,則為任何要求;否則,false

unauthenticatedClientAction

當未經驗證的客戶端嘗試存取應用程式時要採取的動作。

屬性詳細資料

excludedPaths

未經驗證流程的路徑不會重新導向至登入頁面。

excludedPaths?: string[]

屬性值

string[]

redirectToProvider

設定多個提供者時要使用的預設驗證提供者。 只有在設定多個提供者,且未驗證的客戶端動作設定為 “RedirectToLoginPage” 時,才需要此設定。

redirectToProvider?: string

屬性值

string

requireAuthentication

true 如果需要驗證流程,則為任何要求;否則,false

requireAuthentication?: boolean

屬性值

boolean

unauthenticatedClientAction

當未經驗證的客戶端嘗試存取應用程式時要採取的動作。

unauthenticatedClientAction?: UnauthenticatedClientActionV2

屬性值