EndSessionPopupRequest type

EndSessionPopupRequest

  • account - 将注销的 Account 对象。 将清除绑定到此帐户的所有令牌。
  • postLogoutRedirectUri - 在弹出窗口中的注销页面后导航到的 URI。 需要确保弹出窗口可以关闭。
  • authority - 要向其发送注销请求的颁发机构。
  • correlationId - 每个请求的唯一 GUID 集,用于跟踪用于遥测目的的请求端到端。
  • idTokenHint - B2C 用于验证策略所需的注销的 ID 令牌
  • mainWindowRedirectUri - 用于在注销完成后将主窗口导航到的 URI
  • popupWindowAttributes - 可选弹出窗口属性。 可以设置具有高度和宽度的 popupSize,还可以设置顶部和左侧的 popupPosition。
  • logoutHint - 一个字符串,指定要注销的帐户,以便在注销时跳过服务器帐户选取器
  • popupWindowParent - 打开弹出窗口时用作父对象的可选窗口对象。 如果未指定,则使用全局 window
type EndSessionPopupRequest = Partial<
  Omit<CommonEndSessionRequest, "tokenQueryParameters">
> & {
  authority?: string
  mainWindowRedirectUri?: string
  popupWindowAttributes?: PopupWindowAttributes
  popupWindowParent?: Window
}