MsalError.ForceRefreshNotCompatibleWithTokenHash 欄位
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
發生什麼事?
該操作嘗試強制代幣刷新,同時使用代幣雜湊值。 這兩種方式不相容,因為強制刷新會繞過令牌快取,這會與令牌雜湊驗證產生衝突。緩解措施:
- 確保在使用標記雜湊時,'force_refresh' 不會被設為「true」。 - 檢視請求參數以確保不衝突。 - 若需要標記雜湊,允許使用快取標記,而非強制刷新。public const string ForceRefreshNotCompatibleWithTokenHash;
val mutable ForceRefreshNotCompatibleWithTokenHash : string
Public Const ForceRefreshNotCompatibleWithTokenHash As String