📜  AuthenticationTypes.Federation - 任何代码示例

📅  最后修改于: 2022-03-11 14:55:46.927000             🧑  作者: Mango

代码示例1
var validationParameters = new TokenValidationParameters
{
    RequireExpirationTime = true,
    RequireSignedTokens = true,
    ValidateIssuer = true,
    ValidIssuer = issuer,
    ValidateIssuerSigningKey = true,
    IssuerSigningKey = signingKey,
    ValidateAudience = true,
    ValidAudience = audience,
    ValidateLifetime = true,
    AuthenticationType = "ApplicationCookie"
};