|
4 | 4 | using System.Collections.Generic;
|
5 | 5 |
|
6 | 6 | /// <summary>
|
7 |
| - /// Used for testing authentication properties. |
| 7 | + /// Used for testing <see cref="Microsoft.AspNetCore.Http.Authentication.AuthenticationProperties"/>. |
8 | 8 | /// </summary>
|
9 | 9 | public interface IAuthenticationPropertiesTestBuilder
|
10 | 10 | {
|
11 | 11 | /// <summary>
|
12 |
| - /// Tests whether authentication properties has the same allow refresh value as the provided one. |
| 12 | + /// Tests whether <see cref="Microsoft.AspNetCore.Http.Authentication.AuthenticationProperties"/> |
| 13 | + /// has the same <see cref="Microsoft.AspNetCore.Http.Authentication.AuthenticationProperties.AllowRefresh"/> value as the provided one. |
13 | 14 | /// </summary>
|
14 | 15 | /// <param name="allowRefresh">Expected allow refresh value.</param>
|
15 |
| - /// <returns>The same authentication properties test builder.</returns> |
| 16 | + /// <returns>The same <see cref="IAndAuthenticationPropertiesTestBuilder"/>.</returns> |
16 | 17 | IAndAuthenticationPropertiesTestBuilder WithAllowRefresh(bool? allowRefresh);
|
17 | 18 |
|
18 | 19 | /// <summary>
|
19 |
| - /// Tests whether authentication properties has the same expires value as the provided one. |
| 20 | + /// Tests whether <see cref="Microsoft.AspNetCore.Http.Authentication.AuthenticationProperties"/> |
| 21 | + /// has the same <see cref="Microsoft.AspNetCore.Http.Authentication.AuthenticationProperties.ExpiresUtc"/> value as the provided one. |
20 | 22 | /// </summary>
|
21 | 23 | /// <param name="expiresUtc">Expected expires value.</param>
|
22 |
| - /// <returns>The same authentication properties test builder.</returns> |
| 24 | + /// <returns>The same <see cref="IAndAuthenticationPropertiesTestBuilder"/>.</returns> |
23 | 25 | IAndAuthenticationPropertiesTestBuilder WithExpires(DateTimeOffset? expiresUtc);
|
24 | 26 |
|
25 | 27 | /// <summary>
|
26 |
| - /// Tests whether authentication properties has the same is persistent value as the provided one. |
| 28 | + /// Tests whether <see cref="Microsoft.AspNetCore.Http.Authentication.AuthenticationProperties"/> |
| 29 | + /// has the same <see cref="Microsoft.AspNetCore.Http.Authentication.AuthenticationProperties.IsPersistent"/> value as the provided one. |
27 | 30 | /// </summary>
|
28 | 31 | /// <param name="isPersistent">Expected is persistent value.</param>
|
29 |
| - /// <returns>The same authentication properties test builder.</returns> |
| 32 | + /// <returns>The same <see cref="IAndAuthenticationPropertiesTestBuilder"/>.</returns> |
30 | 33 | IAndAuthenticationPropertiesTestBuilder WithIsPersistent(bool isPersistent);
|
31 | 34 |
|
32 | 35 | /// <summary>
|
33 |
| - /// Tests whether authentication properties has the same issued value as the provided one. |
| 36 | + /// Tests whether <see cref="Microsoft.AspNetCore.Http.Authentication.AuthenticationProperties"/> |
| 37 | + /// has the same <see cref="Microsoft.AspNetCore.Http.Authentication.AuthenticationProperties.IssuedUtc"/> value as the provided one. |
34 | 38 | /// </summary>
|
35 | 39 | /// <param name="issuedUtc">Expected issued value.</param>
|
36 |
| - /// <returns>The same authentication properties test builder.</returns> |
| 40 | + /// <returns>The same <see cref="IAndAuthenticationPropertiesTestBuilder"/>.</returns> |
37 | 41 | IAndAuthenticationPropertiesTestBuilder WithIssued(DateTimeOffset? issuedUtc);
|
38 | 42 |
|
39 | 43 | /// <summary>
|
40 |
| - /// Tests whether authentication properties contains the provided item key. |
| 44 | + /// Tests whether <see cref="Microsoft.AspNetCore.Http.Authentication.AuthenticationProperties"/> |
| 45 | + /// contains the provided item key in its <see cref="Microsoft.AspNetCore.Http.Authentication.AuthenticationProperties.Items"/> collection. |
41 | 46 | /// </summary>
|
42 | 47 | /// <param name="itemKey">Expected item key.</param>
|
43 |
| - /// <returns>The same authentication properties test builder.</returns> |
| 48 | + /// <returns>The same <see cref="IAndAuthenticationPropertiesTestBuilder"/>.</returns> |
44 | 49 | IAndAuthenticationPropertiesTestBuilder WithItem(string itemKey);
|
45 | 50 |
|
46 | 51 | /// <summary>
|
47 |
| - /// Tests whether authentication properties contains the provided item key and value. |
| 52 | + /// Tests whether <see cref="Microsoft.AspNetCore.Http.Authentication.AuthenticationProperties"/> contains the provided item key and value |
| 53 | + /// in its <see cref="Microsoft.AspNetCore.Http.Authentication.AuthenticationProperties.Items"/> collection. |
48 | 54 | /// </summary>
|
49 | 55 | /// <param name="itemKey">Expected item key.</param>
|
50 | 56 | /// <param name="itemValue">Expected item value.</param>
|
51 |
| - /// <returns>The same authentication properties test builder.</returns> |
| 57 | + /// <returns>The same <see cref="IAndAuthenticationPropertiesTestBuilder"/>.</returns> |
52 | 58 | IAndAuthenticationPropertiesTestBuilder WithItem(string itemKey, string itemValue);
|
53 | 59 |
|
54 | 60 | /// <summary>
|
55 |
| - /// Tests whether authentication properties contains the provided items. |
| 61 | + /// Tests whether <see cref="Microsoft.AspNetCore.Http.Authentication.AuthenticationProperties"/> contains the provided items |
| 62 | + /// in its <see cref="Microsoft.AspNetCore.Http.Authentication.AuthenticationProperties.Items"/> collection. |
| 63 | + /// </summary> |
| 64 | + /// <param name="items">Expected items as anonymous object.</param> |
| 65 | + /// <returns>The same <see cref="IAndAuthenticationPropertiesTestBuilder"/>.</returns> |
| 66 | + IAndAuthenticationPropertiesTestBuilder WithItems(object items); |
| 67 | + |
| 68 | + /// <summary> |
| 69 | + /// Tests whether <see cref="Microsoft.AspNetCore.Http.Authentication.AuthenticationProperties"/> contains the provided items |
| 70 | + /// in its <see cref="Microsoft.AspNetCore.Http.Authentication.AuthenticationProperties.Items"/> collection. |
56 | 71 | /// </summary>
|
57 | 72 | /// <param name="items">Expected items as dictionary.</param>
|
58 |
| - /// <returns>The same authentication properties test builder.</returns> |
| 73 | + /// <returns>The same <see cref="IAndAuthenticationPropertiesTestBuilder"/>.</returns> |
59 | 74 | IAndAuthenticationPropertiesTestBuilder WithItems(IDictionary<string, string> items);
|
60 | 75 |
|
61 | 76 | /// <summary>
|
62 |
| - /// Tests whether authentication properties has the same redirect URI as the provided one. |
| 77 | + /// Tests whether <see cref="Microsoft.AspNetCore.Http.Authentication.AuthenticationProperties"/> |
| 78 | + /// has the same <see cref="Microsoft.AspNetCore.Http.Authentication.AuthenticationProperties.RedirectUri"/> as the provided one. |
63 | 79 | /// </summary>
|
64 | 80 | /// <param name="redirectUri">Expected redirect URI.</param>
|
65 |
| - /// <returns>The same authentication properties test builder.</returns> |
| 81 | + /// <returns>The same <see cref="IAndAuthenticationPropertiesTestBuilder"/>.</returns> |
66 | 82 | IAndAuthenticationPropertiesTestBuilder WithRedirectUri(string redirectUri);
|
67 | 83 | }
|
68 | 84 | }
|
0 commit comments