📜  有效的受众令牌 - 任何代码示例

📅  最后修改于: 2022-03-11 15:00:46.744000             🧑  作者: Mango

代码示例3
When validating an ID token, 
you should verify that the aud (Audience) 
claim equals the Client ID of the current application.

Add this to the validation parameters:
ValidateAudience = true,
ValidAudience = "xyz123", // This Application's Client ID