File tree Expand file tree Collapse file tree 4 files changed +101
-1
lines changed
src/FluentAssertions.AspNetCore.Mvc Expand file tree Collapse file tree 4 files changed +101
-1
lines changed Original file line number Diff line number Diff line change @@ -24,7 +24,9 @@ public ActionResultAssertions(IActionResult subject) : base(subject)
24
24
#endregion Public Constructors
25
25
26
26
#region Protected Properties
27
-
27
+ /// <summary>
28
+ /// <inheritdoc />
29
+ /// </summary>
28
30
protected override string Identifier => "ActionResult" ;
29
31
30
32
#endregion Protected Properties
Original file line number Diff line number Diff line change @@ -28,13 +28,45 @@ public ForbidResultAssertions(ForbidResult subject) : base(subject)
28
28
#endregion
29
29
30
30
#region Public Properties
31
+
32
+ /// <summary>
33
+ /// The authentication properties on the ForbidResult.
34
+ /// </summary>
31
35
public AuthenticationProperties AuthenticationProperties => ForbidResultSubject . Properties ;
36
+
37
+ /// <summary>
38
+ /// The items value in the authentication properties on the ForbidResult.
39
+ /// </summary>
32
40
public IDictionary < string , string > Items => ForbidResultSubject . Properties ? . Items ;
41
+
42
+ /// <summary>
43
+ /// The is persistent value in the authentication properties on the ForbidResult.
44
+ /// </summary>
33
45
public bool IsPersistent => ForbidResultSubject . Properties ? . IsPersistent ?? false ;
46
+
47
+ /// <summary>
48
+ /// The redirect uri value in the authentication properties on the ForbidResult.
49
+ /// </summary>
34
50
public string RedirectUri => ForbidResultSubject . Properties ? . RedirectUri ;
51
+
52
+ /// <summary>
53
+ /// The issued utc value in the authentication properties on the ForbidResult.
54
+ /// </summary>
35
55
public DateTimeOffset ? IssuedUtc => ForbidResultSubject . Properties ? . IssuedUtc ;
56
+
57
+ /// <summary>
58
+ /// The expires utc value in the authentication properties on the ForbidResult.
59
+ /// </summary>
36
60
public DateTimeOffset ? ExpiresUtc => ForbidResultSubject . Properties ? . ExpiresUtc ;
61
+
62
+ /// <summary>
63
+ /// The allow refresh value in the authentication properties on the ForbidResult.
64
+ /// </summary>
37
65
public bool ? AllowRefresh => ForbidResultSubject . Properties ? . AllowRefresh ;
66
+
67
+ /// <summary>
68
+ /// The authentication schemes value on the ForbidResult.
69
+ /// </summary>
38
70
public IList < string > AuthenticationSchemes => ForbidResultSubject . AuthenticationSchemes ;
39
71
#endregion
40
72
Original file line number Diff line number Diff line change @@ -28,14 +28,49 @@ public SignInResultAssertions(object subject) : base(subject)
28
28
#endregion
29
29
30
30
#region Public Properties
31
+ /// <summary>
32
+ /// The authentication properties on the SignInResult.
33
+ /// </summary>
31
34
public AuthenticationProperties AuthenticationProperties => SignInResultSubject . Properties ;
35
+
36
+ /// <summary>
37
+ /// The items value in the authentication properties on the SignInResult.
38
+ /// </summary>
32
39
public IDictionary < string , string > Items => SignInResultSubject . Properties ? . Items ;
40
+
41
+ /// <summary>
42
+ /// The is persistent value in the authentication properties on the SignInResult.
43
+ /// </summary>
33
44
public bool IsPersistent => SignInResultSubject . Properties ? . IsPersistent ?? false ;
45
+
46
+ /// <summary>
47
+ /// The redirect uri value in the authentication properties on the SignInResult.
48
+ /// </summary>
34
49
public string RedirectUri => SignInResultSubject . Properties ? . RedirectUri ;
50
+
51
+ /// <summary>
52
+ /// The issued utc value in the authentication properties on the SignInResult.
53
+ /// </summary>
35
54
public DateTimeOffset ? IssuedUtc => SignInResultSubject . Properties ? . IssuedUtc ;
55
+
56
+ /// <summary>
57
+ /// The expires utc value in the authentication properties on the SignInResult.
58
+ /// </summary>
36
59
public DateTimeOffset ? ExpiresUtc => SignInResultSubject . Properties ? . ExpiresUtc ;
60
+
61
+ /// <summary>
62
+ /// The allow refresh value in the authentication properties on the SignInResult.
63
+ /// </summary>
37
64
public bool ? AllowRefresh => SignInResultSubject . Properties ? . AllowRefresh ;
65
+
66
+ /// <summary>
67
+ /// The authentication scheme value on the SignInResult.
68
+ /// </summary>
38
69
public string AuthenticationScheme => SignInResultSubject . AuthenticationScheme ;
70
+
71
+ /// <summary>
72
+ /// The claims principal value on the SignInResult.
73
+ /// </summary>
39
74
public ClaimsPrincipal Principal => SignInResultSubject . Principal ;
40
75
41
76
#endregion
Original file line number Diff line number Diff line change @@ -28,13 +28,44 @@ public SignOutResultAssertions(object subject) : base(subject)
28
28
#endregion
29
29
30
30
#region Public Properties
31
+ /// <summary>
32
+ /// The authentication properties on the SignOutResult.
33
+ /// </summary>
31
34
public AuthenticationProperties AuthenticationProperties => SignOutResultSubject . Properties ;
35
+
36
+ /// <summary>
37
+ /// The items value in the authentication properties on the SignOutResult.
38
+ /// </summary>
32
39
public IDictionary < string , string > Items => SignOutResultSubject . Properties ? . Items ;
40
+
41
+ /// <summary>
42
+ /// The is persistent value in the authentication properties on the SignOutResult.
43
+ /// </summary>
33
44
public bool IsPersistent => SignOutResultSubject . Properties ? . IsPersistent ?? false ;
45
+
46
+ /// <summary>
47
+ /// The redirect uri value in the authentication properties on the SignOutResult.
48
+ /// </summary>
34
49
public string RedirectUri => SignOutResultSubject . Properties ? . RedirectUri ;
50
+
51
+ /// <summary>
52
+ /// The issued utc value in the authentication properties on the SignOutResult.
53
+ /// </summary>
35
54
public DateTimeOffset ? IssuedUtc => SignOutResultSubject . Properties ? . IssuedUtc ;
55
+
56
+ /// <summary>
57
+ /// The expires utc value in the authentication properties on the SignOutResult.
58
+ /// </summary>
36
59
public DateTimeOffset ? ExpiresUtc => SignOutResultSubject . Properties ? . ExpiresUtc ;
60
+
61
+ /// <summary>
62
+ /// The allow refresh value in the authentication properties on the SignOutResult.
63
+ /// </summary>
37
64
public bool ? AllowRefresh => SignOutResultSubject . Properties ? . AllowRefresh ;
65
+
66
+ /// <summary>
67
+ /// The authentication schemes value on the SignOutResult.
68
+ /// </summary>
38
69
public IList < string > AuthenticationSchemes => SignOutResultSubject . AuthenticationSchemes ;
39
70
#endregion
40
71
You can’t perform that action at this time.
0 commit comments