SecurityTokenInclusionMode Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
A list of token inclusion requirements for messages.
public enum class SecurityTokenInclusionMode
public enum SecurityTokenInclusionMode
type SecurityTokenInclusionMode =
Public Enum SecurityTokenInclusionMode
- Inheritance
Fields
AlwaysToInitiator | 3 | The token is always included in messages to the initiator and never to the recipient. |
AlwaysToRecipient | 0 | The token is always included in messages to the recipient and never to the initiator. |
Never | 1 | The token is never included in messages but is referenced. The token must be known to the recipient out of band. The option does not work out of the box. You need to include custom credentials for this to work. |
Once | 2 | The token is included once. The token must be included in only one message sent from the initiator to the recipient. References to the token may use an internal reference mechanism. Subsequent related messages sent between the recipient and the initiator may refer to the token using an external reference mechanism. |
Remarks
SecurityTokenInclusionMode
enumeration members are used as parameters in many methods of the SecurityTokenParameters class and in its derived classes when creating binding elements and certificates.
Applies to
.NET
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기