|
428 | 428 | <Parameter Name="token" Type="System.IdentityModel.Tokens.SecurityToken" Index="1" FrameworkAlternate="dotnet-plat-ext-3.1;dotnet-plat-ext-5.0" />
|
429 | 429 | </Parameters>
|
430 | 430 | <Docs>
|
431 |
| - <param name="timeout">To be added.</param> |
432 |
| - <param name="token">To be added.</param> |
433 |
| - <summary>To be added.</summary> |
434 |
| - <returns>To be added.</returns> |
435 |
| - <remarks>To be added.</remarks> |
| 431 | + <param name="timeout">A <see cref="T:System.TimeSpan" /> that specifies the timeout value for the message that cancels the security token.</param> |
| 432 | + <param name="token">The <see cref="T:System.IdentityModel.Tokens.SecurityToken" /> to cancel.</param> |
| 433 | + <summary>Cancels a security token.</summary> |
| 434 | + <returns>The <see cref="T:System.Threading.Tasks.Task" /> that represents the asynchronous token cancellation operation.</returns> |
| 435 | + <remarks> |
| 436 | + <format type="text/markdown"><![CDATA[ |
| 437 | + |
| 438 | +## Remarks |
| 439 | + A security token that can be cancelled, such as one that is issued, allows a client that requested a security token to cancel it when it is done with it. |
| 440 | + |
| 441 | + The <xref:System.IdentityModel.Selectors.SecurityTokenProvider.CancelTokenAsync%2A> method calls <xref:System.IdentityModel.Selectors.SecurityTokenProvider.CancelTokenCoreAsync%2A> method. |
| 442 | + |
| 443 | + ]]></format> |
| 444 | + </remarks> |
436 | 445 | </Docs>
|
437 | 446 | </Member>
|
438 | 447 | <Member MemberName="CancelTokenCore">
|
|
499 | 508 | <Parameter Name="token" Type="System.IdentityModel.Tokens.SecurityToken" Index="1" FrameworkAlternate="dotnet-plat-ext-3.1;dotnet-plat-ext-5.0" />
|
500 | 509 | </Parameters>
|
501 | 510 | <Docs>
|
502 |
| - <param name="timeout">To be added.</param> |
503 |
| - <param name="token">To be added.</param> |
504 |
| - <summary>To be added.</summary> |
505 |
| - <returns>To be added.</returns> |
506 |
| - <remarks>To be added.</remarks> |
| 511 | + <param name="timeout">A <see cref="T:System.TimeSpan" /> that specifies the timeout value for the message that cancels the security token.</param> |
| 512 | + <param name="token">The <see cref="T:System.IdentityModel.Tokens.SecurityToken" /> to cancel.</param> |
| 513 | + <summary>Cancels a security token.</summary> |
| 514 | + <returns>The <see cref="T:System.Threading.Tasks.Task" /> that represents the asynchronous token cancellation operation.</returns> |
| 515 | + <remarks> |
| 516 | + <format type="text/markdown"><![CDATA[ |
| 517 | + |
| 518 | +## Remarks |
| 519 | + A security token that can be cancelled, such as one that is issued, allows a client that requested a security token to cancel it when it is done with it. |
| 520 | + |
| 521 | + The <xref:System.IdentityModel.Selectors.SecurityTokenProvider.CancelTokenAsync%2A> method calls <xref:System.IdentityModel.Selectors.SecurityTokenProvider.CancelTokenCoreAsync%2A> method. |
| 522 | + |
| 523 | + When the <xref:System.IdentityModel.Selectors.SecurityTokenProvider.CancelTokenCoreAsync%2A> method is overridden and the security token passed into the token parameter cannot be canceled, throw the <xref:System.IdentityModel.Tokens.SecurityTokenException> exception. |
| 524 | + |
| 525 | + ]]></format> |
| 526 | + </remarks> |
507 | 527 | </Docs>
|
508 | 528 | </Member>
|
509 | 529 | <Member MemberName="EndCancelToken">
|
|
807 | 827 | <Parameter Name="timeout" Type="System.TimeSpan" Index="0" FrameworkAlternate="dotnet-plat-ext-3.1;dotnet-plat-ext-5.0" />
|
808 | 828 | </Parameters>
|
809 | 829 | <Docs>
|
810 |
| - <param name="timeout">To be added.</param> |
811 |
| - <summary>To be added.</summary> |
812 |
| - <returns>To be added.</returns> |
813 |
| - <remarks>To be added.</remarks> |
| 830 | + <param name="timeout">A <see cref="T:System.TimeSpan" /> that specifies the timeout value for the message that gets the security token.</param> |
| 831 | + <summary>Gets a security token.</summary> |
| 832 | + <returns>The <see cref="T:System.Threading.Tasks.Task" /> that represents the asynchronous read operation and wraps the <see cref="T:System.IdentityModel.Tokens.SecurityToken" /> that represents the security token to get.</returns> |
| 833 | + <remarks> |
| 834 | + <format type="text/markdown"><![CDATA[ |
| 835 | + |
| 836 | +## Remarks |
| 837 | + The <xref:System.IdentityModel.Selectors.SecurityTokenProvider.GetTokenAsync%2A> method is called by the <xref:System.ServiceModel.Description.ClientCredentials> class when a client sends a SOAP message and a security token is required. |
| 838 | + |
| 839 | + The <xref:System.IdentityModel.Selectors.SecurityTokenProvider.GetTokenAsync%2A> method calls the <xref:System.IdentityModel.Selectors.SecurityTokenProvider.GetTokenCoreAsync%2A> method. |
| 840 | + |
| 841 | + In most cases the `timeout` parameter is not used by derived classes of <xref:System.IdentityModel.Selectors.SecurityTokenProvider> such as <xref:System.IdentityModel.Selectors.UserNameSecurityTokenProvider>. However, sometimes retrieving a security token involves distributed messaging. An example is <xref:System.ServiceModel.Security.Tokens.IssuedSecurityTokenProvider> used in a federated service. In these cases the `timeout` parameter is used to avoid exceptions caused by network failures, message loss, and other error conditions. |
| 842 | + |
| 843 | + ]]></format> |
| 844 | + </remarks> |
814 | 845 | </Docs>
|
815 | 846 | </Member>
|
816 | 847 | <Member MemberName="GetTokenCore">
|
|
881 | 912 | <Parameter Name="timeout" Type="System.TimeSpan" Index="0" FrameworkAlternate="dotnet-plat-ext-3.1;dotnet-plat-ext-5.0" />
|
882 | 913 | </Parameters>
|
883 | 914 | <Docs>
|
884 |
| - <param name="timeout">To be added.</param> |
885 |
| - <summary>To be added.</summary> |
886 |
| - <returns>To be added.</returns> |
887 |
| - <remarks>To be added.</remarks> |
| 915 | + <param name="timeout">A <see cref="T:System.TimeSpan" /> that specifies the timeout value for the message that gets the security token.</param> |
| 916 | + <summary>Gets a security token.</summary> |
| 917 | + <returns>The <see cref="T:System.Threading.Tasks.Task" /> that represents the asynchronous read operation and wraps the <see cref="T:System.IdentityModel.Tokens.SecurityToken" /> that represents the security token to get.</returns> |
| 918 | + <remarks> |
| 919 | + <format type="text/markdown"><![CDATA[ |
| 920 | + |
| 921 | +## Remarks |
| 922 | + When the <xref:System.IdentityModel.Selectors.SecurityTokenProvider.GetTokenCoreAsync%2A> method is overridden and the security token passed into the token parameter cannot be obtained, throw the <xref:System.IdentityModel.Tokens.SecurityTokenException> exception. |
| 923 | + |
| 924 | + The <xref:System.IdentityModel.Selectors.SecurityTokenProvider.GetTokenAsync%2A> method is called by the <xref:System.ServiceModel.Description.ClientCredentials> class when a client sends a SOAP message and a security token is required. |
| 925 | + |
| 926 | + The <xref:System.IdentityModel.Selectors.SecurityTokenProvider.GetTokenAsync%2A> method calls the <xref:System.IdentityModel.Selectors.SecurityTokenProvider.GetTokenCoreAsync%2A> method. |
| 927 | + ]]></format> |
| 928 | + </remarks> |
888 | 929 | </Docs>
|
889 | 930 | </Member>
|
890 | 931 | <Member MemberName="RenewToken">
|
|
957 | 998 | <Parameter Name="tokenToBeRenewed" Type="System.IdentityModel.Tokens.SecurityToken" Index="1" FrameworkAlternate="dotnet-plat-ext-3.1;dotnet-plat-ext-5.0" />
|
958 | 999 | </Parameters>
|
959 | 1000 | <Docs>
|
960 |
| - <param name="timeout">To be added.</param> |
961 |
| - <param name="tokenToBeRenewed">To be added.</param> |
962 |
| - <summary>To be added.</summary> |
963 |
| - <returns>To be added.</returns> |
964 |
| - <remarks>To be added.</remarks> |
| 1001 | + <param name="timeout">A <see cref="T:System.TimeSpan" /> that specifies the timeout value for the message that renews the security token.</param> |
| 1002 | + <param name="tokenToBeRenewed">The <see cref="T:System.IdentityModel.Tokens.SecurityToken" /> to renew.</param> |
| 1003 | + <summary>Renews a security token.</summary> |
| 1004 | + <returns>The <see cref="T:System.Threading.Tasks.Task" /> that represents the asynchronous read operation and wraps the <see cref="T:System.IdentityModel.Tokens.SecurityToken" /> that represents the security token that is renewed.</returns> |
| 1005 | + <remarks> |
| 1006 | + <format type="text/markdown"><![CDATA[ |
| 1007 | + |
| 1008 | +## Remarks |
| 1009 | + An issued security token that is renewable allows a client to renew it when the security token is about to or has expired. |
| 1010 | + |
| 1011 | + The <xref:System.IdentityModel.Selectors.SecurityTokenProvider.RenewTokenAsync%2A> method calls the <xref:System.IdentityModel.Selectors.SecurityTokenProvider.RenewTokenCoreAsync%2A> method. |
| 1012 | + |
| 1013 | + ]]></format> |
| 1014 | + </remarks> |
965 | 1015 | </Docs>
|
966 | 1016 | </Member>
|
967 | 1017 | <Member MemberName="RenewTokenCore">
|
|
1036 | 1086 | <Parameter Name="tokenToBeRenewed" Type="System.IdentityModel.Tokens.SecurityToken" Index="1" FrameworkAlternate="dotnet-plat-ext-3.1;dotnet-plat-ext-5.0" />
|
1037 | 1087 | </Parameters>
|
1038 | 1088 | <Docs>
|
1039 |
| - <param name="timeout">To be added.</param> |
1040 |
| - <param name="tokenToBeRenewed">To be added.</param> |
1041 |
| - <summary>To be added.</summary> |
1042 |
| - <returns>To be added.</returns> |
1043 |
| - <remarks>To be added.</remarks> |
| 1089 | + <param name="timeout">A <see cref="T:System.TimeSpan" /> that specifies the timeout value for the message that renews the security token.</param> |
| 1090 | + <param name="tokenToBeRenewed">The <see cref="T:System.IdentityModel.Tokens.SecurityToken" /> to renew.</param> |
| 1091 | + <summary>Renews a security token.</summary> |
| 1092 | + <returns>The <see cref="T:System.Threading.Tasks.Task" /> that represents the asynchronous read operation and wraps the <see cref="T:System.IdentityModel.Tokens.SecurityToken" /> that represents the security token that is renewed.</returns> |
| 1093 | + <remarks> |
| 1094 | + <format type="text/markdown"><![CDATA[ |
| 1095 | + |
| 1096 | +## Remarks |
| 1097 | + An issued security token that is renewable allows a client to renew it when the security token is about to or has expired. |
| 1098 | + |
| 1099 | + When the <xref:System.IdentityModel.Selectors.SecurityTokenProvider.RenewTokenCoreAsync%2A> method is overridden and the security token passed into the token parameter cannot be renewed, throw the <xref:System.IdentityModel.Tokens.SecurityTokenException> exception. |
| 1100 | + |
| 1101 | + The <xref:System.IdentityModel.Selectors.SecurityTokenProvider.RenewTokenAsync%2A> method calls the <xref:System.IdentityModel.Selectors.SecurityTokenProvider.RenewTokenCoreAsync%2A> method. |
| 1102 | + |
| 1103 | + ]]></format> |
| 1104 | + </remarks> |
1044 | 1105 | </Docs>
|
1045 | 1106 | </Member>
|
1046 | 1107 | <Member MemberName="SupportsTokenCancellation">
|
|
0 commit comments