Method | Description | |
---|---|---|
ValidateAuthenticationProperties ( Action |
Validates whether Properties are the same as the provided ones from action result containing such property by using a builder.
|
|
ValidateAuthenticationProperties ( dynamic actionResult, AuthenticationProperties properties, Action |
Validates whether Properties are the same as the provided ones from action result containing such property.
|
|
ValidateAuthenticationScheme ( dynamic actionResult, string authenticationScheme, Action |
Validates whether AuthenticationSchemes contains specific scheme from action result containing one.
|
|
ValidateAuthenticationSchemes ( dynamic actionResult, IEnumerable |
Validates whether AuthenticationSchemes contains the provided schemes from action result containing one.
|
Method | Description | |
---|---|---|
SortAuthenticationSchemes ( IEnumerable |
||
TryGetAuthenticationProperties ( dynamic actionResult ) : AuthenticationProperties | ||
TryGetAuthenticationSchemes ( dynamic actionResult ) : IList |
public static ValidateAuthenticationProperties ( Action |
||
authenticationPropertiesBuilder | Action |
Authentication properties builder. |
testContext | ControllerTestContext | |
return | void |
public static ValidateAuthenticationProperties ( dynamic actionResult, AuthenticationProperties properties, Action |
||
actionResult | dynamic | Action result with Properties. |
properties | AuthenticationProperties | Expected authentication properties. |
failedValidationAction | Action |
Action to call in case of failed validation. |
return | void |
public static ValidateAuthenticationScheme ( dynamic actionResult, string authenticationScheme, Action |
||
actionResult | dynamic | Action result with AuthenticationSchemes. |
authenticationScheme | string | Expected authentication scheme. |
failedValidationAction | Action |
Action to call in case of failed validation. |
return | void |
public static ValidateAuthenticationSchemes ( dynamic actionResult, IEnumerable |
||
actionResult | dynamic | Action result with AuthenticationSchemes. |
authenticationSchemes | IEnumerable |
Expected authentication schemes. |
failedValidationAction | Action |
Action to call in case of failed validation. |
return | void |