mirror of
https://github.com/bitwarden/server
synced 2025-12-23 19:53:40 +00:00
Resolve auth warnings (#5784)
This commit is contained in:
@@ -96,6 +96,7 @@ IBaseRequestValidatorTestWrapper
|
||||
return context.ValidatedTokenRequest.Subject ?? new ClaimsPrincipal();
|
||||
}
|
||||
|
||||
[Obsolete]
|
||||
protected override void SetErrorResult(
|
||||
BaseRequestValidationContextFake context,
|
||||
Dictionary<string, object> customResponse)
|
||||
@@ -103,6 +104,7 @@ IBaseRequestValidatorTestWrapper
|
||||
context.GrantResult = new GrantValidationResult(TokenRequestErrors.InvalidGrant, customResponse: customResponse);
|
||||
}
|
||||
|
||||
[Obsolete]
|
||||
protected override void SetSsoResult(
|
||||
BaseRequestValidationContextFake context,
|
||||
Dictionary<string, object> customResponse)
|
||||
@@ -121,6 +123,7 @@ IBaseRequestValidatorTestWrapper
|
||||
return Task.CompletedTask;
|
||||
}
|
||||
|
||||
[Obsolete]
|
||||
protected override void SetTwoFactorResult(
|
||||
BaseRequestValidationContextFake context,
|
||||
Dictionary<string, object> customResponse)
|
||||
|
||||
Reference in New Issue
Block a user