private AuthorizeRequestValidationResult Valid(ValidatedAuthorizeRequest request) { var result = new AuthorizeRequestValidationResult { IsError = false, ValidatedRequest = request }; return(result); }
private AuthorizeRequestValidationResult Invalid(ValidatedAuthorizeRequest request, ErrorTypes errorType = ErrorTypes.User, string error = Constants.AuthorizeErrors.InvalidRequest) { var result = new AuthorizeRequestValidationResult { IsError = true, Error = error, ErrorType = errorType, ValidatedRequest = request }; return(result); }
private AuthorizeRequestValidationResult Valid(ValidatedAuthorizeRequest request) { var result = new AuthorizeRequestValidationResult { IsError = false, ValidatedRequest = request }; return result; }
private AuthorizeRequestValidationResult Invalid(ValidatedAuthorizeRequest request, ErrorTypes errorType = ErrorTypes.User, string error = Constants.AuthorizeErrors.InvalidRequest) { var result = new AuthorizeRequestValidationResult { IsError = true, Error = error, ErrorType = errorType, ValidatedRequest = request }; return result; }