更新时间:2023-11-18 21:43:10
有一个构造函数,它将为您完成:
There is a constructor, which will do it for you:
public ClaimsPrincipal(IEnumerable<ClaimsIdentity> identities)
但是,其语义是不确定的.到目前为止,Microsoft尚未使用过它,而且我从未能够将其序列化为可互操作的SAML令牌……我不确定SesAM会如何使用它.
However, the semantics of this are undefined. Microsoft hasn't used it so far and I was never able to serialize it into an interoperable SAML token...... I am not sure what SesAM will do with it.